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