am 17833a1b
: SF: Don\'t crop surface damage against viewport
* commit '17833a1b0d70cd5cea342cadea9fdbbf16748bc6': SF: Don't crop surface damage against viewport
This commit is contained in:
commit
37fea87960
@ -557,9 +557,7 @@ void Layer::setPerFrameData(const sp<const DisplayDevice>& hw,
|
|||||||
surfaceDamageRegion.getBounds() == Rect::INVALID_RECT) {
|
surfaceDamageRegion.getBounds() == Rect::INVALID_RECT) {
|
||||||
layer.setSurfaceDamage(surfaceDamageRegion);
|
layer.setSurfaceDamage(surfaceDamageRegion);
|
||||||
} else {
|
} else {
|
||||||
Region surfaceDamage =
|
layer.setSurfaceDamage(tr.transform(surfaceDamageRegion));
|
||||||
tr.transform(surfaceDamageRegion.intersect(hw->getViewport()));
|
|
||||||
layer.setSurfaceDamage(surfaceDamage);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mSidebandStream.get()) {
|
if (mSidebandStream.get()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user