From a09f11d6c641726b61f80c15230a18d31c146fec Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Thu, 4 Jun 2009 17:58:03 -0700 Subject: 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. --- libs/rs/rsThreadIO.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/rs/rsThreadIO.h') 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; -- cgit v1.1