diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2016-07-17 22:54:07 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2016-07-17 22:54:07 +0100 |
commit | 53e7386ff756f44334d8e3648b3420e407d5eb14 (patch) | |
tree | 4e5b5b99fd82c8740ce595208e0b9d274c63d9db /specs | |
parent | 84c1a8e1e8ebe9097774bdd478d5ca8eecb9aa0f (diff) |
glxtrace: Recognize glXCreatePixmap attributes.
From GLX_EXT_texture_from_pixmap.
Diffstat (limited to 'specs')
-rw-r--r-- | specs/glxapi.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/specs/glxapi.py b/specs/glxapi.py index 0d3cd969..78d966f7 100644 --- a/specs/glxapi.py +++ b/specs/glxapi.py @@ -352,6 +352,12 @@ GLXContextARBAttribs = AttribArray(Const(GLXEnum), [ ])), ]) +GLXPixmapAttribs = AttribArray(Const(GLXEnum), [ + ('GLX_TEXTURE_FORMAT_EXT', GLXEnum), + ('GLX_TEXTURE_TARGET_EXT', GLXEnum), + ('GLX_MIPMAP_TEXTURE_EXT', Bool), +]) + GLXPbufferAttribs = AttribArray(Const(GLXEnum), [ ('GLX_PBUFFER_WIDTH', Int), ('GLX_PBUFFER_HEIGHT', Int), @@ -428,7 +434,7 @@ glxapi.addFunctions([ (Window, "win"), (UnusedAttribs, "attribList")]), Function(Void, "glXDestroyWindow", [(Display, "dpy"), (GLXWindow, "window")]), Function(GLXPixmap, "glXCreatePixmap", [(Display, "dpy"), (GLXFBConfig, "config"), - (Pixmap, "pixmap"), (UnusedAttribs, "attribList")]), + (Pixmap, "pixmap"), (GLXPixmapAttribs, "attribList")]), Function(Void, "glXDestroyPixmap", [(Display, "dpy"), (GLXPixmap, "pixmap")]), Function(GLXPbuffer, "glXCreatePbuffer", [(Display, "dpy"), (GLXFBConfig, "config"), (GLXPbufferAttribs, "attribList")]), |