* commit 'e70fbe8b32687d9178e828d6023de599be5431c3': fix transitions from hwc to GLES composition
This commit is contained in:
commit
731e0331eb
@ -978,10 +978,10 @@ void SurfaceFlinger::doComposition() {
|
||||
if (hw->canDraw()) {
|
||||
// transform the dirty region into this screen's coordinate space
|
||||
const Region dirtyRegion(hw->getDirtyRegion(repaintEverything));
|
||||
if (!dirtyRegion.isEmpty()) {
|
||||
// repaint the framebuffer (if needed)
|
||||
doDisplayComposition(hw, dirtyRegion);
|
||||
}
|
||||
|
||||
// repaint the framebuffer (if needed)
|
||||
doDisplayComposition(hw, dirtyRegion);
|
||||
|
||||
hw->dirtyRegion.clear();
|
||||
hw->flip(hw->swapRegion);
|
||||
hw->swapRegion.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user