summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/state.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-05-22 10:42:56 -0700
committerJesse Hall <jessehall@google.com>2012-05-22 12:11:41 -0700
commit83e7c8c431ec8b578b6f778811837632e3798768 (patch)
tree1ec253df56f8a5b3956e4eaebf9b629249a6cf27 /opengl/libagl/state.cpp
parentcc2b1560e87369676a2d13f17bd1ff4021a91819 (diff)
downloadframeworks_native-83e7c8c431ec8b578b6f778811837632e3798768.tar.gz
frameworks_native-83e7c8c431ec8b578b6f778811837632e3798768.tar.bz2
frameworks_native-83e7c8c431ec8b578b6f778811837632e3798768.zip
Implement the EGL_KHR_fence_sync in libagl
Implementing this in libagl allows us to start using it for SurfaceTexture in emulator builds, which is necessary to avoid corruption in the Browser when using the host-accelerated GL path. Bug: 6515813 Change-Id: Icafba8687cb5d010d8d42b3866b298d2be984fc9
Diffstat (limited to 'opengl/libagl/state.cpp')
-rw-r--r--opengl/libagl/state.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/libagl/state.cpp b/opengl/libagl/state.cpp
index 90e9612b8..4bc653a02 100644
--- a/opengl/libagl/state.cpp
+++ b/opengl/libagl/state.cpp
@@ -47,6 +47,7 @@ static char const * const gExtensionsString =
// "GL_OES_point_size_array " // TODO
// "GL_OES_point_sprite " // TODO
"GL_OES_EGL_image " // OK
+ "GL_OES_EGL_sync " // OK
#ifdef GL_OES_compressed_ETC1_RGB8_texture
"GL_OES_compressed_ETC1_RGB8_texture " // OK
#endif