summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsThreadIO.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-06-04 17:58:03 -0700
committerJason Sams <rjsams@android.com>2009-06-04 17:58:03 -0700
commita09f11d6c641726b61f80c15230a18d31c146fec (patch)
treefc86af28d98c6d14598c5709b968eb88c13e86f8 /libs/rs/rsThreadIO.h
parent9600fcce6500d9f56a60ef88086d269ba8a21b7d (diff)
downloadframeworks_base-a09f11d6c641726b61f80c15230a18d31c146fec.zip
frameworks_base-a09f11d6c641726b61f80c15230a18d31c146fec.tar.gz
frameworks_base-a09f11d6c641726b61f80c15230a18d31c146fec.tar.bz2
Add support for scripts to return an animation flag. This allows them to indicate they are generating changing content and the rs thread to sleep if the content is static.
Diffstat (limited to 'libs/rs/rsThreadIO.h')
-rw-r--r--libs/rs/rsThreadIO.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/rs/rsThreadIO.h b/libs/rs/rsThreadIO.h
index f8ba37d..ae2ffc0 100644
--- a/libs/rs/rsThreadIO.h
+++ b/libs/rs/rsThreadIO.h
@@ -35,7 +35,9 @@ public:
ThreadIO();
~ThreadIO();
- void playCoreCommands(Context *con);
+ // Plays back commands from the client.
+ // Returns true if any commands were processed.
+ bool playCoreCommands(Context *con);
LocklessCommandFifo mToCore;