am 51dcd581
: SurfaceFlinger: recompute visible regions more
* commit '51dcd581b1fb1bcea7cac9b969123abda13e34ab': SurfaceFlinger: recompute visible regions more
This commit is contained in:
commit
b7b76e7506
@ -541,6 +541,7 @@ void Layer::lockPageFlip(bool& recomputeVisibleRegions)
|
|||||||
mCurrentTransform = transform;
|
mCurrentTransform = transform;
|
||||||
mCurrentScalingMode = scalingMode;
|
mCurrentScalingMode = scalingMode;
|
||||||
mFlinger->invalidateHwcGeometry();
|
mFlinger->invalidateHwcGeometry();
|
||||||
|
recomputeVisibleRegions = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t bufWidth = mActiveBuffer->getWidth();
|
uint32_t bufWidth = mActiveBuffer->getWidth();
|
||||||
@ -549,6 +550,7 @@ void Layer::lockPageFlip(bool& recomputeVisibleRegions)
|
|||||||
if (bufWidth != uint32_t(oldActiveBuffer->width) ||
|
if (bufWidth != uint32_t(oldActiveBuffer->width) ||
|
||||||
bufHeight != uint32_t(oldActiveBuffer->height)) {
|
bufHeight != uint32_t(oldActiveBuffer->height)) {
|
||||||
mFlinger->invalidateHwcGeometry();
|
mFlinger->invalidateHwcGeometry();
|
||||||
|
recomputeVisibleRegions = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user