diff options
author | Mathias Agopian <mathias@google.com> | 2012-05-18 16:50:58 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-05-18 16:50:58 -0700 |
commit | 7e477bfe11f8bb31622353b64e85721df3cf9702 (patch) | |
tree | 63c57cd819b0ea00c595674c230f8232ab3cf17d /opengl/tests/gl_basic/gl_basic.cpp | |
parent | f899e4113a5b5545cd91b4625514d0ab0d33751c (diff) |
make sure BufferQueue releases newly acquired buffers on failures
this prevents SurfaceTexture producer to hang in dequeueBuffer()
when something goes wrong in the consumer.
only the consumer gets an error and the current frame is kept
instead of the new one. the producer is unaware of the problem.
Bug: 6476587
Change-Id: Ie6db5526632aabc3e60229b93dfe29c19491ade4
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions