Merge "Fixed to call computeVisibleRegions() when transparent value changed"
This commit is contained in:
@@ -93,6 +93,9 @@ bool LayerBuffer::needsBlending() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void LayerBuffer::setNeedsBlending(bool blending) {
|
void LayerBuffer::setNeedsBlending(bool blending) {
|
||||||
|
if (mNeedsBlending != blending) {
|
||||||
|
mFlinger->invalidateLayerVisibility(this);
|
||||||
|
}
|
||||||
mNeedsBlending = blending;
|
mNeedsBlending = blending;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user