From 4b9511c16195a646242eff833b0af212933b6eca Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Sun, 13 Nov 2011 23:52:47 -0800 Subject: rework a bit how we manage EGL extensions - don't advertise extensions that are not supported by any implementation - remove EGL_ANDROID_swap_rectangle which is not implemented by anybody and confuses people - add some comments about mandatory extensions Bug: 5428001 Change-Id: Id8dc48116ac1d1eb79ec9ef55d03e29d4257c1f3 --- opengl/libagl/egl.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'opengl/libagl/egl.cpp') diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp index 03db8d777a..6d4098c72d 100644 --- a/opengl/libagl/egl.cpp +++ b/opengl/libagl/egl.cpp @@ -49,6 +49,11 @@ #undef NELEM #define NELEM(x) (sizeof(x)/sizeof(*(x))) + +EGLBoolean EGLAPI eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, + EGLint left, EGLint top, EGLint width, EGLint height); + + // ---------------------------------------------------------------------------- namespace android { // ---------------------------------------------------------------------------- -- cgit v1.2.3-59-g8ed1b