Merge "[HWUI] Fix invisible views are still shown in popup window"

This commit is contained in:
Chris Craik
2014-07-22 19:07:19 +00:00
committed by Gerrit Code Review

View File

@@ -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) {