summaryrefslogtreecommitdiffstats
path: root/opengl/include
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-09-20 15:47:44 -0700
committerJamie Gennis <jgennis@google.com>2012-09-24 13:45:32 -0700
commit09b11432b64d368dee7be69480ab54256058376a (patch)
treea9a9bd5e13ae06fe8f769366011b6692b30acbcb /opengl/include
parentff5c4aa676d157f4911ef06e328e687725e8b9f9 (diff)
downloadframeworks_native-09b11432b64d368dee7be69480ab54256058376a.zip
frameworks_native-09b11432b64d368dee7be69480ab54256058376a.tar.gz
frameworks_native-09b11432b64d368dee7be69480ab54256058376a.tar.bz2
EGL: expose the EXT_create_context_robustness ext
Change-Id: I1db43e96aa5e9e91a6176a4a3e5aa9d1f3ee4a7e
Diffstat (limited to 'opengl/include')
-rw-r--r--opengl/include/EGL/eglext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/opengl/include/EGL/eglext.h b/opengl/include/EGL/eglext.h
index 5cfa0db..3348039 100644
--- a/opengl/include/EGL/eglext.h
+++ b/opengl/include/EGL/eglext.h
@@ -234,6 +234,16 @@ struct ANativeWindowBuffer;
#define EGL_RECORDABLE_ANDROID 0x3142 /* EGLConfig attribute */
#endif
+/* EGL_EXT_create_context_robustness
+ */
+#ifndef EGL_EXT_create_context_robustness
+#define EGL_EXT_create_context_robustness 1
+#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF
+#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138
+#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE
+#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF
+#endif
+
/* EGL_NV_system_time
*/
#ifndef EGL_NV_system_time