summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jason Sams <jsams@google.com> 2011-10-27 01:25:38 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2011-10-27 01:25:38 +0000
commit27812a8f14ca22f0a709320e5a41d200ac59b63b (patch)
tree36e545f1dcd3fa339cb85fea7c764436e91d3ab6
parent11bfc0c431f57e7aac6190aa77b311c649a01619 (diff)
parent28e4f87f38cae799b494e160467d732e988bad89 (diff)
am 28e4f87f: Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
* commit '28e4f87f38cae799b494e160467d732e988bad89': Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
-rw-r--r--libs/rs/rsContext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index 2d5120853b8d..948ecf90a732 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -279,6 +279,8 @@ void * Context::threadProc(void *vrsc) {
rsc->timerSet(RS_TIMER_INTERNAL);
rsc->timerPrint();
rsc->timerReset();
+ } else {
+ doWait = true;
}
}