diff options
author | Wiwit Rifa'i <wiwitrifai@google.com> | 2022-04-07 16:21:31 +0800 |
---|---|---|
committer | Jonglin Lee <jonglin@google.com> | 2022-04-22 01:02:13 +0000 |
commit | ef71aecbee6ab58447d4d111018263dff3d5672c (patch) | |
tree | 130663ed27e1f3133905af5ac6546134bff9945b /libhwc2.1/ExynosHWCDebug.cpp | |
parent | b1c41792dc6ac521025f0395ecc4343b5aae1918 (diff) |
libhwc2.1: fix some fence leakage possibilities
There are some possibilities of fence leakages that might happen:
[1] when setClientTarget() is called more than once in one frame,
[2] when destroyLayer() is called for buffer that is not validated or
presented yet to the display,
[3] when there's a layer that has open mPrevAcquireFence, but it is a
dim layer (mCompositionType == HWC2_COMPOSITION_SOLID_COLOR).
Bug: 221767691
Test: manual
Change-Id: I1f1efdbb74e8acd3fca5502fb28661e292372ec3
Diffstat (limited to 'libhwc2.1/ExynosHWCDebug.cpp')
0 files changed, 0 insertions, 0 deletions