summaryrefslogtreecommitdiffstats
path: root/libs/hwui
diff options
context:
space:
mode:
authorChris Craik <ccraik@android.com>2014-07-22 19:07:19 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-22 16:35:00 +0000
commit50a2d6339c7a6ee121c4aa52afc4cc027913f3fc (patch)
tree11f1f5773c015ca383d811dfc0f3867afa7bf12f /libs/hwui
parentfc6346d461c9ed9b499643db830885241cc82838 (diff)
parent3a1bffa835f279628e50385af3c85789bc737f64 (diff)
downloadframeworks_base-50a2d6339c7a6ee121c4aa52afc4cc027913f3fc.zip
frameworks_base-50a2d6339c7a6ee121c4aa52afc4cc027913f3fc.tar.gz
frameworks_base-50a2d6339c7a6ee121c4aa52afc4cc027913f3fc.tar.bz2
Merge "[HWUI] Fix invisible views are still shown in popup window"
Diffstat (limited to 'libs/hwui')
-rwxr-xr-xlibs/hwui/OpenGLRenderer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp
index ee4a054..ebcd1c6 100755
--- a/libs/hwui/OpenGLRenderer.cpp
+++ b/libs/hwui/OpenGLRenderer.cpp
@@ -2071,7 +2071,9 @@ status_t OpenGLRenderer::drawDisplayList(DisplayList* displayList, Rect& dirty,
return status | deferredList.flush(*this, dirty);
}
- return DrawGlInfo::kStatusDone;
+ // Even if there is no drawing command(Ex: invisible),
+ // it still needs startFrame to clear buffer and start tiling.
+ return startFrame();
}
void OpenGLRenderer::outputDisplayList(DisplayList* displayList) {