summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2021-07-07 16:52:34 -0700
committer Vishnu Nair <vishnun@google.com> 2021-07-08 19:26:04 +0000
commita4fbca56dac64a561adba7348bf55fb429887042 (patch)
treedcc826cf7e38719691b1c573bd1ec71c011bef23 /libs/gui/LayerState.cpp
parentb1d1cb604dce816bad5e24a71bff13f6dc519801 (diff)
BlastBufferQueue: Keep transform hint in Surface consistent
We should only update the transform hint in Surface when connecting to the queue or queuing a buffer. Otherwise, the transform hint value used when dequeuing the buffer will not align with the value queried from the Surface. This inconsistency was causing BBQ to reject buffers and we suspect this was causing an issue where BBQ will remain in this inconsistent state rejecting all buffers until the app changed orientation. Test: rotate device, check for rejected buffers, run through scenario in bug Bug: b/191841127 Change-Id: Id84a3a650ce68878e5638b942249c11558fd29eb
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions