summaryrefslogtreecommitdiff
path: root/r600_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'r600_demo.c')
-rw-r--r--r600_demo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/r600_demo.c b/r600_demo.c
index 1f34ee9..cb84d8c 100644
--- a/r600_demo.c
+++ b/r600_demo.c
@@ -508,6 +508,7 @@ void usage (char *argv[]) {
"\n"
"r\t'r'eset GPU + CP\n"
"-\tSleep for 100 millisecond\n"
+ "/\tWait for engine idle\n"
"c\tCPU based clear screen\n"
"\n"
"t\tedited tri test 2d (minimal)\n"
@@ -685,6 +686,9 @@ int main(int argc, char *argv[])
case '-':
usleep (100000);
break;
+ case '/':
+ time_flush_cmds (&adapter, 5.0);
+ break;
case 'c':
simple_clear (&adapter);
break;