diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-23 17:39:18 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-23 17:39:18 +0000 |
commit | 401fc936f1c368a34e285075efe4070017054a7f (patch) | |
tree | e49c47010c1b171a7038022cc93920d92b5ec5d9 /include | |
parent | dd18a4f335984081ccf5c2145b7983168ab3e074 (diff) |
added extension numbers for Mesa extensions
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/glx.h | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h index 5af05ed170..c2ae5d35b9 100644 --- a/include/GL/glx.h +++ b/include/GL/glx.h @@ -1,4 +1,4 @@ -/* $Id: glx.h,v 1.21 2000/06/08 22:50:24 brianp Exp $ */ +/* $Id: glx.h,v 1.22 2000/06/23 17:39:18 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -367,19 +367,20 @@ extern int glXQueryContextInfoEXT(Display *dpy, GLXContext context, /* - * ARB 2. GLX_ARB_get_proc_address + * 215. GLX_MESA_copy_sub_buffer */ -#ifndef GLX_ARB_get_proc_address -#define GLX_ARB_get_proc_address 1 +#ifndef GLX_MESA_copy_sub_buffer +#define GLX_MESA_copy_sub_buffer 1 -extern void (*glXGetProcAddressARB(const GLubyte *procName))(); +extern void glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable, + int x, int y, int width, int height ); -#endif /* GLX_ARB_get_proc_address */ +#endif /* - * GLX_MESA_pixmap_colormap + * 216. GLX_MESA_pixmap_colormap */ #ifndef GLX_MESA_pixmap_colormap #define GLX_MESA_pixmap_colormap 1 @@ -392,7 +393,7 @@ extern GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, /* - * GLX_MESA_release_buffers + * 217. GLX_MESA_release_buffers */ #ifndef GLX_MESA_release_buffers #define GLX_MESA_release_buffers 1 @@ -404,27 +405,29 @@ extern Bool glXReleaseBuffersMESA( Display *dpy, GLXDrawable d ); /* - * GLX_MESA_copy_sub_buffer + * 218. GLX_MESA_set_3dfx_mode */ -#ifndef GLX_MESA_copy_sub_buffer -#define GLX_MESA_copy_sub_buffer 1 +#ifndef GLX_MESA_set_3dfx_mode +#define GLX_MESA_set_3dfx_mode 1 -extern void glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable, - int x, int y, int width, int height ); +#define GLX_3DFX_WINDOW_MODE_MESA 0x1 +#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 -#endif +extern GLboolean glXSet3DfxModeMESA( GLint mode ); + +#endif /* GLX_MESA_set_3dfx_mode */ /* - * GLX_MESA_set_3dfx_mode + * ARB 2. GLX_ARB_get_proc_address */ -#ifndef GLX_MESA_set_3dfx_mode -#define GLX_MESA_set_3dfx_mode 1 +#ifndef GLX_ARB_get_proc_address +#define GLX_ARB_get_proc_address 1 -extern GLboolean glXSet3DfxModeMESA( GLint mode ); +extern void (*glXGetProcAddressARB(const GLubyte *procName))(); -#endif /* GLX_MESA_set_3dfx_mode */ +#endif /* GLX_ARB_get_proc_address */ |