EGL: add the EGL_ANDROID_framebuffer_target enum

Change-Id: Id8b1b114e2a7a88956b857c63a0429e9b33fdb5c
This commit is contained in:
Jamie Gennis 2012-09-24 13:34:18 -07:00
parent 09b11432b6
commit 3ff48e5e69
2 changed files with 8 additions and 0 deletions

View 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

View 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