summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2020-10-16 10:54:41 -0700
committer Vishnu Nair <vishnun@google.com> 2020-10-16 10:58:55 -0700
commitbf25577c69c51ad2d1fc54532bb54510da5ddc7c (patch)
tree198511953c18104687184d6fb43b6e18cda8f62f /libs/gui/LayerState.cpp
parent7eb670ae5357ea9f609e1630759a57ea31537271 (diff)
BlastBufferQueue: Fix wait in onFrameAvailable
Use the same logic in both onFrameAvailable and processNextBufferLocked to check if we can acquire a buffer. Otherwise, there is a chance we will not be waiting long enough in onFrameAvailable. Also add error logs if we return unexpectedly when trying to acquire a buffer. Test: go/wm-smoke with blast enabled Test: atest SurfaceViewBufferTests Change-Id: I2f8afa2fc2efb0371ccc86b422524e474e3f6170 Change-Id: Ibf2733725f7a4334eff38b516f0f5cec87dfd493
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions