]> git.tdb.fi Git - gldbg.git/commitdiff
Add some missing glX functions
authorMikko Rasa <tdb@tdb.fi>
Tue, 23 Nov 2010 09:28:16 +0000 (09:28 +0000)
committerMikko Rasa <tdb@tdb.fi>
Tue, 23 Nov 2010 09:28:16 +0000 (09:28 +0000)
flavors/gl/glx.spec

index 0c4fa03929ef74fe3c95b6f3d96c37509f30b4c1..71e47419bcf3026ed3cbe89dcc7a3f10ccbc499a 100644 (file)
@@ -12,6 +12,22 @@ vectorequiv: *
 category:      pixel-rw bgn-end display-list drawing drawing-control feedback framebuf misc modeling pixel-op pixel-rw state-req xform glx glxopcode
 glxopcode:             *
 
+QueryExtension(dpy, errorb, event)
+       return          Bool
+       param           dpy     DisplayPointer in value
+       param           errorb  int out reference
+       param           event   int out reference
+
+GetCurrentContext()
+       return          GLXContext
+
+GetCurrentDrawable()
+       return          GLXDrawable
+
+GetClientString(dpy, name)
+       return          GLXstring
+       param           dpy     DisplayPointer in value
+       param           name    int in value
 ###############################################################################
 #
 # GLX1.0 commands
@@ -154,6 +170,14 @@ GetVisualConfigs()
        glxopcode        14
 
 
+GetConfig(dpy, visual, attribute, value)
+       return           int
+       param            dpy            DisplayPointer in value
+       param            visual XVisualInfoPointer in value
+       param            attribute      int in value
+       param            value          int out reference
+
+
 DestroyGLXPixmap(dpy, pixmap)
        return           void
        param            dpy            DisplayPointer in value