diff options
Diffstat (limited to 'src/egl/main/eglapi.h')
-rw-r--r-- | src/egl/main/eglapi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h index 85b8f1a8db1..ee382d00e4a 100644 --- a/src/egl/main/eglapi.h +++ b/src/egl/main/eglapi.h @@ -131,6 +131,9 @@ typedef EGLBoolean (*PostSubBufferNV_t)(_EGLDriver *drv, _EGLDisplay *disp, _EGL typedef EGLint (*QueryBufferAge_t)(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface); +#ifdef EGL_EXT_swap_buffers_with_damage +typedef EGLBoolean (*SwapBuffersWithDamageEXT_t) (_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface, const EGLint *rects, EGLint n_rects); +#endif /** * The API dispatcher jumps through these functions @@ -207,6 +210,10 @@ struct _egl_api QueryWaylandBufferWL_t QueryWaylandBufferWL; #endif +#ifdef EGL_EXT_swap_buffers_with_damage + SwapBuffersWithDamageEXT_t SwapBuffersWithDamageEXT; +#endif /* EGL_EXT_swap_buffers_with_damage */ + PostSubBufferNV_t PostSubBufferNV; QueryBufferAge_t QueryBufferAge; |