Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09b11432 authored by Jamie Gennis's avatar Jamie Gennis
Browse files

EGL: expose the EXT_create_context_robustness ext

Change-Id: I1db43e96aa5e9e91a6176a4a3e5aa9d1f3ee4a7e
parent ff5c4aa6
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -234,6 +234,16 @@ struct ANativeWindowBuffer;
#define EGL_RECORDABLE_ANDROID                  0x3142  /* EGLConfig attribute */
#define EGL_RECORDABLE_ANDROID                  0x3142  /* EGLConfig attribute */
#endif
#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
/* EGL_NV_system_time
 */
 */
#ifndef EGL_NV_system_time
#ifndef EGL_NV_system_time
+1 −0
Original line number Original line Diff line number Diff line
@@ -52,6 +52,7 @@ static char const * const sExtensionString =
        "EGL_KHR_gl_texture_cubemap_image "
        "EGL_KHR_gl_texture_cubemap_image "
        "EGL_KHR_gl_renderbuffer_image "
        "EGL_KHR_gl_renderbuffer_image "
        "EGL_KHR_fence_sync "
        "EGL_KHR_fence_sync "
        "EGL_EXT_create_context_robustness "
        "EGL_NV_system_time "
        "EGL_NV_system_time "
        "EGL_ANDROID_image_native_buffer "      // mandatory
        "EGL_ANDROID_image_native_buffer "      // mandatory
        ;
        ;