am 51dcd581: SurfaceFlinger: recompute visible regions more

* commit '51dcd581b1fb1bcea7cac9b969123abda13e34ab':
  SurfaceFlinger: recompute visible regions more
This commit is contained in:
Jamie Gennis 2012-05-10 16:37:18 -07:00 committed by Android Git Automerger
commit b7b76e7506

View File

@ -541,6 +541,7 @@ void Layer::lockPageFlip(bool& recomputeVisibleRegions)
mCurrentTransform = transform;
mCurrentScalingMode = scalingMode;
mFlinger->invalidateHwcGeometry();
recomputeVisibleRegions = true;
}
uint32_t bufWidth = mActiveBuffer->getWidth();
@ -549,6 +550,7 @@ void Layer::lockPageFlip(bool& recomputeVisibleRegions)
if (bufWidth != uint32_t(oldActiveBuffer->width) ||
bufHeight != uint32_t(oldActiveBuffer->height)) {
mFlinger->invalidateHwcGeometry();
recomputeVisibleRegions = true;
}
}