summaryrefslogtreecommitdiff
path: root/include/EGL/eglext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/EGL/eglext.h')
-rw-r--r--include/EGL/eglext.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h
index a9e598d6dd6..61626d20df6 100644
--- a/include/EGL/eglext.h
+++ b/include/EGL/eglext.h
@@ -227,6 +227,18 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLCOPYCONTEXTMESA) (EGLDisplay dpy, EGLCont
#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103
#endif
+
+#ifndef EGL_NOK_swap_region
+#define EGL_NOK_swap_region 1
+
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK(EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);
+#endif
+
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);
+#endif
+
+
#ifdef __cplusplus
}
#endif