diff options
author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2012-08-21 22:22:02 -0700 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2012-08-27 18:38:35 -0700 |
commit | f9752cc4cf4e4f36eaa6f19f607957b9eb496bc4 (patch) | |
tree | ed38db044c2313df0701cbe83bb000a6fb0710fc /opengl/include | |
parent | d7007cd4bb2016a09ae8e8f746118f81fdd27f02 (diff) | |
download | frameworks_native-f9752cc4cf4e4f36eaa6f19f607957b9eb496bc4.zip frameworks_native-f9752cc4cf4e4f36eaa6f19f607957b9eb496bc4.tar.gz frameworks_native-f9752cc4cf4e4f36eaa6f19f607957b9eb496bc4.tar.bz2 |
egl: Reintroduce eglGetRenderBufferANDROID
eglGetRenderBufferANDROID was removed as it had no users. This commit
reintroduces this extensions as it's used by Qualcomm graphics HAL.
Change-Id: I493306830a0d4f8722a42bcc84fb49236afdabeb
Diffstat (limited to 'opengl/include')
-rw-r--r-- | opengl/include/EGL/eglext.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/opengl/include/EGL/eglext.h b/opengl/include/EGL/eglext.h index 2d41aa7..540a547 100644 --- a/opengl/include/EGL/eglext.h +++ b/opengl/include/EGL/eglext.h @@ -213,6 +213,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value); +typedef EGLClientBuffer (EGLAPIENTRYP PFNEGLGETRENDERBUFFERANDROIDPROC) (EGLDisplay dpy, EGLSurface draw); #endif #ifndef EGL_KHR_fence_sync @@ -262,6 +263,15 @@ typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); #endif +/* EGL_ANDROID_get_render_buffer + */ +#ifndef EGL_ANDROID_get_render_buffer +#define EGL_ANDROID_get_render_buffer 1 +#ifdef EGL_EGLEXT_PROTOTYPES +EGLAPI EGLClientBuffer EGLAPIENTRY eglGetRenderBufferANDROID(EGLDisplay dpy, EGLSurface draw); +#endif +#endif + /* EGL_IMG_hibernate_process */ #ifndef EGL_IMG_hibernate_process |