| Index: third_party/khronos/EGL/eglext.h
|
| diff --git a/third_party/khronos/EGL/eglext.h b/third_party/khronos/EGL/eglext.h
|
| index 7a5433f640e4d4be9a7e41daec6c3f9697023072..610c9aefd3e077c299d94900216851b2c6c5eb26 100644
|
| --- a/third_party/khronos/EGL/eglext.h
|
| +++ b/third_party/khronos/EGL/eglext.h
|
| @@ -445,6 +445,21 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC)(EGLDisplay dpy, E
|
| /* No tokens/entry points, just relaxes an error condition */
|
| #endif
|
|
|
| +#ifndef EGL_KHR_swap_buffers_with_damage
|
| +#define EGL_KHR_swap_buffers_with_damage 1
|
| +typedef EGLBoolean(EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)(
|
| + EGLDisplay dpy,
|
| + EGLSurface surface,
|
| + EGLint* rects,
|
| + EGLint n_rects);
|
| +#ifdef EGL_EGLEXT_PROTOTYPES
|
| +EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR(EGLDisplay dpy,
|
| + EGLSurface surface,
|
| + EGLint* rects,
|
| + EGLint n_rects);
|
| +#endif
|
| +#endif /* EGL_KHR_swap_buffers_with_damage */
|
| +
|
| #ifdef EGL_KHR_stream /* Requires KHR_stream extension */
|
| #ifndef EGL_KHR_stream_cross_process_fd
|
| #define EGL_KHR_stream_cross_process_fd 1
|
|
|