diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-10-01 15:27:42 -0400 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-12-09 20:01:35 -0500 |
commit | 0d4dcb25842739d586debb3472ceb90589fe741b (patch) | |
tree | 1e53a8cc5c44a2d0e92d7162ec24e2b5accc3976 /src/egl/main/eglapi.h | |
parent | 13375514519e00fc6598b30055d7320553f8b676 (diff) |
android: Add Android EGL extensions.
Diffstat (limited to 'src/egl/main/eglapi.h')
-rw-r--r-- | src/egl/main/eglapi.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h index 127becc9ac..96db72c70f 100644 --- a/src/egl/main/eglapi.h +++ b/src/egl/main/eglapi.h @@ -95,6 +95,14 @@ typedef _EGLImage *(*CreateDRMImageMESA_t)(_EGLDriver *drv, _EGLDisplay *disp, c typedef EGLBoolean (*ExportDRMImageMESA_t)(_EGLDriver *drv, _EGLDisplay *disp, _EGLImage *img, EGLint *name, EGLint *handle, EGLint *stride); #endif +#ifdef EGL_ANDROID_swap_rectangle +typedef EGLBoolean (*SetSwapRectangleANDROID_t)(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *draw, EGLint left, EGLint top, EGLint width, EGLint height); +#endif + +#ifdef EGL_ANDROID_get_render_buffer +typedef EGLClientBuffer (*GetRenderBufferANDROID_t)(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *draw); +#endif + /** * The API dispatcher jumps through these functions */ @@ -169,6 +177,13 @@ struct _egl_api CreateDRMImageMESA_t CreateDRMImageMESA; ExportDRMImageMESA_t ExportDRMImageMESA; #endif + +#ifdef EGL_ANDROID_swap_rectangle + SetSwapRectangleANDROID_t SetSwapRectangleANDROID; +#endif +#ifdef EGL_ANDROID_get_render_buffer + GetRenderBufferANDROID_t GetRenderBufferANDROID; +#endif }; #endif /* EGLAPI_INCLUDED */ |