commit | 235c424c9a2e3cc5c24aae8bd9cc6f9db0808b42 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Tue Jan 11 15:00:09 2011 -0800 |
committer | Jamie Gennis <jgennis@google.com> | Wed Jan 12 11:28:38 2011 -0800 |
tree | cbb4be3fdca8465a5bc632fb6ee30926a64d587f | |
parent | f238e28500ca756fbd9e323f728ce7c8dda59475 [diff] |
Fix a bug in SurfaceTexture::dequeueBuffer. This change fixes a bug that allowed the most recently queued buffer to be returned by dequeueBuffer. At the next updateTexImage call, the dequeued buffer would be set as the contents of the texture even though the client could be writing to it. Change-Id: I53dc14eed13262475627d5551337df57fd78fe00