summaryrefslogtreecommitdiffstats
path: root/opengl/include
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
commit8fdb8a4dd3f73640f1295d98ae09eadb3e071653 (patch)
tree5f7af241a76562aefcb6e70b0a61e65ac0e68fe2 /opengl/include
parent755c7dc48d009914feae01ba8c79c3b0b911b932 (diff)
downloadframeworks_base-8fdb8a4dd3f73640f1295d98ae09eadb3e071653.zip
frameworks_base-8fdb8a4dd3f73640f1295d98ae09eadb3e071653.tar.gz
frameworks_base-8fdb8a4dd3f73640f1295d98ae09eadb3e071653.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')
-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