diff options
author | Conley Owens <cco3@android.com> | 2011-04-29 09:59:30 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-04-29 09:59:30 -0700 |
commit | 56b79aa8164fe015198a549130d428a74cbe814b (patch) | |
tree | 5b297936d7c0ac1eabe675fdd10bfb84ed3b36da /services/surfaceflinger | |
parent | 1f824b15feb4a26f029bfdc1e2bd954530340c3c (diff) | |
parent | 2168e2de244500d912dbeb43ac4065c327baddf5 (diff) | |
download | frameworks_native-56b79aa8164fe015198a549130d428a74cbe814b.zip frameworks_native-56b79aa8164fe015198a549130d428a74cbe814b.tar.gz frameworks_native-56b79aa8164fe015198a549130d428a74cbe814b.tar.bz2 |
Merge "Fixed to call computeVisibleRegions() when transparent value changed"
Diffstat (limited to 'services/surfaceflinger')
-rw-r--r-- | services/surfaceflinger/LayerBuffer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/surfaceflinger/LayerBuffer.cpp b/services/surfaceflinger/LayerBuffer.cpp index 23506cf..55d859d 100644 --- a/services/surfaceflinger/LayerBuffer.cpp +++ b/services/surfaceflinger/LayerBuffer.cpp @@ -93,6 +93,9 @@ bool LayerBuffer::needsBlending() const { } void LayerBuffer::setNeedsBlending(bool blending) { + if (mNeedsBlending != blending) { + mFlinger->invalidateLayerVisibility(this); + } mNeedsBlending = blending; } |