summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-12-01 14:49:53 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-12-07 16:26:24 +0800
commit991b5f53a8c09afca6966ce87df09cfe0860a9c6 (patch)
treecac8c9691173d4106f8c25a498be3d91cebdb1ef
parent67be6f176e4683ad2d7d315945cc982090d0fdd1 (diff)
egl: trace EGL_ANGLE_query_surface_pointer and family
-rw-r--r--specs/eglapi.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/specs/eglapi.py b/specs/eglapi.py
index 1813145..bc0e787 100644
--- a/specs/eglapi.py
+++ b/specs/eglapi.py
@@ -279,6 +279,12 @@ EGLCreateDRMImageAttrib = FakeEnum(EGLint, [
"EGL_NONE",
])
+# EGL_ANGLE_query_surface_pointer
+EGLSurfacePointer = FakeEnum(EGLint, [
+ # EGL_ANGLE_surface_d3d_texture_2d_share_handle
+ "EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE", # 0x3200
+])
+
eglapi = API("EGL")
PROC = Opaque("__eglMustCastToProperFunctionPointerType")
@@ -367,4 +373,7 @@ eglapi.add_functions([
# EGL_NV_post_sub_buffer
Function(EGLBoolean, "eglPostSubBufferNV", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLint, "x"), (EGLint, "y"), (EGLint, "width"), (EGLint, "height")]),
+
+ # EGL_ANGLE_query_surface_pointer
+ Function(EGLBoolean, "eglQuerySurfacePointerANGLE", [(EGLDisplay, "dpy"), (EGLSurface, "surface"), (EGLSurfacePointer, "attribute"), Out(Pointer(OpaquePointer(Void)), "value")], sideeffects=False),
])