summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-04-05 17:52:11 -0700
committerChris Craik <ccraik@google.com>2012-04-05 17:52:11 -0700
commit65924a3e56c2e7ac863f8e25e9f9a58b9db7d513 (patch)
treeb7e3da17b6ebfb31eb9bb7e13adb8345e6f793bb /libs
parent7c8fd157da36b68529b08b820051ce775f84a9bf (diff)
downloadframeworks_base-65924a3e56c2e7ac863f8e25e9f9a58b9db7d513.zip
frameworks_base-65924a3e56c2e7ac863f8e25e9f9a58b9db7d513.tar.gz
frameworks_base-65924a3e56c2e7ac863f8e25e9f9a58b9db7d513.tar.bz2
fix functor flag parsing, tweak process delay
Change-Id: I0a679cc33f92ff6fd2e33db9ad58b52622def012
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/OpenGLRenderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp
index 39d2e39..2a908ab 100644
--- a/libs/hwui/OpenGLRenderer.cpp
+++ b/libs/hwui/OpenGLRenderer.cpp
@@ -260,7 +260,7 @@ status_t OpenGLRenderer::invokeFunctors(Rect& dirty) {
Rect localDirty(info.dirtyLeft, info.dirtyTop, info.dirtyRight, info.dirtyBottom);
dirty.unionWith(localDirty);
- if (result == DrawGlInfo::kStatusInvoke) {
+ if (result & DrawGlInfo::kStatusInvoke) {
mFunctors.push(f);
}
}
@@ -300,7 +300,7 @@ status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) {
Rect localDirty(info.dirtyLeft, info.dirtyTop, info.dirtyRight, info.dirtyBottom);
dirty.unionWith(localDirty);
- if (result == DrawGlInfo::kStatusInvoke) {
+ if (result & DrawGlInfo::kStatusInvoke) {
mFunctors.push(functor);
}
}