summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkglext-gtk2/gdk/glext/glxext-extra.h
blob: 17a8c9ee56d46e3bc30ddb0f370795177ec85f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/* GdkGLExt - OpenGL Extension to GDK
 * Copyright (C) 2002-2004  Naofumi Yasufuku
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
 */

/*
 * Additional GLX extensions.
 */

#ifndef __glxext_extra_h_
#define __glxext_extra_h_

#ifdef __cplusplus
extern "C" {
#endif

#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
#endif

#ifndef APIENTRY
#define APIENTRY
#endif
#ifndef GLAPI
#define GLAPI extern
#endif

/*
 * 3DFX
 */

/*
 * ARB
 */

/*
 * EXT
 */

/* unknown */
#ifndef GLX_EXT_scene_marker
/*
#define GLX_SCENE_REQUIRED_EXT          0
*/
#endif

/* unknown */
#ifndef GLX_EXT_scene_marker
/* #define GLX_EXT_scene_marker 1 */
#endif

/*
 * MESA
 */

#ifndef GLX_MESA_agp_offset
#define GLX_MESA_agp_offset 1
#ifdef GLX_GLXEXT_PROTOTYPES
extern GLuint glXGetAGPOffsetMESA (const GLvoid *);
#endif /* GLX_GLXEXT_PROTOTYPES */
typedef GLuint ( * PFNGLXGETAGPOFFSETMESAPROC) (const GLvoid *pointer);
#endif

/*
 * NV
 */

#ifndef GLX_NV_float_buffer
#define GLX_FLOAT_COMPONENTS_NV         0x20B0
#endif

#ifndef GLX_NV_float_buffer
#define GLX_NV_float_buffer 1
#endif

#ifndef GLX_NV_vertex_array_range
#define GLX_NV_vertex_array_range 1
#ifdef GLX_GLXEXT_PROTOTYPES
extern void *glXAllocateMemoryNV (GLsizei, GLfloat, GLfloat, GLfloat);
extern void glXFreeMemoryNV (void *);
#endif /* GLX_GLXEXT_PROTOTYPES */
typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
typedef void ( * PFNGLXFREEMEMORYNVPROC) (void *pointer);
#endif

/*
 * OML
 */

/*
 * SGI
 */

/*
 * SGIS
 */

/* unknown */
#ifndef GLX_SGIS_color_range
/*
#define GLX_EXTENDED_RANGE_SGIS         0
#define GLX_MIN_RED_SGIS                0
#define GLX_MAX_RED_SGIS                0
#define GLX_MIN_GREEN_SGIS              0
#define GLX_MAX_GREEN_SGIS              0
#define GLX_MIN_BLUE_SGIS               0
#define GLX_MAX_BLUE_SGIS               0
#define GLX_MIN_ALPHA_SGIS              0
#define GLX_MAX_ALPHA_SGIS              0
*/
#endif

/* unknown */
#ifndef GLX_SGIS_color_range
/* #define GLX_SGIS_color_range 1 */
#endif

/*
 * SGIX
 */

/*
 * SUN
 */

#ifdef __cplusplus
}
#endif

#endif /* __glxext_extra_h_ */