summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-07-09 15:58:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-07-09 15:58:32 +0000
commit5b20104681db36a6401f0a109e18a56909591196 (patch)
treedaf8d16b18b9339b6faf481141f76de67fcac14e
parent4c969b34bbccd94deff90112c2040c126772e787 (diff)
parent27e3ed54fa11add70fe3f6ee11ba589630cca0d8 (diff)
downloadnative-5b20104681db36a6401f0a109e18a56909591196.tar.gz
Merge "SF: Set dirty region bit if transparent region hint changes" into sc-dev
-rw-r--r--services/surfaceflinger/BufferStateLayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/BufferStateLayer.cpp b/services/surfaceflinger/BufferStateLayer.cpp
index 645e883364..032ff9a572 100644
--- a/services/surfaceflinger/BufferStateLayer.cpp
+++ b/services/surfaceflinger/BufferStateLayer.cpp
@@ -590,6 +590,7 @@ bool BufferStateLayer::setTransactionCompletedListeners(
}
bool BufferStateLayer::setTransparentRegionHint(const Region& transparent) {
+ mDrawingState.sequence++;
mDrawingState.transparentRegionHint = transparent;
mDrawingState.modified = true;
setTransactionFlags(eTransactionNeeded);