From 1160900acac2a446deff897c2c8395df1cbc0fce Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 23 Nov 2010 09:28:16 +0000 Subject: [PATCH] Add some missing glX functions --- flavors/gl/glx.spec | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/flavors/gl/glx.spec b/flavors/gl/glx.spec index 0c4fa03..71e4741 100644 --- a/flavors/gl/glx.spec +++ b/flavors/gl/glx.spec @@ -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 -- 2.45.2