Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48f65b79 authored by Vishnu Nair's avatar Vishnu Nair Committed by Automerger Merge Worker
Browse files

Merge "SF: Set dirty region bit if transparent region hint changes" into sc-dev am: 5b201046

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15240432

Change-Id: I2496ebf1f0a0b7aa5ee7c8f51c7ff7ff5941b83d
parents 45520d82 5b201046
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -590,6 +590,7 @@ bool BufferStateLayer::setTransactionCompletedListeners(
}

bool BufferStateLayer::setTransparentRegionHint(const Region& transparent) {
    mDrawingState.sequence++;
    mDrawingState.transparentRegionHint = transparent;
    mDrawingState.modified = true;
    setTransactionFlags(eTransactionNeeded);