summaryrefslogtreecommitdiffstats
path: root/opengl/include
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2015-04-24 01:40:42 -0700
committerJesse Hall <jessehall@google.com>2015-05-12 08:42:05 -0700
commit408e59f63aaaba30fb6db1477e985025dda085cd (patch)
treeac76762e36c784ff1557cf49860958eb7f357c4b /opengl/include
parentbe451b57b97c21747c637f4af06743318d42c36c (diff)
downloadframeworks_native-408e59f63aaaba30fb6db1477e985025dda085cd.zip
frameworks_native-408e59f63aaaba30fb6db1477e985025dda085cd.tar.gz
frameworks_native-408e59f63aaaba30fb6db1477e985025dda085cd.tar.bz2
libEGL: whitelist the EGL_KHR_create_context_no_error extension
Allow EGL implementations to expose the EGL_KHR_create_context_no_error extension if they wish. https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_create_context_no_error.txt Change-Id: I3290ccc2a69a1fa0b00ec3f1aa4f876906c64bfb
Diffstat (limited to 'opengl/include')
-rw-r--r--opengl/include/EGL/eglext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/opengl/include/EGL/eglext.h b/opengl/include/EGL/eglext.h
index 25f7607..b2abdb1 100644
--- a/opengl/include/EGL/eglext.h
+++ b/opengl/include/EGL/eglext.h
@@ -444,6 +444,11 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC)(EGLDisplay dpy, E
#define EGL_OPENGL_ES3_BIT_KHR 0x00000040
#endif
+#ifndef EGL_KHR_create_context_no_error
+#define EGL_KHR_create_context_no_error 1
+#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR 0x31B3
+#endif /* EGL_KHR_create_context_no_error */
+
#ifndef EGL_KHR_surfaceless_context
#define EGL_KHR_surfaceless_context 1
/* No tokens/entry points, just relaxes an error condition */