am 5bf786d8
: surfaceflinger: recompute visibility after sideband stream change
* commit '5bf786d8f00ff8eee64ebf330dac55e33a0f97b1': surfaceflinger: recompute visibility after sideband stream change
This commit is contained in:
commit
e245cdcc00
@ -1042,6 +1042,10 @@ Region Layer::latchBuffer(bool& recomputeVisibleRegions)
|
|||||||
if (android_atomic_acquire_cas(true, false, &mSidebandStreamChanged) == 0) {
|
if (android_atomic_acquire_cas(true, false, &mSidebandStreamChanged) == 0) {
|
||||||
// mSidebandStreamChanged was true
|
// mSidebandStreamChanged was true
|
||||||
mSidebandStream = mSurfaceFlingerConsumer->getSidebandStream();
|
mSidebandStream = mSurfaceFlingerConsumer->getSidebandStream();
|
||||||
|
recomputeVisibleRegions = true;
|
||||||
|
|
||||||
|
const State& s(getDrawingState());
|
||||||
|
return s.transform.transform(Region(Rect(s.active.w, s.active.h)));
|
||||||
}
|
}
|
||||||
|
|
||||||
Region outDirtyRegion;
|
Region outDirtyRegion;
|
||||||
|
Loading…
Reference in New Issue
Block a user