summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Stan Iliev <stani@google.com> 2020-09-29 00:47:10 -0400
committer Stan Iliev <stani@google.com> 2020-09-29 05:04:10 +0000
commit0ece7b9db458ce84533412e14bf6ffe2227ed9a4 (patch)
tree6dc92b98b36d25e60ddd55170b56b5fae03b76c1 /libs/gui/BufferQueueThreadState.cpp
parent487496c44f1d5f987c8ecf930c787947e0366f20 (diff)
Fix an infinite loop in TextureView implementation
There is a possibilty for an infinite loop in TextureView logic, which could dequeue forever buffers without ever drawing anything. This could happen on devices without EGL_ANDROID_native_fence_sync extension and for frames that consume a lot of GPU time. Test: Passed CTS. Ran a specific sequence of frames, Test: that used to triggers an infinite loop. Bug: 159921224 Change-Id: I1896e21f0d87fa2fa66bac53df4265a1018f0f61
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions