summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-05-03 16:01:58 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-05-03 16:02:55 +0100
commit64ed7e2a8fce9a260bb1ff571095b03200fa295c (patch)
tree37fad0bdc636356bf1cc145d39494e50770c04c2 /specs
parent43870870d8d4570dbd2d327ea804391324cca367 (diff)
egltrace: Support eglSwapBuffersWithDamage*.
https://github.com/apitrace/apitrace/issues/454
Diffstat (limited to 'specs')
-rw-r--r--specs/eglapi.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/specs/eglapi.py b/specs/eglapi.py
index 5edb60d6..48956f86 100644
--- a/specs/eglapi.py
+++ b/specs/eglapi.py
@@ -253,6 +253,9 @@ eglapi.addFunctions([
GlFunction(EGLSurface, "eglCreatePlatformWindowSurfaceEXT", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (OpaquePointer(Void), "native_window"), (EGLAttribArray([]), "attrib_list")]),
GlFunction(EGLSurface, "eglCreatePlatformPixmapSurfaceEXT", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (OpaquePointer(Void), "native_pixmap"), (EGLAttribArray([]), "attrib_list")]),
+ # EGL_EXT_swap_buffers_with_damage
+ GlFunction(EGLBoolean, "eglSwapBuffersWithDamageEXT", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (Array(EGLint, "n_rects*4"), "rects"), (EGLint, "n_rects")]),
+
# EGL_HI_clientpixmap
GlFunction(EGLSurface, "eglCreatePixmapSurfaceHI", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (Pointer(EGLClientPixmapHI), "pixmap")]),
@@ -275,6 +278,9 @@ eglapi.addFunctions([
# EGL_KHR_reusable_sync
GlFunction(EGLBoolean, "eglSignalSyncKHR", [(EGLDisplay, "dpy"), (EGLSyncKHR, "sync"), (EGLenum, "mode")]),
+ # EGL_KHR_swap_buffers_with_damage
+ GlFunction(EGLBoolean, "eglSwapBuffersWithDamageKHR", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (Array(EGLint, "n_rects*4"), "rects"), (EGLint, "n_rects")]),
+
# EGL_NV_sync
GlFunction(EGLSyncNV, "eglCreateFenceSyncNV", [(EGLDisplay, "dpy"), (EGLenum, "condition"), (EGLFenceSyncNVAttribs, "attrib_list")]),
GlFunction(EGLBoolean, "eglDestroySyncNV", [(EGLSyncNV, "sync")]),