am ca5f79c2: am 363847d4: Merge "EGL: expose the EXT_create_context_robustness ext" into jb-mr1-dev

* commit 'ca5f79c2bb6c2e3995d9e2427f2600d1b03a84c4':
  EGL: expose the EXT_create_context_robustness ext
This commit is contained in:
Jamie Gennis 2012-09-24 18:25:04 -07:00 committed by Android Git Automerger
commit f48bec48ea
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -52,6 +52,7 @@ static char const * const sExtensionString =
"EGL_KHR_gl_texture_cubemap_image "
"EGL_KHR_gl_renderbuffer_image "
"EGL_KHR_fence_sync "
"EGL_EXT_create_context_robustness "
"EGL_NV_system_time "
"EGL_ANDROID_image_native_buffer " // mandatory
;