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

Commit ceb9ee78 authored by Pablo Ceballos's avatar Pablo Ceballos
Browse files

egl: add EGL_KHR_mutable_render_buffer

- Allow drivers to support it and applications to query for it.
- Add it to the platform header.

Bug 27129258

Change-Id: I7ce762f03889027d67803ba2da85a43584f3cf79
parent 9ffa1a4d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -616,6 +616,10 @@ typedef EGLAPI EGLClientBuffer (EGLAPIENTRYP PFNEGLCREATENATIVECLIENTBUFFERANDRO
#define EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID 0x314C
#endif

#ifndef EGL_KHR_mutable_render_buffer
#define EGL_KHR_mutable_render_buffer 1
#define EGL_MUTABLE_RENDER_BUFFER_BIT_KHR 0x1000
#endif

#ifdef __cplusplus
}
+1 −0
Original line number Diff line number Diff line
@@ -115,6 +115,7 @@ extern char const * const gExtensionString =
        "EGL_KHR_partial_update "               // strongly recommended
        "EGL_EXT_buffer_age "                   // strongly recommended with partial_update
        "EGL_KHR_create_context_no_error "
        "EGL_KHR_mutable_render_buffer "
        ;

// extensions not exposed to applications but used by the ANDROID system