OSDN Git Service

am 483ab742: am 2f45d746: Merge "EGL: add the EGL_ANDROID_framebuffer_target enum...
authorJamie Gennis <jgennis@google.com>
Tue, 25 Sep 2012 01:25:05 +0000 (18:25 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Tue, 25 Sep 2012 01:25:05 +0000 (18:25 -0700)
* commit '483ab74243870e6af4b8a947873556ff86d076c0':
  EGL: add the EGL_ANDROID_framebuffer_target enum

opengl/include/EGL/eglext.h
opengl/libs/EGL/egl_display.cpp

index 3348039..8578874 100644 (file)
@@ -304,6 +304,13 @@ EGLAPI EGLint EGLAPIENTRY eglWaitSyncANDROID(EGLDisplay dpy, EGLSyncKHR sync, EG
 typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCANDROID) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags);
 #endif
 
+/* EGL_ANDROID_framebuffer_target
+ */
+#ifndef EGL_ANDROID_framebuffer_target
+#define EGL_ANDROID_framebuffer_target
+#define EGL_FRAMEBUFFER_TARGET_ANDROID                0x3147
+#endif
+
 #ifdef __cplusplus
 }
 #endif
index 8fd5af1..7ca9e40 100644 (file)
@@ -59,6 +59,7 @@ static char const * const sExtensionString  =
 
 // extensions not exposed to applications but used by the ANDROID system
 //      "EGL_ANDROID_recordable "               // mandatory
+//      "EGL_ANDROID_framebuffer_target "       // mandatory for HWC 1.1
 //      "EGL_ANDROID_blob_cache "               // strongly recommended
 //      "EGL_ANDROID_native_fence_sync "        // strongly recommended
 //      "EGL_IMG_hibernate_process "            // optional