summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.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:27:33 +0000
commit9c16128241425c91249379aacc3bca31d04ef12f (patch)
tree58a86785c5bbcc5b6708e90ddbfe4f4f48ff6d85 /libs/gui/BufferQueueThreadState.cpp
parentc6a3d6060ed7858fb435a0f0f02eaacd5b5c2e42 (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 Merged-In: Id84a3a650ce68878e5638b942249c11558fd29eb
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions