summaryrefslogtreecommitdiffstats
path: root/opengl/include/EGL
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-07-17 18:42:09 -0700
committerJamie Gennis <jgennis@google.com>2011-07-17 18:42:09 -0700
commitdc159f92fa54858302c2423b145e259991dc8cb5 (patch)
treebfe3133ddbe4eead532760a06c7fca807179bb89 /opengl/include/EGL
parentd160a8b33f95755fc497f44bfaeb8f99cea44b16 (diff)
downloadframeworks_native-dc159f92fa54858302c2423b145e259991dc8cb5.zip
frameworks_native-dc159f92fa54858302c2423b145e259991dc8cb5.tar.gz
frameworks_native-dc159f92fa54858302c2423b145e259991dc8cb5.tar.bz2
EGL: update EGL_ANDROID_recordable extension.
This change adds an enum value and a description of the expected implementations to the EGL_ANDROID_recordable extension specification. It also adds the new enum value to the 'eglext.h' header. Change-Id: Ia0de2d5613708445ff83b85a7e550f9417531ee4
Diffstat (limited to 'opengl/include/EGL')
-rw-r--r--opengl/include/EGL/eglext.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/opengl/include/EGL/eglext.h b/opengl/include/EGL/eglext.h
index 1123e16..6a199db 100644
--- a/opengl/include/EGL/eglext.h
+++ b/opengl/include/EGL/eglext.h
@@ -226,7 +226,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGL
#ifndef EGL_ANDROID_image_native_buffer
#define EGL_ANDROID_image_native_buffer 1
struct ANativeWindowBuffer;
-#define EGL_NATIVE_BUFFER_ANDROID 0x3140 /* eglCreateImageKHR target */
+#define EGL_NATIVE_BUFFER_ANDROID 0x3140 /* eglCreateImageKHR target */
#endif
#ifndef EGL_ANDROID_swap_rectangle
@@ -237,6 +237,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSetSwapRectangleANDROID (EGLDisplay dpy, EGLSur
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSWAPRECTANGLEANDROIDPROC) (EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height);
#endif
+#ifndef EGL_ANDROID_recordable
+#define EGL_ANDROID_recordable 1
+#define EGL_RECORDABLE_ANDROID 0x3142 /* EGLConfig attribute */
+#endif
+
#ifdef __cplusplus
}
#endif