summaryrefslogtreecommitdiff
path: root/specs/eglapi.py
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-12-01 14:47:02 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-12-07 16:26:24 +0800
commit67be6f176e4683ad2d7d315945cc982090d0fdd1 (patch)
tree88643a68a92303bbddc74b8c8f7cf00cad131863 /specs/eglapi.py
parentf45b64720d85e672658d4b4439564f1cf581a5f8 (diff)
egl: trace EGL_NV_post_sub_buffer
Diffstat (limited to 'specs/eglapi.py')
-rw-r--r--specs/eglapi.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/specs/eglapi.py b/specs/eglapi.py
index 5266207f..1813145f 100644
--- a/specs/eglapi.py
+++ b/specs/eglapi.py
@@ -155,6 +155,9 @@ EGLSurfaceAttrib = FakeEnum(EGLint, [
# EGL_HI_clientpixmap
"EGL_CLIENT_PIXMAP_POINTER_HI", # 0x8F74
+
+ # EGL_NV_post_sub_buffer
+ "EGL_POST_SUB_BUFFER_SUPPORTED_NV", # 0x30BE
])
EGLContextAttrib = FakeEnum(EGLint, [
@@ -361,4 +364,7 @@ eglapi.add_functions([
# EGL_MESA_drm_image
Function(EGLImageKHR, "eglCreateDRMImageMESA", [(EGLDisplay, "dpy"), (Array(Const(EGLCreateDRMImageAttrib), "__AttribList_size(attrib_list, EGL_NONE)"), "attrib_list")]),
Function(EGLBoolean, "eglExportDRMImageMESA", [(EGLDisplay, "dpy"), (EGLImageKHR, "image"), Out(Pointer(EGLint), "name"), Out(Pointer(EGLint), "handle"), Out(Pointer(EGLint), "stride")]),
+
+ # EGL_NV_post_sub_buffer
+ Function(EGLBoolean, "eglPostSubBufferNV", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLint, "x"), (EGLint, "y"), (EGLint, "width"), (EGLint, "height")]),
])