summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-06-17 11:39:18 -0700
committerJamie Gennis <jgennis@google.com>2011-06-28 13:18:07 -0700
commit1b6230983186cca4977efe6a3c49261d327495cd (patch)
tree65edfbc26f9965d465ed1ef51b567b2ec44b44bc /core
parent5b0eb1778af2d455ede77028884b336644ff90ff (diff)
downloadframeworks_base-1b6230983186cca4977efe6a3c49261d327495cd.zip
frameworks_base-1b6230983186cca4977efe6a3c49261d327495cd.tar.gz
frameworks_base-1b6230983186cca4977efe6a3c49261d327495cd.tar.bz2
SurfaceTexture: add a CPU -> GL sync test.
This change adds a test to verify that proper synchronization is done when using SurfaceTexture to use CPU generated images as OpenGL ES textures in 'synchronous mode'. Synchronous mode is particularly tricky because SurfaceTexture will allow the buffer that's currently bound to the GL texture to be dequeued. We rely on Gralloc's lock function to block until this buffer is no longer being used by the OpenGL ES. Change-Id: I1c4e37f3e9d60ab9a0905a90a1f5060fda8e485c
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions