am 50a2d633: Merge "[HWUI] Fix invisible views are still shown in popup window"

* commit '50a2d6339c7a6ee121c4aa52afc4cc027913f3fc':
  [HWUI] Fix invisible views are still shown in popup window
This commit is contained in:
Chris Craik
2014-07-22 19:11:18 +00:00
committed by Android Git Automerger

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