summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2011-05-23 18:44:04 -0700
committer Jamie Gennis <jgennis@google.com> 2011-05-25 12:27:33 -0700
commitc2c8dfd71b84598f01074416e57cc3469d5b8ed2 (patch)
tree426a6393919971bf772caccc8a61d749020575b6 /opengl/libagl/TextureObjectManager.cpp
parent8cd5ba4b7f01d3a54a8f8bc6d1793aa5fc8e09ef (diff)
SurfaceTexture: fix an error check in dequeueBuffer.
This change fixes the MIN_UNDEQUEUED_BUFFERS error check in dequeueBuffer. The check should only be performed if a buffer has been queued since the last time the buffer count was changed by the client. The check must be applied conditionally because video decoders require all the bufferes to be dequeued and registered before beginning the decode. Change-Id: I08d96b380544e395c2fcf0f3983a199bfd695b09
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions