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/RenderScriptEnv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/rs/RenderScriptEnv.h') diff --git a/libs/rs/RenderScriptEnv.h b/libs/rs/RenderScriptEnv.h index dfca56c34679..1bf5f22d35ee 100644 --- a/libs/rs/RenderScriptEnv.h +++ b/libs/rs/RenderScriptEnv.h @@ -87,7 +87,7 @@ typedef struct { void (*drawRect)(void *con, int32_t x1, int32_t x2, int32_t y1, int32_t y2); } rsc_FunctionTable; -typedef void (*rsc_RunScript)(void *con, const rsc_FunctionTable *, uint32_t launchID); +typedef int (*rsc_RunScript)(void *con, const rsc_FunctionTable *, uint32_t launchID); /* EnableCap */ -- cgit v1.2.3-59-g8ed1b