aboutsummaryrefslogtreecommitdiffstats
path: root/include/EGL/eglextchromium.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/EGL/eglextchromium.h')
-rw-r--r--include/EGL/eglextchromium.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/EGL/eglextchromium.h b/include/EGL/eglextchromium.h
index 0cc097658cf..69589436897 100644
--- a/include/EGL/eglextchromium.h
+++ b/include/EGL/eglextchromium.h
@@ -53,6 +53,17 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCVALUESCHROMIUMPROC)
#endif
#endif
+#ifndef EGL_EXT_image_flush_external
+#define EGL_EXT_image_flush_external 1
+#define EGL_IMAGE_EXTERNAL_FLUSH_EXT 0x32A2
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLIMAGEFLUSHEXTERNALEXTPROC) (EGLDisplay dpy, EGLImageKHR image, const EGLAttrib *attrib_list);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLIMAGEINVALIDATEEXTERNALEXTPROC) (EGLDisplay dpy, EGLImageKHR image, const EGLAttrib *attrib_list);
+#ifdef EGL_EGLEXT_PROTOTYPES
+EGLAPI EGLBoolean EGLAPIENTRY eglImageFlushExternalEXT (EGLDisplay dpy, EGLImageKHR image, const EGLAttrib *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglImageInvalidateExternalEXT (EGLDisplay dpy, EGLImageKHR image, const EGLAttrib *attrib_list);
+#endif
+#endif /* EGL_EXT_image_flush_external */
+
#ifdef __cplusplus
}
#endif