summaryrefslogtreecommitdiffstats
path: root/src/egl/generate
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-10-17 20:07:32 -0400
committerMarek Olšák <[email protected]>2019-10-25 19:59:04 -0400
commitc1c574fdf18f2aeb1c03f9670bf00e1dcd22d99d (patch)
tree35bc1412bf4df9247b16f6e8660d8aea2d1e751e /src/egl/generate
parent34b1aa957a3f44ea9587ec43311e8434d3782cc1 (diff)
egl: implement new functions from EGL_EXT_image_flush_external
Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-By: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/egl/generate')
-rw-r--r--src/egl/generate/egl.xml12
-rw-r--r--src/egl/generate/eglFunctionList.py2
2 files changed, 14 insertions, 0 deletions
diff --git a/src/egl/generate/egl.xml b/src/egl/generate/egl.xml
index 10e34242089..8194c7316c8 100644
--- a/src/egl/generate/egl.xml
+++ b/src/egl/generate/egl.xml
@@ -1795,6 +1795,18 @@
<param><ptype>EGLint</ptype> <name>external_win_id</name></param>
<param><ptype>EGLint</ptype> <name>policy</name></param>
</command>
+ <command>
+ <proto><ptype>EGLBoolean</ptype> <name>eglImageFlushExternalEXT</name></proto>
+ <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
+ <param><ptype>EGLImageKHR</ptype> <name>image</name></param>
+ <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
+ </command>
+ <command>
+ <proto><ptype>EGLBoolean</ptype> <name>eglImageInvalidateExternalEXT</name></proto>
+ <param><ptype>EGLDisplay</ptype> <name>dpy</name></param>
+ <param><ptype>EGLImageKHR</ptype> <name>image</name></param>
+ <param>const <ptype>EGLAttrib</ptype> *<name>attrib_list</name></param>
+ </command>
</commands>
<!-- SECTION: EGL API interface definitions. -->
diff --git a/src/egl/generate/eglFunctionList.py b/src/egl/generate/eglFunctionList.py
index 192280f58f0..2f533493037 100644
--- a/src/egl/generate/eglFunctionList.py
+++ b/src/egl/generate/eglFunctionList.py
@@ -213,5 +213,7 @@ EGL_FUNCTIONS = (
_eglFunc("eglGetDisplayDriverName", "display"),
_eglFunc("eglGetDisplayDriverConfig", "display"),
+ _eglFunc("eglImageFlushExternalEXT", "display"),
+ _eglFunc("eglImageInvalidateExternalEXT", "display"),
)