Mercurial > mplayer.hg
annotate libvo/gl_compat.h @ 36384:e79bac50b920
Use correct types for constants.
Otherwise the compiler might insert a conversion from float
to double and back.
author | reimar |
---|---|
date | Sun, 20 Oct 2013 12:51:35 +0000 |
parents | 2b742d298c68 |
children | 61a9df2e25d0 |
rev | line source |
---|---|
35886
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
1 /* |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
2 * This file is part of MPlayer. |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
3 * |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
4 * MPlayer is free software; you can redistribute it and/or modify |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
6 * the Free Software Foundation; either version 2 of the License, or |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
7 * (at your option) any later version. |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
8 * |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
9 * MPlayer is distributed in the hope that it will be useful, |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
12 * GNU General Public License for more details. |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
13 * |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
14 * You should have received a copy of the GNU General Public License along |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
17 * |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
18 * You can alternatively redistribute this file and/or |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
19 * modify it under the terms of the GNU Lesser General Public |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
20 * License as published by the Free Software Foundation; either |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
21 * version 2.1 of the License, or (at your option) any later version. |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
22 */ |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
23 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
24 #ifndef MPLAYER_GL_COMPAT_H |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
25 #define MPLAYER_GL_COMPAT_H |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
26 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
27 // workaround for some gl.h headers |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
28 #ifndef GLAPIENTRY |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
29 #ifdef APIENTRY |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
30 #define GLAPIENTRY APIENTRY |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
31 #elif defined(CONFIG_GL_WIN32) |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
32 #define GLAPIENTRY __stdcall |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
33 #else |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
34 #define GLAPIENTRY |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
35 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
36 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
37 |
35888
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
38 // base OpenGL defines |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
39 #ifndef GL_NONE |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
40 #define GL_NONE 0 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
41 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
42 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
43 #ifndef GL_QUADS |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
44 #define GL_QUADS 0x0007 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
45 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
46 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
47 #ifndef GL_FRONT_LEFT |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
48 #define GL_FRONT_LEFT 0x0400 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
49 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
50 #ifndef GL_FRONT_RIGHT |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
51 #define GL_FRONT_RIGHT 0x0401 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
52 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
53 #ifndef GL_BACK_LEFT |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
54 #define GL_BACK_LEFT 0x0402 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
55 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
56 #ifndef GL_BACK_RIGHT |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
57 #define GL_BACK_RIGHT 0x0403 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
58 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
59 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
60 #ifndef GL_DRAW_BUFFER |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
61 #define GL_DRAW_BUFFER 0x0C01 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
62 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
63 #ifndef GL_UNPACK_ROW_LENGTH |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
64 #define GL_UNPACK_ROW_LENGTH 0x0CF2 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
65 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
66 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
67 #ifndef GL_TEXTURE_1D |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
68 #define GL_TEXTURE_1D 0x0DE0 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
69 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
70 #ifndef GL_TEXTURE_BORDER_COLOR |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
71 #define GL_TEXTURE_BORDER_COLOR 0x1004 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
72 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
73 #ifndef GL_COMPILE |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
74 #define GL_COMPILE 0x1300 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
75 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
76 #ifndef GL_CLAMP |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
77 #define GL_CLAMP 0x2900 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
78 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
79 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
80 #ifndef GL_INT |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
81 #define GL_INT 0x1404 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
82 #endif |
35889 | 83 #ifndef GL_UNSIGNED_INT |
84 #define GL_UNSIGNED_INT 0x1405 | |
85 #endif | |
35888
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
86 #ifndef GL_2_BYTES |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
87 #define GL_2_BYTES 0x1407 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
88 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
89 #ifndef GL_3_BYTES |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
90 #define GL_3_BYTES 0x1408 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
91 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
92 #ifndef GL_4_BYTES |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
93 #define GL_4_BYTES 0x1409 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
94 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
95 #ifndef GL_DOUBLE |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
96 #define GL_DOUBLE 0x140A |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
97 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
98 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
99 #ifndef GL_COLOR_INDEX |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
100 #define GL_COLOR_INDEX 0x1900 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
101 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
102 #ifndef GL_RED |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
103 #define GL_RED 0x1903 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
104 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
105 #ifndef GL_GREEN |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
106 #define GL_GREEN 0x1904 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
107 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
108 #ifndef GL_BLUE |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
109 #define GL_BLUE 0x1905 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
110 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
111 #ifndef GL_R3_G3_B2 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
112 #define GL_R3_G3_B2 0x2A10 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
113 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
114 #ifndef GL_LUMINANCE8 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
115 #define GL_LUMINANCE8 0x8040 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
116 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
117 #ifndef GL_RGB4 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
118 #define GL_RGB4 0x804F |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
119 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
120 #ifndef GL_RGB5 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
121 #define GL_RGB5 0x8050 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
122 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
123 #ifndef GL_RGB8 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
124 #define GL_RGB8 0x8051 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
125 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
126 #ifndef GL_RGB10 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
127 #define GL_RGB10 0x8052 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
128 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
129 #ifndef GL_RGB12 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
130 #define GL_RGB12 0x8053 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
131 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
132 #ifndef GL_RGB16 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
133 #define GL_RGB16 0x8054 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
134 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
135 #ifndef GL_RGBA2 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
136 #define GL_RGBA2 0x8055 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
137 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
138 #ifndef GL_RGBA4 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
139 #define GL_RGBA4 0x8056 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
140 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
141 #ifndef GL_RGB5_A1 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
142 #define GL_RGB5_A1 0x8057 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
143 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
144 #ifndef GL_RGBA8 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
145 #define GL_RGBA8 0x8058 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
146 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
147 #ifndef GL_RGB10_A2 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
148 #define GL_RGB10_A2 0x8059 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
149 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
150 #ifndef GL_RGBA12 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
151 #define GL_RGBA12 0x805A |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
152 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
153 #ifndef GL_RGBA16 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
154 #define GL_RGBA16 0x805B |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
155 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
156 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
157 #ifndef GL_TEXTURE_PRIORITY |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
158 #define GL_TEXTURE_PRIORITY 0x8066 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
159 #endif |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
160 |
f464ea910bd2
Better compatibility with more restricted GL headers.
reimar
parents:
35886
diff
changeset
|
161 |
35886
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
162 /** |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
163 * \defgroup glextdefines OpenGL extension defines |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
164 * |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
165 * conditionally define all extension defines used. |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
166 * vendor specific extensions should be marked as such |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
167 * (e.g. _NV), _ARB is not used to ease readability. |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
168 * \{ |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
169 */ |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
170 #ifndef GL_TEXTURE_3D |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
171 #define GL_TEXTURE_3D 0x806F |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
172 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
173 #ifndef GL_TEXTURE_WRAP_R |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
174 #define GL_TEXTURE_WRAP_R 0x8072 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
175 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
176 #ifndef GL_CLAMP_TO_EDGE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
177 #define GL_CLAMP_TO_EDGE 0x812F |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
178 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
179 #ifndef GL_GENERATE_MIPMAP |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
180 #define GL_GENERATE_MIPMAP 0x8191 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
181 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
182 #ifndef GL_TEXT_FRAGMENT_SHADER_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
183 #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
184 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
185 #ifndef GL_REGISTER_COMBINERS_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
186 #define GL_REGISTER_COMBINERS_NV 0x8522 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
187 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
188 #ifndef GL_MAX_GENERAL_COMBINERS_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
189 #define GL_MAX_GENERAL_COMBINERS_NV 0x854D |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
190 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
191 #ifndef GL_NUM_GENERAL_COMBINERS_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
192 #define GL_NUM_GENERAL_COMBINERS_NV 0x854E |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
193 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
194 #ifndef GL_CONSTANT_COLOR0_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
195 #define GL_CONSTANT_COLOR0_NV 0x852A |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
196 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
197 #ifndef GL_CONSTANT_COLOR1_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
198 #define GL_CONSTANT_COLOR1_NV 0x852B |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
199 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
200 #ifndef GL_COMBINER0_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
201 #define GL_COMBINER0_NV 0x8550 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
202 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
203 #ifndef GL_COMBINER1_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
204 #define GL_COMBINER1_NV 0x8551 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
205 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
206 #ifndef GL_VARIABLE_A_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
207 #define GL_VARIABLE_A_NV 0x8523 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
208 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
209 #ifndef GL_VARIABLE_B_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
210 #define GL_VARIABLE_B_NV 0x8524 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
211 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
212 #ifndef GL_VARIABLE_C_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
213 #define GL_VARIABLE_C_NV 0x8525 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
214 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
215 #ifndef GL_VARIABLE_D_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
216 #define GL_VARIABLE_D_NV 0x8526 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
217 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
218 #ifndef GL_UNSIGNED_INVERT_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
219 #define GL_UNSIGNED_INVERT_NV 0x8537 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
220 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
221 #ifndef GL_HALF_BIAS_NORMAL_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
222 #define GL_HALF_BIAS_NORMAL_NV 0x853A |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
223 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
224 #ifndef GL_SIGNED_IDENTITY_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
225 #define GL_SIGNED_IDENTITY_NV 0x853C |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
226 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
227 #ifndef GL_SCALE_BY_FOUR_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
228 #define GL_SCALE_BY_FOUR_NV 0x853F |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
229 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
230 #ifndef GL_DISCARD_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
231 #define GL_DISCARD_NV 0x8530 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
232 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
233 #ifndef GL_SPARE0_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
234 #define GL_SPARE0_NV 0x852E |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
235 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
236 #ifndef GL_FRAGMENT_SHADER_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
237 #define GL_FRAGMENT_SHADER_ATI 0x8920 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
238 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
239 #ifndef GL_NUM_FRAGMENT_REGISTERS_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
240 #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
241 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
242 #ifndef GL_REG_0_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
243 #define GL_REG_0_ATI 0x8921 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
244 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
245 #ifndef GL_REG_1_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
246 #define GL_REG_1_ATI 0x8922 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
247 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
248 #ifndef GL_REG_2_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
249 #define GL_REG_2_ATI 0x8923 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
250 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
251 #ifndef GL_CON_0_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
252 #define GL_CON_0_ATI 0x8941 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
253 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
254 #ifndef GL_CON_1_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
255 #define GL_CON_1_ATI 0x8942 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
256 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
257 #ifndef GL_CON_2_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
258 #define GL_CON_2_ATI 0x8943 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
259 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
260 #ifndef GL_CON_3_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
261 #define GL_CON_3_ATI 0x8944 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
262 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
263 #ifndef GL_ADD_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
264 #define GL_ADD_ATI 0x8963 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
265 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
266 #ifndef GL_MUL_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
267 #define GL_MUL_ATI 0x8964 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
268 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
269 #ifndef GL_MAD_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
270 #define GL_MAD_ATI 0x8968 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
271 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
272 #ifndef GL_SWIZZLE_STR_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
273 #define GL_SWIZZLE_STR_ATI 0x8976 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
274 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
275 #ifndef GL_4X_BIT_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
276 #define GL_4X_BIT_ATI 2 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
277 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
278 #ifndef GL_8X_BIT_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
279 #define GL_8X_BIT_ATI 4 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
280 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
281 #ifndef GL_BIAS_BIT_ATI |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
282 #define GL_BIAS_BIT_ATI 8 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
283 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
284 #ifndef GL_MAX_TEXTURE_UNITS |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
285 #define GL_MAX_TEXTURE_UNITS 0x84E2 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
286 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
287 #ifndef GL_TEXTURE0 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
288 #define GL_TEXTURE0 0x84C0 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
289 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
290 #ifndef GL_TEXTURE1 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
291 #define GL_TEXTURE1 0x84C1 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
292 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
293 #ifndef GL_TEXTURE2 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
294 #define GL_TEXTURE2 0x84C2 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
295 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
296 #ifndef GL_TEXTURE3 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
297 #define GL_TEXTURE3 0x84C3 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
298 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
299 #ifndef GL_TEXTURE_RECTANGLE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
300 #define GL_TEXTURE_RECTANGLE 0x84F5 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
301 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
302 #ifndef GL_PIXEL_UNPACK_BUFFER |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
303 #define GL_PIXEL_UNPACK_BUFFER 0x88EC |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
304 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
305 #ifndef GL_STREAM_DRAW |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
306 #define GL_STREAM_DRAW 0x88E0 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
307 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
308 #ifndef GL_DYNAMIC_DRAW |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
309 #define GL_DYNAMIC_DRAW 0x88E8 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
310 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
311 #ifndef GL_WRITE_ONLY |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
312 #define GL_WRITE_ONLY 0x88B9 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
313 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
314 #ifndef GL_BGR |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
315 #define GL_BGR 0x80E0 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
316 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
317 #ifndef GL_BGRA |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
318 #define GL_BGRA 0x80E1 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
319 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
320 #ifndef GL_UNSIGNED_BYTE_3_3_2 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
321 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
322 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
323 #ifndef GL_UNSIGNED_BYTE_2_3_3_REV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
324 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
325 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
326 #ifndef GL_UNSIGNED_SHORT_4_4_4_4 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
327 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
328 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
329 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
330 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
331 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
332 #ifndef GL_UNSIGNED_SHORT_5_6_5 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
333 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
334 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
335 #ifndef GL_UNSIGNED_INT_8_8_8_8 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
336 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
337 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
338 #ifndef GL_UNSIGNED_INT_8_8_8_8_REV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
339 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
340 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
341 #ifndef GL_UNSIGNED_SHORT_5_6_5_REV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
342 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
343 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
344 #ifndef GL_UNSIGNED_INT_10_10_10_2 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
345 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
346 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
347 #ifndef GL_UNSIGNED_INT_2_10_10_10_REV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
348 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
349 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
350 #ifndef GL_UNSIGNED_SHORT_5_5_5_1 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
351 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
352 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
353 #ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
354 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
355 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
356 #ifndef GL_UNSIGNED_SHORT_8_8 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
357 #define GL_UNSIGNED_SHORT_8_8 0x85BA |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
358 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
359 #ifndef GL_UNSIGNED_SHORT_8_8_REV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
360 #define GL_UNSIGNED_SHORT_8_8_REV 0x85BB |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
361 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
362 #ifndef GL_YCBCR_422_APPLE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
363 #define GL_YCBCR_422_APPLE 0x85B9 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
364 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
365 #ifndef GL_YCBCR_MESA |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
366 #define GL_YCBCR_MESA 0x8757 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
367 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
368 #ifndef GL_RGB32F |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
369 #define GL_RGB32F 0x8815 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
370 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
371 #ifndef GL_FLOAT_RGB32_NV |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
372 #define GL_FLOAT_RGB32_NV 0x8889 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
373 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
374 #ifndef GL_LUMINANCE16 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
375 #define GL_LUMINANCE16 0x8042 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
376 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
377 #ifndef GL_DEPTH_COMPONENT |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
378 #define GL_DEPTH_COMPONENT 0x1902 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
379 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
380 #ifndef GL_DEPTH_COMPONENT16 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
381 #define GL_DEPTH_COMPONENT16 0x81A5 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
382 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
383 #ifndef GL_TEXTURE_LUMINANCE_SIZE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
384 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
385 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
386 #ifndef GL_DEPTH_TEXTURE_MODE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
387 #define GL_DEPTH_TEXTURE_MODE 0x884B |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
388 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
389 #ifndef GL_TEXTURE_COMPARE_MODE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
390 #define GL_TEXTURE_COMPARE_MODE 0x884C |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
391 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
392 #ifndef GL_UNPACK_CLIENT_STORAGE_APPLE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
393 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
394 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
395 #ifndef GL_TEXTURE_STORAGE_HINT_APPLE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
396 #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
397 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
398 #ifndef GL_STORAGE_CACHED_APPLE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
399 #define GL_STORAGE_CACHED_APPLE 0x85BE |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
400 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
401 #ifndef GL_FRAGMENT_PROGRAM |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
402 #define GL_FRAGMENT_PROGRAM 0x8804 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
403 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
404 #ifndef GL_PROGRAM_FORMAT_ASCII |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
405 #define GL_PROGRAM_FORMAT_ASCII 0x8875 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
406 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
407 #ifndef GL_PROGRAM_ERROR_POSITION |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
408 #define GL_PROGRAM_ERROR_POSITION 0x864B |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
409 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
410 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
411 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
412 #endif |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
413 #ifndef GL_PROGRAM_ERROR_STRING |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
414 #define GL_PROGRAM_ERROR_STRING 0x8874 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
415 #endif |
36126 | 416 #ifndef GL_FRAGMENT_SHADER |
417 #define GL_FRAGMENT_SHADER 0x8B30 | |
418 #endif | |
419 #ifndef GL_VERTEX_SHADER | |
420 #define GL_VERTEX_SHADER 0x8B31 | |
421 #endif | |
36134 | 422 #ifndef GL_SHADER_TYPE |
423 #define GL_SHADER_TYPE 0x8B4F | |
424 #endif | |
36126 | 425 #ifndef GL_COMPILE_STATUS |
426 #define GL_COMPILE_STATUS 0x8B81 | |
427 #endif | |
428 #ifndef GL_LINK_STATUS | |
429 #define GL_LINK_STATUS 0x8B82 | |
430 #endif | |
35886
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
431 /** \} */ // end of glextdefines group |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
432 |
4921bccc0968
Split out defines for compatibility between different GL headers.
reimar
parents:
diff
changeset
|
433 #endif /* MPLAYER_GL_COMPAT_H */ |