diff options
author | Marek Olšák <[email protected]> | 2019-10-17 18:58:42 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-10-25 19:59:04 -0400 |
commit | a0a8109fb6fd16898af2fce10cc22c4f4653cce1 (patch) | |
tree | 439aea7bf8165ca684e8f9be24c34877fb1c2ef3 /include/EGL | |
parent | 19851c9ad66aa2e05c650d2310aff7515968b0da (diff) |
include: add the definition of EGL_EXT_image_flush_external
Reviewed-by: Kristian H. Kristensen <[email protected]>
Reviewed-By: Tapani Pälli <[email protected]>
Diffstat (limited to 'include/EGL')
-rw-r--r-- | include/EGL/eglext.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h index 88623ab6f53..02dd7719161 100644 --- a/include/EGL/eglext.h +++ b/include/EGL/eglext.h @@ -1362,6 +1362,17 @@ EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); #define EGL_NATIVE_SURFACE_TIZEN 0x32A1 #endif /* EGL_TIZEN_image_native_surface */ +#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 */ + #include <EGL/eglmesaext.h> #include <EGL/eglextchromium.h> |