From: Brian Paul Date: Fri, 23 Jun 2000 17:39:18 +0000 (+0000) Subject: added extension numbers for Mesa extensions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=401fc936f1c368a34e285075efe4070017054a7f;p=mesa.git added extension numbers for Mesa extensions --- diff --git a/include/GL/glx.h b/include/GL/glx.h index 5af05ed1709..c2ae5d35b95 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 */