summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/glxapi.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-11-23 19:54:27 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-11-23 19:54:27 +0000
commitad6fd8ed4daa9a1e4167476bdcd0b65195a8045a (patch)
tree0c10fa9f88ef19e9bd644615b5df495109671991 /src/mesa/drivers/x11/glxapi.c
parent4e176ff358956b773ec486a220cc21971ed97495 (diff)
added GLX 1.3 functions
Diffstat (limited to 'src/mesa/drivers/x11/glxapi.c')
-rw-r--r--src/mesa/drivers/x11/glxapi.c160
1 files changed, 159 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c
index d48f3151d4..00dfffbd93 100644
--- a/src/mesa/drivers/x11/glxapi.c
+++ b/src/mesa/drivers/x11/glxapi.c
@@ -1,4 +1,4 @@
-/* $Id: glxapi.c,v 1.5 1999/11/22 21:52:23 brianp Exp $ */
+/* $Id: glxapi.c,v 1.6 1999/11/23 19:54:27 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -361,6 +361,164 @@ Display *glXGetCurrentDisplay( void )
+/*
+ * GLX 1.3 and later
+ * XXX these are just no-op stubs for now.
+ */
+GLXFBConfig glXChooseFBConfig( Display *dpy, int screen,
+ const int *attribList, int *nitems )
+{
+ (void) dpy;
+ (void) screen;
+ (void) attribList;
+ (void) nitems;
+ return 0;
+}
+
+
+int glXGetFBConfigAttrib( Display *dpy, GLXFBConfig config,
+ int attribute, int *value )
+{
+ (void) dpy;
+ (void) config;
+ (void) attribute;
+ (void) value;
+ return 0;
+}
+
+
+XVisualInfo *glXGetVisualFromFBConfig( Display *dpy, GLXFBConfig config )
+{
+ (void) dpy;
+ (void) config;
+ return 0;
+}
+
+
+GLXWindow glXCreateWindow( Display *dpy, GLXFBConfig config, Window win,
+ const int *attribList )
+{
+ (void) dpy;
+ (void) config;
+ (void) win;
+ (void) attribList;
+ return 0;
+}
+
+
+void glXDestroyWindow( Display *dpy, GLXWindow window )
+{
+ (void) dpy;
+ (void) window;
+ return;
+}
+
+
+GLXPixmap glXCreatePixmap( Display *dpy, GLXFBConfig config, Pixmap pixmap,
+ const int *attribList )
+{
+ (void) dpy;
+ (void) config;
+ (void) pixmap;
+ (void) attribList;
+ return 0;
+}
+
+
+void glXDestroyPixmap( Display *dpy, GLXPixmap pixmap )
+{
+ (void) dpy;
+ (void) pixmap;
+ return;
+}
+
+
+GLXPbuffer glXCreatePbuffer( Display *dpy, GLXFBConfig config,
+ const int *attribList )
+{
+ (void) dpy;
+ (void) config;
+ (void) attribList;
+ return 0;
+}
+
+
+void glXDestroyPbuffer( Display *dpy, GLXPbuffer pbuf )
+{
+ (void) dpy;
+ (void) pbuf;
+}
+
+
+void glXQueryDrawable( Display *dpy, GLXDrawable draw, int attribute,
+ unsigned int *value )
+{
+ (void) dpy;
+ (void) draw;
+ (void) attribute;
+ (void) value;
+}
+
+
+GLXContext glXCreateNewContext( Display *dpy, GLXFBConfig config,
+ int renderType, GLXContext shareList,
+ Bool direct )
+{
+ (void) dpy;
+ (void) config;
+ (void) renderType;
+ (void) shareList;
+ (void) direct;
+ return 0;
+}
+
+
+Bool glXMakeContextCurrent( Display *dpy, GLXDrawable draw, GLXDrawable read,
+ GLXContext ctx )
+{
+ (void) dpy;
+ (void) draw;
+ (void) read;
+ (void) ctx;
+ return 0;
+}
+
+
+GLXDrawable glXGetCurrentReadDrawable( void )
+{
+ return 0;
+}
+
+
+int glXQueryContext( Display *dpy, GLXContext ctx, int attribute, int *value )
+{
+ (void) dpy;
+ (void) ctx;
+ (void) attribute;
+ (void) value;
+ return 0;
+}
+
+
+void glXSelectEvent( Display *dpy, GLXDrawable drawable, unsigned long mask )
+{
+ (void) dpy;
+ (void) drawable;
+ (void) mask;
+}
+
+
+void glXGetSelectedEvent( Display *dpy, GLXDrawable drawable,
+ unsigned long *mask )
+{
+ (void) dpy;
+ (void) drawable;
+ (void) mask;
+}
+
+
+
+
#ifdef GLX_MESA_release_buffers
Bool glXReleaseBuffersMESA( Display *dpy, Window w )
{