1440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef __glxext_h_
2440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define __glxext_h_
3440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
4440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef __cplusplus
5440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern "C" {
6440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
7440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
8440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa/*
9440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** License Applicability. Except to the extent portions of this file are
10440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** made subject to an alternative license as permitted in the SGI Free
11440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** Software License B, Version 1.1 (the "License"), the contents of this
12440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** file are subject only to the provisions of the License. You may not use
13440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** this file except in compliance with the License. You may obtain a copy
14440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
15440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
16440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa**
17440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** http://oss.sgi.com/projects/FreeB
18440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa**
19440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** Note that, as provided in the License, the Software is distributed on an
20440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
21440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
22440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
23440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
24440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa**
25440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** Original Code. The Original Code is: OpenGL Sample Implementation,
26440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
27440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
28440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** Copyright in any portions created by third parties is as indicated
29440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** elsewhere herein. All Rights Reserved.
30440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa**
31440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** Additional Notice Provisions: This software was created using the
32440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
33440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** not been independently verified as being compliant with the OpenGL(R)
34440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa** version 1.2.1 Specification.
35440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa*/
36440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
37440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
38440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define WIN32_LEAN_AND_MEAN 1
39440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#include <windows.h>
40440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#else
41440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#include <GL/glx.h>
42440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
43440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
44440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef APIENTRY
45440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define APIENTRY
46440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
47440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
48440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
49440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa/*************************************************************/
50440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
51440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa/* Header file version number, required by OpenGL ABI for Linux */
52440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_GLXEXT_VERSION 2
53440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
54440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_VERSION_1_3
55440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_WINDOW_BIT                     0x00000001
56440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PIXMAP_BIT                     0x00000002
57440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PBUFFER_BIT                    0x00000004
58440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_RGBA_BIT                       0x00000001
59440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_COLOR_INDEX_BIT                0x00000002
60440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PBUFFER_CLOBBER_MASK           0x08000000
61440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_FRONT_LEFT_BUFFER_BIT          0x00000001
62440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_FRONT_RIGHT_BUFFER_BIT         0x00000002
63440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_BACK_LEFT_BUFFER_BIT           0x00000004
64440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_BACK_RIGHT_BUFFER_BIT          0x00000008
65440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_AUX_BUFFERS_BIT                0x00000010
66440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DEPTH_BUFFER_BIT               0x00000020
67440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_STENCIL_BUFFER_BIT             0x00000040
68440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_ACCUM_BUFFER_BIT               0x00000080
69440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_CONFIG_CAVEAT                  0x20
70440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_X_VISUAL_TYPE                  0x22
71440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_TYPE               0x23
72440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_INDEX_VALUE        0x24
73440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_RED_VALUE          0x25
74440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_GREEN_VALUE        0x26
75440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_BLUE_VALUE         0x27
76440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_ALPHA_VALUE        0x28
77440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DONT_CARE                      0xFFFFFFFF
78440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_NONE                           0x8000
79440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SLOW_CONFIG                    0x8001
80440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRUE_COLOR                     0x8002
81440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DIRECT_COLOR                   0x8003
82440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PSEUDO_COLOR                   0x8004
83440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_STATIC_COLOR                   0x8005
84440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_GRAY_SCALE                     0x8006
85440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_STATIC_GRAY                    0x8007
86440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_RGB                0x8008
87440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_INDEX              0x8009
88440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_VISUAL_ID                      0x800B
89440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SCREEN                         0x800C
90440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_NON_CONFORMANT_CONFIG          0x800D
91440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DRAWABLE_TYPE                  0x8010
92440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_RENDER_TYPE                    0x8011
93440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_X_RENDERABLE                   0x8012
94440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_FBCONFIG_ID                    0x8013
95440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_RGBA_TYPE                      0x8014
96440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_COLOR_INDEX_TYPE               0x8015
97440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MAX_PBUFFER_WIDTH              0x8016
98440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MAX_PBUFFER_HEIGHT             0x8017
99440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MAX_PBUFFER_PIXELS             0x8018
100440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PRESERVED_CONTENTS             0x801B
101440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_LARGEST_PBUFFER                0x801C
102440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_WIDTH                          0x801D
103440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_HEIGHT                         0x801E
104440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_EVENT_MASK                     0x801F
105440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DAMAGED                        0x8020
106440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SAVED                          0x8021
107440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_WINDOW                         0x8022
108440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PBUFFER                        0x8023
109440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PBUFFER_HEIGHT                 0x8040
110440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PBUFFER_WIDTH                  0x8041
111440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
112440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
113440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_EXT_visual_info
114440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_X_VISUAL_TYPE_EXT              0x22
115440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_TYPE_EXT           0x23
116440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_INDEX_VALUE_EXT    0x24
117440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_RED_VALUE_EXT      0x25
118440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_GREEN_VALUE_EXT    0x26
119440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_BLUE_VALUE_EXT     0x27
120440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_ALPHA_VALUE_EXT    0x28
121440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_NONE_EXT                       0x8000
122440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRUE_COLOR_EXT                 0x8002
123440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DIRECT_COLOR_EXT               0x8003
124440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PSEUDO_COLOR_EXT               0x8004
125440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_STATIC_COLOR_EXT               0x8005
126440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_GRAY_SCALE_EXT                 0x8006
127440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_STATIC_GRAY_EXT                0x8007
128440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_RGB_EXT            0x8008
129440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_TRANSPARENT_INDEX_EXT          0x8009
130440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
131440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
132440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGI_swap_control
133440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
134440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
135440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGI_video_sync
136440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
137440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
138440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGI_make_current_read
139440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
140440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
141440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_video_source
142440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
143440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
144440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_EXT_visual_rating
145440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_VISUAL_CAVEAT_EXT              0x20
146440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SLOW_VISUAL_EXT                0x8001
147440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_NON_CONFORMANT_VISUAL_EXT      0x800D
148440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa/* reuse GLX_NONE_EXT */
149440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
150440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
151440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_EXT_import_context
152440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SHARE_CONTEXT_EXT              0x800A
153440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_VISUAL_ID_EXT                  0x800B
154440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SCREEN_EXT                     0x800C
155440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
156440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
157440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_fbconfig
158440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_WINDOW_BIT_SGIX                0x00000001
159440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PIXMAP_BIT_SGIX                0x00000002
160440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_RGBA_BIT_SGIX                  0x00000001
161440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_COLOR_INDEX_BIT_SGIX           0x00000002
162440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DRAWABLE_TYPE_SGIX             0x8010
163440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_RENDER_TYPE_SGIX               0x8011
164440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_X_RENDERABLE_SGIX              0x8012
165440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_FBCONFIG_ID_SGIX               0x8013
166440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_RGBA_TYPE_SGIX                 0x8014
167440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_COLOR_INDEX_TYPE_SGIX          0x8015
168440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa/* reuse GLX_SCREEN_EXT */
169440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
170440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
171440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_pbuffer
172440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PBUFFER_BIT_SGIX               0x00000004
173440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_BUFFER_CLOBBER_MASK_SGIX       0x08000000
174440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX     0x00000001
175440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX    0x00000002
176440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_BACK_LEFT_BUFFER_BIT_SGIX      0x00000004
177440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX     0x00000008
178440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_AUX_BUFFERS_BIT_SGIX           0x00000010
179440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DEPTH_BUFFER_BIT_SGIX          0x00000020
180440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_STENCIL_BUFFER_BIT_SGIX        0x00000040
181440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_ACCUM_BUFFER_BIT_SGIX          0x00000080
182440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SAMPLE_BUFFERS_BIT_SGIX        0x00000100
183440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MAX_PBUFFER_WIDTH_SGIX         0x8016
184440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MAX_PBUFFER_HEIGHT_SGIX        0x8017
185440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MAX_PBUFFER_PIXELS_SGIX        0x8018
186440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX     0x8019
187440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX    0x801A
188440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PRESERVED_CONTENTS_SGIX        0x801B
189440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_LARGEST_PBUFFER_SGIX           0x801C
190440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_WIDTH_SGIX                     0x801D
191440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_HEIGHT_SGIX                    0x801E
192440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_EVENT_MASK_SGIX                0x801F
193440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DAMAGED_SGIX                   0x8020
194440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SAVED_SGIX                     0x8021
195440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_WINDOW_SGIX                    0x8022
196440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_PBUFFER_SGIX                   0x8023
197440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
198440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
199440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGI_cushion
200440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
201440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
202440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_video_resize
203440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SYNC_FRAME_SGIX                0x00000000
204440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SYNC_SWAP_SGIX                 0x00000001
205440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
206440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
207440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_dmbuffer
208440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX     0x8024
209440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
210440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
211440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_swap_group
212440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
213440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
214440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_swap_barrier
215440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
216440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
217440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIS_blended_overlay
218440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_BLENDED_RGBA_SGIS              0x8025
219440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
220440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
221440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIS_shared_multisample
222440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
223440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027
224440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
225440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
226440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SUN_get_transparent_index
227440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
228440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
229440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_3DFX_multisample
230440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SAMPLE_BUFFERS_3DFX            0x8050
231440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SAMPLES_3DFX                   0x8051
232440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
233440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
234440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_MESA_copy_sub_buffer
235440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
236440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
237440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_MESA_pixmap_colormap
238440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
239440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
240440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_MESA_release_buffers
241440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
242440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
243440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_MESA_set_3dfx_mode
244440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_3DFX_WINDOW_MODE_MESA          0x1
245440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_3DFX_FULLSCREEN_MODE_MESA      0x2
246440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
247440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
248440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
249440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa/*************************************************************/
250440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
251440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_ARB_get_proc_address
252440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void (*__GLXextFuncPtr)();
253440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
254440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
255440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_video_source
256440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef XID GLXVideoSourceSGIX;
257440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
258440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
259440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_fbconfig
260440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef XID GLXFBConfigIDSGIX;
261440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
262440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
263440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
264440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_pbuffer
265440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef XID GLXPbufferSGIX;
266440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef struct {
267440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    int type;
268440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    unsigned long serial;	  /* # of last request processed by server */
269440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    Bool send_event;		  /* true if this came for SendEvent request */
270440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    Display *display;		  /* display the event was read from */
271440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    GLXDrawable drawable;	  /* i.d. of Drawable */
272440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    int event_type;		  /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */
273440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    int draw_type;		  /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */
274440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    unsigned int mask;	  /* mask indicating which buffers are affected*/
275440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    int x, y;
276440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    int width, height;
277440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa    int count;		  /* if nonzero, at least this many more */
278440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa} GLXBufferClobberEventSGIX;
279440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
280440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
281440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GL_NV_vertex_array_range
282440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef PFNGLXALLOCATEMEMORYNVPROC
283440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
284440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void *glXAllocateMemoryNV (GLsizei, GLfloat, GLfloat, GLfloat);
285440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
286440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei, GLfloat, GLfloat, GLfloat);
287440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
288440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef PFNGLXFREEMEMORYNVPROC
289440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
290440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXFreeMemoryNV (void *);
291440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
292440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXFREEMEMORYNVPROC) (void *);
293440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
294440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
295440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
296440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_VERSION_1_3
297440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_VERSION_1_3 1
298440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
299440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXFBConfig * glXGetFBConfigs (Display *, int, int *);
300440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXFBConfig * glXChooseFBConfig (Display *, int, const int *, int *);
301440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXGetFBConfigAttrib (Display *, GLXFBConfig, int, int *);
302440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern XVisualInfo * glXGetVisualFromFBConfig (Display *, GLXFBConfig);
303440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXWindow glXCreateWindow (Display *, GLXFBConfig, Window, const int *);
304440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXDestroyWindow (Display *, GLXWindow);
305440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXPixmap glXCreatePixmap (Display *, GLXFBConfig, Pixmap, const int *);
306440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXDestroyPixmap (Display *, GLXPixmap);
307440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXPbuffer glXCreatePbuffer (Display *, GLXFBConfig, const int *);
308440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXDestroyPbuffer (Display *, GLXPbuffer);
309440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXQueryDrawable (Display *, GLXDrawable, int, unsigned int *);
310440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXContext glXCreateNewContext (Display *, GLXFBConfig, int, GLXContext, Bool);
311440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Bool glXMakeContextCurrent (Display *, GLXDrawable, GLXDrawable, GLXContext);
312440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXDrawable glXGetCurrentReadDrawable (void);
313440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Display * glXGetCurrentDisplay (void);
314440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXQueryContext (Display *, GLXContext, int, int *);
315440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXSelectEvent (Display *, GLXDrawable, unsigned long);
316440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXGetSelectedEvent (Display *, GLXDrawable, unsigned long *);
317440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
318440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
319440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
320440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
321440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
322440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
323440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
324440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
325440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap);
326440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
327440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
328440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
329440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
330440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
331440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void);
332440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Display * ( * PFNGLXGETCURRENTDISPLAYPROC) (void);
333440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
334440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
335440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
336440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
337440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
338440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_ARB_get_proc_address
339440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_ARB_get_proc_address 1
340440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
341440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
342440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
343440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);
344440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
345440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
346440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIS_multisample
347440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGIS_multisample 1
348440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
349440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
350440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_EXT_visual_info
351440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_EXT_visual_info 1
352440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
353440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
354440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGI_swap_control
355440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGI_swap_control 1
356440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
357440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXSwapIntervalSGI (int);
358440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
359440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
360440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
361440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
362440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGI_video_sync
363440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGI_video_sync 1
364440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
365440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXGetVideoSyncSGI (unsigned int *);
366440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXWaitVideoSyncSGI (int, int, unsigned int *);
367440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
368440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count);
369440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count);
370440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
371440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
372440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGI_make_current_read
373440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGI_make_current_read 1
374440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
375440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Bool glXMakeCurrentReadSGI (Display *, GLXDrawable, GLXDrawable, GLXContext);
376440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXDrawable glXGetCurrentReadDrawableSGI (void);
377440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
378440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
379440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void);
380440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
381440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
382440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef _VL_H
383440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_video_source
384440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGIX_video_source 1
385440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
386440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *, int, VLServer, VLPath, int, VLNode);
387440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXDestroyGLXVideoSourceSGIX (Display *, GLXVideoSourceSGIX);
388440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
389440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
390440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource);
391440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
392440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
393440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* _VL_H */
394440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_EXT_visual_rating
395440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_EXT_visual_rating 1
396440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
397440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
398440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_EXT_import_context
399440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_EXT_import_context 1
400440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
401440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Display * glXGetCurrentDisplayEXT (void);
402440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXQueryContextInfoEXT (Display *, GLXContext, int, int *);
403440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXContextID glXGetContextIDEXT (GLXContext);
404440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXContext glXImportContextEXT (Display *, GLXContextID);
405440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXFreeContextEXT (Display *, GLXContext);
406440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
407440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void);
408440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value);
409440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (GLXContext context);
410440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID);
411440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context);
412440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
413440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
414440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_fbconfig
415440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGIX_fbconfig 1
416440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
417440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXGetFBConfigAttribSGIX (Display *, GLXFBConfigSGIX, int, int *);
418440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *, int, int *, int *);
419440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *, GLXFBConfigSGIX, Pixmap);
420440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXContext glXCreateContextWithConfigSGIX (Display *, GLXFBConfigSGIX, int, GLXContext, Bool);
421440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *, GLXFBConfigSGIX);
422440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *, XVisualInfo *);
423440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
424440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
425440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
426440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
427440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
428440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config);
429440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis);
430440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
431440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
432440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_pbuffer
433440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGIX_pbuffer 1
434440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
435440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *, GLXFBConfigSGIX, unsigned int, unsigned int, int *);
436440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXDestroyGLXPbufferSGIX (Display *, GLXPbufferSGIX);
437440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXQueryGLXPbufferSGIX (Display *, GLXPbufferSGIX, int, unsigned int *);
438440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXSelectEventSGIX (Display *, GLXDrawable, unsigned long);
439440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXGetSelectedEventSGIX (Display *, GLXDrawable, unsigned long *);
440440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
441440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
442440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf);
443440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
444440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask);
445440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask);
446440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
447440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
448440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGI_cushion
449440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGI_cushion 1
450440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
451440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXCushionSGI (Display *, Window, float);
452440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
453440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion);
454440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
455440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
456440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_video_resize
457440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGIX_video_resize 1
458440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
459440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXBindChannelToWindowSGIX (Display *, int, int, Window);
460440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXChannelRectSGIX (Display *, int, int, int, int, int, int);
461440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXQueryChannelRectSGIX (Display *, int, int, int *, int *, int *, int *);
462440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXQueryChannelDeltasSGIX (Display *, int, int, int *, int *, int *, int *);
463440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern int glXChannelRectSyncSGIX (Display *, int, int, GLenum);
464440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
465440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window);
466440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h);
467440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
468440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
469440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, int channel, GLenum synctype);
470440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
471440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
472440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef _DM_BUFFER_H_
473440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_dmbuffer
474440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGIX_dmbuffer 1
475440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
476440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Bool glXAssociateDMPbufferSGIX (Display *, GLXPbufferSGIX, DMparams *, DMbuffer);
477440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
478440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
479440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
480440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
481440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* _DM_BUFFER_H_ */
482440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_swap_group
483440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGIX_swap_group 1
484440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
485440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXJoinSwapGroupSGIX (Display *, GLXDrawable, GLXDrawable);
486440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
487440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);
488440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
489440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
490440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SGIX_swap_barrier
491440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SGIX_swap_barrier 1
492440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
493440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXBindSwapBarrierSGIX (Display *, GLXDrawable, int);
494440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Bool glXQueryMaxSwapBarriersSGIX (Display *, int, int *);
495440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
496440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);
497440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);
498440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
499440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
500440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_SUN_get_transparent_index
501440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_SUN_get_transparent_index 1
502440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
503440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Status glXGetTransparentIndexSUN (Display *, Window, Window, long *);
504440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
505440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex);
506440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
507440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
508440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_MESA_copy_sub_buffer
509440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MESA_copy_sub_buffer 1
510440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
511440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern void glXCopySubBufferMESA (Display *, GLXDrawable, int, int, int, int);
512440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
513440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
514440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
515440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
516440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_MESA_pixmap_colormap
517440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MESA_pixmap_colormap 1
518440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
519440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern GLXPixmap glXCreateGLXPixmapMESA (Display *, XVisualInfo *, Pixmap, Colormap);
520440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
521440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
522440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
523440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
524440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_MESA_release_buffers
525440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MESA_release_buffers 1
526440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
527440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Bool glXReleaseBuffersMESA (Display *, GLXDrawable);
528440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
529440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable);
530440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
531440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
532440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifndef GLX_MESA_set_3dfx_mode
533440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#define GLX_MESA_set_3dfx_mode 1
534440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef GLX_GLXEXT_PROTOTYPES
535440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppaextern Bool glXSet3DfxModeMESA (int);
536440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif /* GLX_GLXEXT_PROTOTYPES */
537440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppatypedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode);
538440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
539440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
540440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
541440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#ifdef __cplusplus
542440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa}
543440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
544440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
545440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa#endif
546440cd131cc05b3bf4c1bd6d23916f70d9cf16401Xoppa
547