commit | b9d5c574ff11a9470b92c5b9a62da6a655d9ef7a | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Wed Dec 09 11:05:45 2009 -0800 |
committer | Jason Sams <rjsams@android.com> | Wed Dec 09 11:05:45 2009 -0800 |
tree | 34cf34d887ef839c36fd14fa034ef71156137fd7 | |
parent | d59fb6e7435b57d83662b196f5430e6f2bc5427b [diff] [blame] |
Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
diff --git a/libs/rs/rsScript.h b/libs/rs/rsScript.h index bc40854..5f4a536 100644 --- a/libs/rs/rsScript.h +++ b/libs/rs/rsScript.h
@@ -70,7 +70,7 @@ virtual void setupScript() = 0; - virtual bool run(Context *, uint32_t launchID) = 0; + virtual uint32_t run(Context *, uint32_t launchID) = 0; };