summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
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
commitdfcff4b4ef8b602ba485848b394b16d14847821e (patch)
tree6fb205a733931a18b7a55cc3ef341c19b33e7496 /opengl/tests/gl_basic/gl_basic.cpp
parent78853b59044de3538df834afa66560cf19a41de7 (diff)
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 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions