summaryrefslogtreecommitdiffstats
path: root/libs/ui/Keyboard.cpp
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-11-17 16:00:44 -0800
committerJamie Gennis <jgennis@google.com>2011-11-17 16:00:44 -0800
commite36d05483fa525be1c98dbf98ac3d6244e6cdb47 (patch)
treea3b6f7e0bd68fdcee4a93c24f864ff33e60359d0 /libs/ui/Keyboard.cpp
parentcce32110e6f42378a76e0eb2495d24b6c8bc8ae7 (diff)
downloadframeworks_base-e36d05483fa525be1c98dbf98ac3d6244e6cdb47.zip
frameworks_base-e36d05483fa525be1c98dbf98ac3d6244e6cdb47.tar.gz
frameworks_base-e36d05483fa525be1c98dbf98ac3d6244e6cdb47.tar.bz2
SurfaceTexture: fix a bug with buffer reallocation
This change fixes an issue involving buffer reallocation and the ALLOW_DEQUEUE_CURRENT_BUFFER mode in SurfaceTexture. The bug happened when the buffer slot currently attached to the GL texture was selected for dequeuing, but the dequeue operation caused the buffer to be reallocated. Because the buffer is new, the image producer could fill the buffer and queue it before an updateTexImage call, which would result in the "slot %d is current" error in queueBuffer. Bug: 5631630 Change-Id: Icdd8bc5cad3c7db43953446d9be2603aaea11a8d
Diffstat (limited to 'libs/ui/Keyboard.cpp')
0 files changed, 0 insertions, 0 deletions