1 /*
2  * Copyright (c) 2002-2008 LWJGL Project
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are
7  * met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  *   notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  *   notice, this list of conditions and the following disclaimer in the
14  *   documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of 'LWJGL' nor the names of
17  *   its contributors may be used to endorse or promote products derived
18  *   from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 package org.lwjgl.opengl;
33 
34 import org.lwjgl.util.generator.*;
35 import org.lwjgl.util.generator.opengl.*;
36 
37 import java.nio.*;
38 
39 /**
40  * The core OpenGL1.1 API.
41  *
42  * @author cix_foo <cix_foo@users.sourceforge.net>
43  * @version $Revision$
44  *          $Id$
45  */
46 @DeprecatedGL
47 public interface GL11 {
48 	/* AccumOp */
49 	int GL_ACCUM = 0x0100;
50 	int GL_LOAD = 0x0101;
51 	int GL_RETURN = 0x0102;
52 	int GL_MULT = 0x0103;
53 	int GL_ADD = 0x0104;
54 
55 	/* AlphaFunction */
56 	int GL_NEVER = 0x0200;
57 	int GL_LESS = 0x0201;
58 	int GL_EQUAL = 0x0202;
59 	int GL_LEQUAL = 0x0203;
60 	int GL_GREATER = 0x0204;
61 	int GL_NOTEQUAL = 0x0205;
62 	int GL_GEQUAL = 0x0206;
63 	int GL_ALWAYS = 0x0207;
64 
65 	/* AttribMask */
66 	int GL_CURRENT_BIT = 0x00000001;
67 	int GL_POINT_BIT = 0x00000002;
68 	int GL_LINE_BIT = 0x00000004;
69 	int GL_POLYGON_BIT = 0x00000008;
70 	int GL_POLYGON_STIPPLE_BIT = 0x00000010;
71 	int GL_PIXEL_MODE_BIT = 0x00000020;
72 	int GL_LIGHTING_BIT = 0x00000040;
73 	int GL_FOG_BIT = 0x00000080;
74 	int GL_DEPTH_BUFFER_BIT = 0x00000100;
75 	int GL_ACCUM_BUFFER_BIT = 0x00000200;
76 	int GL_STENCIL_BUFFER_BIT = 0x00000400;
77 	int GL_VIEWPORT_BIT = 0x00000800;
78 	int GL_TRANSFORM_BIT = 0x00001000;
79 	int GL_ENABLE_BIT = 0x00002000;
80 	int GL_COLOR_BUFFER_BIT = 0x00004000;
81 	int GL_HINT_BIT = 0x00008000;
82 	int GL_EVAL_BIT = 0x00010000;
83 	int GL_LIST_BIT = 0x00020000;
84 	int GL_TEXTURE_BIT = 0x00040000;
85 	int GL_SCISSOR_BIT = 0x00080000;
86 	int GL_ALL_ATTRIB_BITS = 0x000fffff;
87 
88 	/* BeginMode */
89 	int GL_POINTS = 0x0000;
90 	int GL_LINES = 0x0001;
91 	int GL_LINE_LOOP = 0x0002;
92 	int GL_LINE_STRIP = 0x0003;
93 	int GL_TRIANGLES = 0x0004;
94 	int GL_TRIANGLE_STRIP = 0x0005;
95 	int GL_TRIANGLE_FAN = 0x0006;
96 	int GL_QUADS = 0x0007;
97 	int GL_QUAD_STRIP = 0x0008;
98 	int GL_POLYGON = 0x0009;
99 
100 	/* BlendingFactorDest */
101 	int GL_ZERO = 0;
102 	int GL_ONE = 1;
103 	int GL_SRC_COLOR = 0x0300;
104 	int GL_ONE_MINUS_SRC_COLOR = 0x0301;
105 	int GL_SRC_ALPHA = 0x0302;
106 	int GL_ONE_MINUS_SRC_ALPHA = 0x0303;
107 	int GL_DST_ALPHA = 0x0304;
108 	int GL_ONE_MINUS_DST_ALPHA = 0x0305;
109 
110 	/* BlendingFactorSrc */
111 	/*      GL_ZERO */
112 	/*      GL_ONE */
113 	int GL_DST_COLOR = 0x0306;
114 	int GL_ONE_MINUS_DST_COLOR = 0x0307;
115 	int GL_SRC_ALPHA_SATURATE = 0x0308;
116 	int GL_CONSTANT_COLOR = 0x8001;
117 	int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
118 	int GL_CONSTANT_ALPHA = 0x8003;
119 	int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
120 
121 	/* Boolean */
122 	int GL_TRUE = 1;
123 	int GL_FALSE = 0;
124 
125 	/* ClipPlaneName */
126 	int GL_CLIP_PLANE0 = 0x3000;
127 	int GL_CLIP_PLANE1 = 0x3001;
128 	int GL_CLIP_PLANE2 = 0x3002;
129 	int GL_CLIP_PLANE3 = 0x3003;
130 	int GL_CLIP_PLANE4 = 0x3004;
131 	int GL_CLIP_PLANE5 = 0x3005;
132 
133 	/* DataType */
134 	int GL_BYTE = 0x1400;
135 	int GL_UNSIGNED_BYTE = 0x1401;
136 	int GL_SHORT = 0x1402;
137 	int GL_UNSIGNED_SHORT = 0x1403;
138 	int GL_INT = 0x1404;
139 	int GL_UNSIGNED_INT = 0x1405;
140 	int GL_FLOAT = 0x1406;
141 	int GL_2_BYTES = 0x1407;
142 	int GL_3_BYTES = 0x1408;
143 	int GL_4_BYTES = 0x1409;
144 	int GL_DOUBLE = 0x140A;
145 
146 	/* DrawBufferMode */
147 	int GL_NONE = 0;
148 	int GL_FRONT_LEFT = 0x0400;
149 	int GL_FRONT_RIGHT = 0x0401;
150 	int GL_BACK_LEFT = 0x0402;
151 	int GL_BACK_RIGHT = 0x0403;
152 	int GL_FRONT = 0x0404;
153 	int GL_BACK = 0x0405;
154 	int GL_LEFT = 0x0406;
155 	int GL_RIGHT = 0x0407;
156 	int GL_FRONT_AND_BACK = 0x0408;
157 	int GL_AUX0 = 0x0409;
158 	int GL_AUX1 = 0x040A;
159 	int GL_AUX2 = 0x040B;
160 	int GL_AUX3 = 0x040C;
161 
162 	/* ErrorCode */
163 	int GL_NO_ERROR = 0;
164 	int GL_INVALID_ENUM = 0x0500;
165 	int GL_INVALID_VALUE = 0x0501;
166 	int GL_INVALID_OPERATION = 0x0502;
167 	int GL_STACK_OVERFLOW = 0x0503;
168 	int GL_STACK_UNDERFLOW = 0x0504;
169 	int GL_OUT_OF_MEMORY = 0x0505;
170 
171 	/* FeedBackMode */
172 	int GL_2D = 0x0600;
173 	int GL_3D = 0x0601;
174 	int GL_3D_COLOR = 0x0602;
175 	int GL_3D_COLOR_TEXTURE = 0x0603;
176 	int GL_4D_COLOR_TEXTURE = 0x0604;
177 
178 	/* FeedBackToken */
179 	int GL_PASS_THROUGH_TOKEN = 0x0700;
180 	int GL_POINT_TOKEN = 0x0701;
181 	int GL_LINE_TOKEN = 0x0702;
182 	int GL_POLYGON_TOKEN = 0x0703;
183 	int GL_BITMAP_TOKEN = 0x0704;
184 	int GL_DRAW_PIXEL_TOKEN = 0x0705;
185 	int GL_COPY_PIXEL_TOKEN = 0x0706;
186 	int GL_LINE_RESET_TOKEN = 0x0707;
187 
188 	/* FogMode */
189 	/*      GL_LINEAR */
190 	int GL_EXP = 0x0800;
191 	int GL_EXP2 = 0x0801;
192 
193 	/* FrontFaceDirection */
194 	int GL_CW = 0x0900;
195 	int GL_CCW = 0x0901;
196 
197 	/* GetMapTarget */
198 	int GL_COEFF = 0x0A00;
199 	int GL_ORDER = 0x0A01;
200 	int GL_DOMAIN = 0x0A02;
201 
202 	/* GetTarget */
203 	int GL_CURRENT_COLOR = 0x0B00;
204 	int GL_CURRENT_INDEX = 0x0B01;
205 	int GL_CURRENT_NORMAL = 0x0B02;
206 	int GL_CURRENT_TEXTURE_COORDS = 0x0B03;
207 	int GL_CURRENT_RASTER_COLOR = 0x0B04;
208 	int GL_CURRENT_RASTER_INDEX = 0x0B05;
209 	int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
210 	int GL_CURRENT_RASTER_POSITION = 0x0B07;
211 	int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08;
212 	int GL_CURRENT_RASTER_DISTANCE = 0x0B09;
213 	int GL_POINT_SMOOTH = 0x0B10;
214 	int GL_POINT_SIZE = 0x0B11;
215 	int GL_POINT_SIZE_RANGE = 0x0B12;
216 	int GL_POINT_SIZE_GRANULARITY = 0x0B13;
217 	int GL_LINE_SMOOTH = 0x0B20;
218 	int GL_LINE_WIDTH = 0x0B21;
219 	int GL_LINE_WIDTH_RANGE = 0x0B22;
220 	int GL_LINE_WIDTH_GRANULARITY = 0x0B23;
221 	int GL_LINE_STIPPLE = 0x0B24;
222 	int GL_LINE_STIPPLE_PATTERN = 0x0B25;
223 	int GL_LINE_STIPPLE_REPEAT = 0x0B26;
224 	int GL_LIST_MODE = 0x0B30;
225 	int GL_MAX_LIST_NESTING = 0x0B31;
226 	int GL_LIST_BASE = 0x0B32;
227 	int GL_LIST_INDEX = 0x0B33;
228 	int GL_POLYGON_MODE = 0x0B40;
229 	int GL_POLYGON_SMOOTH = 0x0B41;
230 	int GL_POLYGON_STIPPLE = 0x0B42;
231 	int GL_EDGE_FLAG = 0x0B43;
232 	int GL_CULL_FACE = 0x0B44;
233 	int GL_CULL_FACE_MODE = 0x0B45;
234 	int GL_FRONT_FACE = 0x0B46;
235 	int GL_LIGHTING = 0x0B50;
236 	int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
237 	int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
238 	int GL_LIGHT_MODEL_AMBIENT = 0x0B53;
239 	int GL_SHADE_MODEL = 0x0B54;
240 	int GL_COLOR_MATERIAL_FACE = 0x0B55;
241 	int GL_COLOR_MATERIAL_PARAMETER = 0x0B56;
242 	int GL_COLOR_MATERIAL = 0x0B57;
243 	int GL_FOG = 0x0B60;
244 	int GL_FOG_INDEX = 0x0B61;
245 	int GL_FOG_DENSITY = 0x0B62;
246 	int GL_FOG_START = 0x0B63;
247 	int GL_FOG_END = 0x0B64;
248 	int GL_FOG_MODE = 0x0B65;
249 	int GL_FOG_COLOR = 0x0B66;
250 	int GL_DEPTH_RANGE = 0x0B70;
251 	int GL_DEPTH_TEST = 0x0B71;
252 	int GL_DEPTH_WRITEMASK = 0x0B72;
253 	int GL_DEPTH_CLEAR_VALUE = 0x0B73;
254 	int GL_DEPTH_FUNC = 0x0B74;
255 	int GL_ACCUM_CLEAR_VALUE = 0x0B80;
256 	int GL_STENCIL_TEST = 0x0B90;
257 	int GL_STENCIL_CLEAR_VALUE = 0x0B91;
258 	int GL_STENCIL_FUNC = 0x0B92;
259 	int GL_STENCIL_VALUE_MASK = 0x0B93;
260 	int GL_STENCIL_FAIL = 0x0B94;
261 	int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
262 	int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
263 	int GL_STENCIL_REF = 0x0B97;
264 	int GL_STENCIL_WRITEMASK = 0x0B98;
265 	int GL_MATRIX_MODE = 0x0BA0;
266 	int GL_NORMALIZE = 0x0BA1;
267 	int GL_VIEWPORT = 0x0BA2;
268 	int GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
269 	int GL_PROJECTION_STACK_DEPTH = 0x0BA4;
270 	int GL_TEXTURE_STACK_DEPTH = 0x0BA5;
271 	int GL_MODELVIEW_MATRIX = 0x0BA6;
272 	int GL_PROJECTION_MATRIX = 0x0BA7;
273 	int GL_TEXTURE_MATRIX = 0x0BA8;
274 	int GL_ATTRIB_STACK_DEPTH = 0x0BB0;
275 	int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
276 	int GL_ALPHA_TEST = 0x0BC0;
277 	int GL_ALPHA_TEST_FUNC = 0x0BC1;
278 	int GL_ALPHA_TEST_REF = 0x0BC2;
279 	int GL_DITHER = 0x0BD0;
280 	int GL_BLEND_DST = 0x0BE0;
281 	int GL_BLEND_SRC = 0x0BE1;
282 	int GL_BLEND = 0x0BE2;
283 	int GL_LOGIC_OP_MODE = 0x0BF0;
284 	int GL_INDEX_LOGIC_OP = 0x0BF1;
285 	int GL_COLOR_LOGIC_OP = 0x0BF2;
286 	int GL_AUX_BUFFERS = 0x0C00;
287 	int GL_DRAW_BUFFER = 0x0C01;
288 	int GL_READ_BUFFER = 0x0C02;
289 	int GL_SCISSOR_BOX = 0x0C10;
290 	int GL_SCISSOR_TEST = 0x0C11;
291 	int GL_INDEX_CLEAR_VALUE = 0x0C20;
292 	int GL_INDEX_WRITEMASK = 0x0C21;
293 	int GL_COLOR_CLEAR_VALUE = 0x0C22;
294 	int GL_COLOR_WRITEMASK = 0x0C23;
295 	int GL_INDEX_MODE = 0x0C30;
296 	int GL_RGBA_MODE = 0x0C31;
297 	int GL_DOUBLEBUFFER = 0x0C32;
298 	int GL_STEREO = 0x0C33;
299 	int GL_RENDER_MODE = 0x0C40;
300 	int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
301 	int GL_POINT_SMOOTH_HINT = 0x0C51;
302 	int GL_LINE_SMOOTH_HINT = 0x0C52;
303 	int GL_POLYGON_SMOOTH_HINT = 0x0C53;
304 	int GL_FOG_HINT = 0x0C54;
305 	int GL_TEXTURE_GEN_S = 0x0C60;
306 	int GL_TEXTURE_GEN_T = 0x0C61;
307 	int GL_TEXTURE_GEN_R = 0x0C62;
308 	int GL_TEXTURE_GEN_Q = 0x0C63;
309 	int GL_PIXEL_MAP_I_TO_I = 0x0C70;
310 	int GL_PIXEL_MAP_S_TO_S = 0x0C71;
311 	int GL_PIXEL_MAP_I_TO_R = 0x0C72;
312 	int GL_PIXEL_MAP_I_TO_G = 0x0C73;
313 	int GL_PIXEL_MAP_I_TO_B = 0x0C74;
314 	int GL_PIXEL_MAP_I_TO_A = 0x0C75;
315 	int GL_PIXEL_MAP_R_TO_R = 0x0C76;
316 	int GL_PIXEL_MAP_G_TO_G = 0x0C77;
317 	int GL_PIXEL_MAP_B_TO_B = 0x0C78;
318 	int GL_PIXEL_MAP_A_TO_A = 0x0C79;
319 	int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
320 	int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
321 	int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
322 	int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
323 	int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
324 	int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
325 	int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
326 	int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
327 	int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
328 	int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
329 	int GL_UNPACK_SWAP_BYTES = 0x0CF0;
330 	int GL_UNPACK_LSB_FIRST = 0x0CF1;
331 	int GL_UNPACK_ROW_LENGTH = 0x0CF2;
332 	int GL_UNPACK_SKIP_ROWS = 0x0CF3;
333 	int GL_UNPACK_SKIP_PIXELS = 0x0CF4;
334 	int GL_UNPACK_ALIGNMENT = 0x0CF5;
335 	int GL_PACK_SWAP_BYTES = 0x0D00;
336 	int GL_PACK_LSB_FIRST = 0x0D01;
337 	int GL_PACK_ROW_LENGTH = 0x0D02;
338 	int GL_PACK_SKIP_ROWS = 0x0D03;
339 	int GL_PACK_SKIP_PIXELS = 0x0D04;
340 	int GL_PACK_ALIGNMENT = 0x0D05;
341 	int GL_MAP_COLOR = 0x0D10;
342 	int GL_MAP_STENCIL = 0x0D11;
343 	int GL_INDEX_SHIFT = 0x0D12;
344 	int GL_INDEX_OFFSET = 0x0D13;
345 	int GL_RED_SCALE = 0x0D14;
346 	int GL_RED_BIAS = 0x0D15;
347 	int GL_ZOOM_X = 0x0D16;
348 	int GL_ZOOM_Y = 0x0D17;
349 	int GL_GREEN_SCALE = 0x0D18;
350 	int GL_GREEN_BIAS = 0x0D19;
351 	int GL_BLUE_SCALE = 0x0D1A;
352 	int GL_BLUE_BIAS = 0x0D1B;
353 	int GL_ALPHA_SCALE = 0x0D1C;
354 	int GL_ALPHA_BIAS = 0x0D1D;
355 	int GL_DEPTH_SCALE = 0x0D1E;
356 	int GL_DEPTH_BIAS = 0x0D1F;
357 	int GL_MAX_EVAL_ORDER = 0x0D30;
358 	int GL_MAX_LIGHTS = 0x0D31;
359 	int GL_MAX_CLIP_PLANES = 0x0D32;
360 	int GL_MAX_TEXTURE_SIZE = 0x0D33;
361 	int GL_MAX_PIXEL_MAP_TABLE = 0x0D34;
362 	int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35;
363 	int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
364 	int GL_MAX_NAME_STACK_DEPTH = 0x0D37;
365 	int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
366 	int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
367 	int GL_MAX_VIEWPORT_DIMS = 0x0D3A;
368 	int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
369 	int GL_SUBPIXEL_BITS = 0x0D50;
370 	int GL_INDEX_BITS = 0x0D51;
371 	int GL_RED_BITS = 0x0D52;
372 	int GL_GREEN_BITS = 0x0D53;
373 	int GL_BLUE_BITS = 0x0D54;
374 	int GL_ALPHA_BITS = 0x0D55;
375 	int GL_DEPTH_BITS = 0x0D56;
376 	int GL_STENCIL_BITS = 0x0D57;
377 	int GL_ACCUM_RED_BITS = 0x0D58;
378 	int GL_ACCUM_GREEN_BITS = 0x0D59;
379 	int GL_ACCUM_BLUE_BITS = 0x0D5A;
380 	int GL_ACCUM_ALPHA_BITS = 0x0D5B;
381 	int GL_NAME_STACK_DEPTH = 0x0D70;
382 	int GL_AUTO_NORMAL = 0x0D80;
383 	int GL_MAP1_COLOR_4 = 0x0D90;
384 	int GL_MAP1_INDEX = 0x0D91;
385 	int GL_MAP1_NORMAL = 0x0D92;
386 	int GL_MAP1_TEXTURE_COORD_1 = 0x0D93;
387 	int GL_MAP1_TEXTURE_COORD_2 = 0x0D94;
388 	int GL_MAP1_TEXTURE_COORD_3 = 0x0D95;
389 	int GL_MAP1_TEXTURE_COORD_4 = 0x0D96;
390 	int GL_MAP1_VERTEX_3 = 0x0D97;
391 	int GL_MAP1_VERTEX_4 = 0x0D98;
392 	int GL_MAP2_COLOR_4 = 0x0DB0;
393 	int GL_MAP2_INDEX = 0x0DB1;
394 	int GL_MAP2_NORMAL = 0x0DB2;
395 	int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3;
396 	int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4;
397 	int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5;
398 	int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6;
399 	int GL_MAP2_VERTEX_3 = 0x0DB7;
400 	int GL_MAP2_VERTEX_4 = 0x0DB8;
401 	int GL_MAP1_GRID_DOMAIN = 0x0DD0;
402 	int GL_MAP1_GRID_SEGMENTS = 0x0DD1;
403 	int GL_MAP2_GRID_DOMAIN = 0x0DD2;
404 	int GL_MAP2_GRID_SEGMENTS = 0x0DD3;
405 	int GL_TEXTURE_1D = 0x0DE0;
406 	int GL_TEXTURE_2D = 0x0DE1;
407 	int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0;
408 	int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1;
409 	int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2;
410 	int GL_SELECTION_BUFFER_POINTER = 0x0DF3;
411 	int GL_SELECTION_BUFFER_SIZE = 0x0DF4;
412 
413 	/* GetTextureParameter */
414 	/*      GL_TEXTURE_MAG_FILTER */
415 	/*      GL_TEXTURE_MIN_FILTER */
416 	/*      GL_TEXTURE_WRAP_S */
417 	/*      GL_TEXTURE_WRAP_T */
418 	int GL_TEXTURE_WIDTH = 0x1000;
419 	int GL_TEXTURE_HEIGHT = 0x1001;
420 	int GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
421 	int GL_TEXTURE_BORDER_COLOR = 0x1004;
422 	int GL_TEXTURE_BORDER = 0x1005;
423 	/*      GL_TEXTURE_RED_SIZE */
424 	/*      GL_TEXTURE_GREEN_SIZE */
425 	/*      GL_TEXTURE_BLUE_SIZE */
426 	/*      GL_TEXTURE_ALPHA_SIZE */
427 	/*      GL_TEXTURE_LUMINANCE_SIZE */
428 	/*      GL_TEXTURE_INTENSITY_SIZE */
429 	/*      GL_TEXTURE_PRIORITY */
430 	/*      GL_TEXTURE_RESIDENT */
431 
432 	/* HintMode */
433 	int GL_DONT_CARE = 0x1100;
434 	int GL_FASTEST = 0x1101;
435 	int GL_NICEST = 0x1102;
436 
437 	/* LightName */
438 	int GL_LIGHT0 = 0x4000;
439 	int GL_LIGHT1 = 0x4001;
440 	int GL_LIGHT2 = 0x4002;
441 	int GL_LIGHT3 = 0x4003;
442 	int GL_LIGHT4 = 0x4004;
443 	int GL_LIGHT5 = 0x4005;
444 	int GL_LIGHT6 = 0x4006;
445 	int GL_LIGHT7 = 0x4007;
446 
447 	/* LightParameter */
448 	int GL_AMBIENT = 0x1200;
449 	int GL_DIFFUSE = 0x1201;
450 	int GL_SPECULAR = 0x1202;
451 	int GL_POSITION = 0x1203;
452 	int GL_SPOT_DIRECTION = 0x1204;
453 	int GL_SPOT_EXPONENT = 0x1205;
454 	int GL_SPOT_CUTOFF = 0x1206;
455 	int GL_CONSTANT_ATTENUATION = 0x1207;
456 	int GL_LINEAR_ATTENUATION = 0x1208;
457 	int GL_QUADRATIC_ATTENUATION = 0x1209;
458 
459 	/* ListMode */
460 	int GL_COMPILE = 0x1300;
461 	int GL_COMPILE_AND_EXECUTE = 0x1301;
462 
463 	/* LogicOp */
464 	int GL_CLEAR = 0x1500;
465 	int GL_AND = 0x1501;
466 	int GL_AND_REVERSE = 0x1502;
467 	int GL_COPY = 0x1503;
468 	int GL_AND_INVERTED = 0x1504;
469 	int GL_NOOP = 0x1505;
470 	int GL_XOR = 0x1506;
471 	int GL_OR = 0x1507;
472 	int GL_NOR = 0x1508;
473 	int GL_EQUIV = 0x1509;
474 	int GL_INVERT = 0x150A;
475 	int GL_OR_REVERSE = 0x150B;
476 	int GL_COPY_INVERTED = 0x150C;
477 	int GL_OR_INVERTED = 0x150D;
478 	int GL_NAND = 0x150E;
479 	int GL_SET = 0x150F;
480 
481 	/* MaterialParameter */
482 	int GL_EMISSION = 0x1600;
483 	int GL_SHININESS = 0x1601;
484 	int GL_AMBIENT_AND_DIFFUSE = 0x1602;
485 	int GL_COLOR_INDEXES = 0x1603;
486 	/*      GL_AMBIENT */
487 	/*      GL_DIFFUSE */
488 	/*      GL_SPECULAR */
489 
490 	/* MatrixMode */
491 	int GL_MODELVIEW = 0x1700;
492 	int GL_PROJECTION = 0x1701;
493 	int GL_TEXTURE = 0x1702;
494 
495 	/* PixelCopyType */
496 	int GL_COLOR = 0x1800;
497 	int GL_DEPTH = 0x1801;
498 	int GL_STENCIL = 0x1802;
499 
500 	/* PixelFormat */
501 	int GL_COLOR_INDEX = 0x1900;
502 	int GL_STENCIL_INDEX = 0x1901;
503 	int GL_DEPTH_COMPONENT = 0x1902;
504 	int GL_RED = 0x1903;
505 	int GL_GREEN = 0x1904;
506 	int GL_BLUE = 0x1905;
507 	int GL_ALPHA = 0x1906;
508 	int GL_RGB = 0x1907;
509 	int GL_RGBA = 0x1908;
510 	int GL_LUMINANCE = 0x1909;
511 	int GL_LUMINANCE_ALPHA = 0x190A;
512 
513 	/* PixelType */
514 	int GL_BITMAP = 0x1A00;
515 	/*      GL_BYTE */
516 	/*      GL_UNSIGNED_BYTE */
517 	/*      GL_SHORT */
518 	/*      GL_UNSIGNED_SHORT */
519 	/*      GL_INT */
520 	/*      GL_UNSIGNED_INT */
521 	/*      GL_FLOAT */
522 
523 	/* PolygonMode */
524 	int GL_POINT = 0x1B00;
525 	int GL_LINE = 0x1B01;
526 	int GL_FILL = 0x1B02;
527 
528 	/* RenderingMode */
529 	int GL_RENDER = 0x1C00;
530 	int GL_FEEDBACK = 0x1C01;
531 	int GL_SELECT = 0x1C02;
532 
533 	/* ShadingModel */
534 	int GL_FLAT = 0x1D00;
535 	int GL_SMOOTH = 0x1D01;
536 
537 	/* StencilOp */
538 	/*      GL_ZERO */
539 	int GL_KEEP = 0x1E00;
540 	int GL_REPLACE = 0x1E01;
541 	int GL_INCR = 0x1E02;
542 	int GL_DECR = 0x1E03;
543 	/*      GL_INVERT */
544 
545 	/* StringName */
546 	int GL_VENDOR = 0x1F00;
547 	int GL_RENDERER = 0x1F01;
548 	int GL_VERSION = 0x1F02;
549 	int GL_EXTENSIONS = 0x1F03;
550 
551 	/* TextureCoordName */
552 	int GL_S = 0x2000;
553 	int GL_T = 0x2001;
554 	int GL_R = 0x2002;
555 	int GL_Q = 0x2003;
556 
557 	/* TexCoordPointerType */
558 	/*      GL_SHORT */
559 	/*      GL_INT */
560 	/*      GL_FLOAT */
561 	/*      GL_DOUBLE */
562 
563 	/* TextureEnvMode */
564 	int GL_MODULATE = 0x2100;
565 	int GL_DECAL = 0x2101;
566 	/*      GL_BLEND */
567 	/*      GL_REPLACE */
568 
569 	/* TextureEnvParameter */
570 	int GL_TEXTURE_ENV_MODE = 0x2200;
571 	int GL_TEXTURE_ENV_COLOR = 0x2201;
572 
573 	/* TextureEnvTarget */
574 	int GL_TEXTURE_ENV = 0x2300;
575 
576 	/* TextureGenMode */
577 	int GL_EYE_LINEAR = 0x2400;
578 	int GL_OBJECT_LINEAR = 0x2401;
579 	int GL_SPHERE_MAP = 0x2402;
580 
581 	/* TextureGenParameter */
582 	int GL_TEXTURE_GEN_MODE = 0x2500;
583 	int GL_OBJECT_PLANE = 0x2501;
584 	int GL_EYE_PLANE = 0x2502;
585 
586 	/* TextureMagFilter */
587 	int GL_NEAREST = 0x2600;
588 	int GL_LINEAR = 0x2601;
589 
590 	/* TextureMinFilter */
591 	/*      GL_NEAREST */
592 	/*      GL_LINEAR */
593 	int GL_NEAREST_MIPMAP_NEAREST = 0x2700;
594 	int GL_LINEAR_MIPMAP_NEAREST = 0x2701;
595 	int GL_NEAREST_MIPMAP_LINEAR = 0x2702;
596 	int GL_LINEAR_MIPMAP_LINEAR = 0x2703;
597 
598 	/* TextureParameterName */
599 	int GL_TEXTURE_MAG_FILTER = 0x2800;
600 	int GL_TEXTURE_MIN_FILTER = 0x2801;
601 	int GL_TEXTURE_WRAP_S = 0x2802;
602 	int GL_TEXTURE_WRAP_T = 0x2803;
603 	/*      GL_TEXTURE_BORDER_COLOR */
604 	/*      GL_TEXTURE_PRIORITY */
605 
606 	/* TextureWrapMode */
607 	int GL_CLAMP = 0x2900;
608 	int GL_REPEAT = 0x2901;
609 
610 	/* ClientAttribMask */
611 	int GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
612 	int GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
613 	int GL_ALL_CLIENT_ATTRIB_BITS = 0xffffffff;
614 
615 	/* polygon_offset */
616 	int GL_POLYGON_OFFSET_FACTOR = 0x8038;
617 	int GL_POLYGON_OFFSET_UNITS = 0x2A00;
618 	int GL_POLYGON_OFFSET_POINT = 0x2A01;
619 	int GL_POLYGON_OFFSET_LINE = 0x2A02;
620 	int GL_POLYGON_OFFSET_FILL = 0x8037;
621 
622 	/* texture */
623 	int GL_ALPHA4 = 0x803B;
624 	int GL_ALPHA8 = 0x803C;
625 	int GL_ALPHA12 = 0x803D;
626 	int GL_ALPHA16 = 0x803E;
627 	int GL_LUMINANCE4 = 0x803F;
628 	int GL_LUMINANCE8 = 0x8040;
629 	int GL_LUMINANCE12 = 0x8041;
630 	int GL_LUMINANCE16 = 0x8042;
631 	int GL_LUMINANCE4_ALPHA4 = 0x8043;
632 	int GL_LUMINANCE6_ALPHA2 = 0x8044;
633 	int GL_LUMINANCE8_ALPHA8 = 0x8045;
634 	int GL_LUMINANCE12_ALPHA4 = 0x8046;
635 	int GL_LUMINANCE12_ALPHA12 = 0x8047;
636 	int GL_LUMINANCE16_ALPHA16 = 0x8048;
637 	int GL_INTENSITY = 0x8049;
638 	int GL_INTENSITY4 = 0x804A;
639 	int GL_INTENSITY8 = 0x804B;
640 	int GL_INTENSITY12 = 0x804C;
641 	int GL_INTENSITY16 = 0x804D;
642 	int GL_R3_G3_B2 = 0x2A10;
643 	int GL_RGB4 = 0x804F;
644 	int GL_RGB5 = 0x8050;
645 	int GL_RGB8 = 0x8051;
646 	int GL_RGB10 = 0x8052;
647 	int GL_RGB12 = 0x8053;
648 	int GL_RGB16 = 0x8054;
649 	int GL_RGBA2 = 0x8055;
650 	int GL_RGBA4 = 0x8056;
651 	int GL_RGB5_A1 = 0x8057;
652 	int GL_RGBA8 = 0x8058;
653 	int GL_RGB10_A2 = 0x8059;
654 	int GL_RGBA12 = 0x805A;
655 	int GL_RGBA16 = 0x805B;
656 	int GL_TEXTURE_RED_SIZE = 0x805C;
657 	int GL_TEXTURE_GREEN_SIZE = 0x805D;
658 	int GL_TEXTURE_BLUE_SIZE = 0x805E;
659 	int GL_TEXTURE_ALPHA_SIZE = 0x805F;
660 	int GL_TEXTURE_LUMINANCE_SIZE = 0x8060;
661 	int GL_TEXTURE_INTENSITY_SIZE = 0x8061;
662 	int GL_PROXY_TEXTURE_1D = 0x8063;
663 	int GL_PROXY_TEXTURE_2D = 0x8064;
664 
665 	/* texture_object */
666 	int GL_TEXTURE_PRIORITY = 0x8066;
667 	int GL_TEXTURE_RESIDENT = 0x8067;
668 	int GL_TEXTURE_BINDING_1D = 0x8068;
669 	int GL_TEXTURE_BINDING_2D = 0x8069;
670 
671 	/* vertex_array */
672 	int GL_VERTEX_ARRAY = 0x8074;
673 	int GL_NORMAL_ARRAY = 0x8075;
674 	int GL_COLOR_ARRAY = 0x8076;
675 	int GL_INDEX_ARRAY = 0x8077;
676 	int GL_TEXTURE_COORD_ARRAY = 0x8078;
677 	int GL_EDGE_FLAG_ARRAY = 0x8079;
678 	int GL_VERTEX_ARRAY_SIZE = 0x807A;
679 	int GL_VERTEX_ARRAY_TYPE = 0x807B;
680 	int GL_VERTEX_ARRAY_STRIDE = 0x807C;
681 	int GL_NORMAL_ARRAY_TYPE = 0x807E;
682 	int GL_NORMAL_ARRAY_STRIDE = 0x807F;
683 	int GL_COLOR_ARRAY_SIZE = 0x8081;
684 	int GL_COLOR_ARRAY_TYPE = 0x8082;
685 	int GL_COLOR_ARRAY_STRIDE = 0x8083;
686 	int GL_INDEX_ARRAY_TYPE = 0x8085;
687 	int GL_INDEX_ARRAY_STRIDE = 0x8086;
688 	int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
689 	int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
690 	int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
691 	int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C;
692 	int GL_VERTEX_ARRAY_POINTER = 0x808E;
693 	int GL_NORMAL_ARRAY_POINTER = 0x808F;
694 	int GL_COLOR_ARRAY_POINTER = 0x8090;
695 	int GL_INDEX_ARRAY_POINTER = 0x8091;
696 	int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
697 	int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093;
698 	int GL_V2F = 0x2A20;
699 	int GL_V3F = 0x2A21;
700 	int GL_C4UB_V2F = 0x2A22;
701 	int GL_C4UB_V3F = 0x2A23;
702 	int GL_C3F_V3F = 0x2A24;
703 	int GL_N3F_V3F = 0x2A25;
704 	int GL_C4F_N3F_V3F = 0x2A26;
705 	int GL_T2F_V3F = 0x2A27;
706 	int GL_T4F_V4F = 0x2A28;
707 	int GL_T2F_C4UB_V3F = 0x2A29;
708 	int GL_T2F_C3F_V3F = 0x2A2A;
709 	int GL_T2F_N3F_V3F = 0x2A2B;
710 	int GL_T2F_C4F_N3F_V3F = 0x2A2C;
711 	int GL_T4F_C4F_N3F_V4F = 0x2A2D;
712 
713 	/* For compatibility with OpenGL v1.0 */
714 	int GL_LOGIC_OP = GL_INDEX_LOGIC_OP;
715 	int GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT;
716 
717 	@DeprecatedGL
glAccum(@Lenum int op, float value)718 	void glAccum(@GLenum int op, float value);
719 
720 	@DeprecatedGL
glAlphaFunc(@Lenum int func, float ref)721 	void glAlphaFunc(@GLenum int func, float ref);
722 
glClearColor(float red, float green, float blue, float alpha)723 	void glClearColor(float red, float green, float blue, float alpha);
724 
725 	@DeprecatedGL
glClearAccum(float red, float green, float blue, float alpha)726 	void glClearAccum(float red, float green, float blue, float alpha);
727 
glClear(@Lbitfield int mask)728 	void glClear(@GLbitfield int mask);
729 
730 	@DeprecatedGL
glCallLists(@utoSizeR) @Lsizei int n, @AutoType(R) @GLenum int type, @Const @GLubyte @GLushort @GLuint Buffer lists)731 	void glCallLists(@AutoSize("lists") @GLsizei int n, @AutoType("lists") @GLenum int type,
732 	                 @Const
733 	                 @GLubyte
734 	                 @GLushort
735 	                 @GLuint Buffer lists);
736 
737 	@DeprecatedGL
glCallList(@Luint int list)738 	void glCallList(@GLuint int list);
739 
glBlendFunc(@Lenum int sfactor, @GLenum int dfactor)740 	void glBlendFunc(@GLenum int sfactor, @GLenum int dfactor);
741 
742 	@DeprecatedGL
glBitmap(@Lsizei int width, @GLsizei int height, float xorig, float yorig, float xmove, float ymove, @BufferObject(BufferKind.UnpackPBO) @Check(value = R, canBeNull = true) @Const @GLubyte ByteBuffer bitmap)743 	void glBitmap(@GLsizei int width, @GLsizei int height, float xorig, float yorig, float xmove, float ymove,
744 	              @BufferObject(BufferKind.UnpackPBO)
745 	              @Check(value = "(((width + 7)/8)*height)", canBeNull = true)
746 	              @Const
747 	              @GLubyte ByteBuffer bitmap);
748 
glBindTexture(@Lenum int target, @GLuint int texture)749 	void glBindTexture(@GLenum int target, @GLuint int texture);
750 
751 	@DeprecatedGL
glPrioritizeTextures(@utoSizeR) @Lsizei int n, @Const @GLuint IntBuffer textures, @Const @Check(R) FloatBuffer priorities)752 	void glPrioritizeTextures(@AutoSize("textures") @GLsizei int n,
753 	                          @Const
754 	                          @GLuint IntBuffer textures,
755 	                          @Const
756 	                          @Check("textures.remaining()")
757 	                          FloatBuffer priorities);
758 
759 	@DeprecatedGL
glAreTexturesResident(@utoSizeR) @Lsizei int n, @Const @GLuint IntBuffer textures, @Check(R) @GLboolean ByteBuffer residences)760 	boolean glAreTexturesResident(@AutoSize("textures") @GLsizei int n,
761 	                              @Const
762 	                              @GLuint IntBuffer textures,
763 	                              @Check("textures.remaining()")
764 	                              @GLboolean ByteBuffer residences);
765 
766 	@NoErrorCheck
767 	@DeprecatedGL
768 	@Code("\t\tif ( ContextCapabilities.DEBUG ) StateTracker.setBeginEnd(caps, true);")
glBegin(@Lenum int mode)769 	void glBegin(@GLenum int mode);
770 
771 	@DeprecatedGL
772 	@Code("\t\tif ( ContextCapabilities.DEBUG ) StateTracker.setBeginEnd(caps, false);")
glEnd()773 	void glEnd();
774 
775 	@NoErrorCheck
glArrayElement(int i)776 	void glArrayElement(int i);
777 
glClearDepth(double depth)778 	void glClearDepth(double depth);
779 
780 	@DeprecatedGL
glDeleteLists(@Luint int list, @GLsizei int range)781 	void glDeleteLists(@GLuint int list, @GLsizei int range);
782 
glDeleteTextures(@utoSizeR) @Lsizei int n, @Const @GLuint IntBuffer textures)783 	void glDeleteTextures(@AutoSize("textures") @GLsizei int n, @Const @GLuint IntBuffer textures);
784 
785 	@Alternate("glDeleteTextures")
glDeleteTextures(@onstantR) @Lsizei int n, @Constant(value = R, keepParam = true) int texture)786 	void glDeleteTextures(@Constant("1") @GLsizei int n, @Constant(value = "APIUtil.getInt(caps, texture)", keepParam = true) int texture);
787 
glCullFace(@Lenum int mode)788 	void glCullFace(@GLenum int mode);
789 
glCopyTexSubImage2D(@Lenum int target, int level, int xoffset, int yoffset, int x, int y, @GLsizei int width, @GLsizei int height)790 	void glCopyTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, int x, int y, @GLsizei int width, @GLsizei int height);
791 
glCopyTexSubImage1D(@Lenum int target, int level, int xoffset, int x, int y, @GLsizei int width)792 	void glCopyTexSubImage1D(@GLenum int target, int level, int xoffset, int x, int y, @GLsizei int width);
793 
glCopyTexImage2D(@Lenum int target, int level, int internalFormat, int x, int y, @GLsizei int width, @GLsizei int height, int border)794 	void glCopyTexImage2D(@GLenum int target, int level, int internalFormat, int x, int y, @GLsizei int width, @GLsizei int height, int border);
795 
glCopyTexImage1D(@Lenum int target, int level, int internalFormat, int x, int y, @GLsizei int width, int border)796 	void glCopyTexImage1D(@GLenum int target, int level, int internalFormat, int x, int y, @GLsizei int width, int border);
797 
glCopyPixels(int x, int y, int width, int height, int type)798 	void glCopyPixels(int x, int y, int width, int height, int type);
799 
800 	@DeprecatedGL
glColorPointer(int size, @AutoType(R) @GLenum int type, @GLsizei int stride, @CachedReference @Check @BufferObject(BufferKind.ArrayVBO) @Const @GLfloat @GLdouble @GLubyte @GLbyte Buffer pointer)801 	void glColorPointer(int size, @AutoType("pointer") @GLenum int type, @GLsizei int stride,
802 	                    @CachedReference
803 	                    @Check
804 	                    @BufferObject(BufferKind.ArrayVBO)
805 	                    @Const
806 	                    @GLfloat
807 	                    @GLdouble
808 	                    @GLubyte
809 	                    @GLbyte Buffer pointer);
810 
811 	@DeprecatedGL
812 	@Alternate("glColorPointer")
glColorPointer(int size, @GLenum int type, @GLsizei int stride, @CachedReference @Check @BufferObject(BufferKind.ArrayVBO) @Const ByteBuffer pointer)813 	void glColorPointer(int size, @GLenum int type, @GLsizei int stride,
814 	                    @CachedReference
815 	                    @Check
816 	                    @BufferObject(BufferKind.ArrayVBO)
817 	                    @Const ByteBuffer pointer);
818 
819 	@DeprecatedGL
glColorMaterial(@Lenum int face, @GLenum int mode)820 	void glColorMaterial(@GLenum int face, @GLenum int mode);
821 
glColorMask(boolean red, boolean green, boolean blue, boolean alpha)822 	void glColorMask(boolean red, boolean green, boolean blue, boolean alpha);
823 
824 	@NoErrorCheck
825 	@DeprecatedGL
glColor3b(byte red, byte green, byte blue)826 	void glColor3b(byte red, byte green, byte blue);
827 
828 	@NoErrorCheck
829 	@DeprecatedGL
glColor3f(float red, float green, float blue)830 	void glColor3f(float red, float green, float blue);
831 
832 	@NoErrorCheck
833 	@DeprecatedGL
glColor3d(double red, double green, double blue)834 	void glColor3d(double red, double green, double blue);
835 
836 	@NoErrorCheck
837 	@DeprecatedGL
glColor3ub(@Lubyte byte red, @GLubyte byte green, @GLubyte byte blue)838 	void glColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
839 
840 	@NoErrorCheck
841 	@DeprecatedGL
glColor4b(byte red, byte green, byte blue, byte alpha)842 	void glColor4b(byte red, byte green, byte blue, byte alpha);
843 
844 	@NoErrorCheck
845 	@DeprecatedGL
glColor4f(float red, float green, float blue, float alpha)846 	void glColor4f(float red, float green, float blue, float alpha);
847 
848 	@NoErrorCheck
849 	@DeprecatedGL
glColor4d(double red, double green, double blue, double alpha)850 	void glColor4d(double red, double green, double blue, double alpha);
851 
852 	@NoErrorCheck
853 	@DeprecatedGL
glColor4ub(@Lubyte byte red, @GLubyte byte green, @GLubyte byte blue, @GLubyte byte alpha)854 	void glColor4ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue, @GLubyte byte alpha);
855 
glClipPlane(@Lenum int plane, @Check(R) @Const DoubleBuffer equation)856 	void glClipPlane(@GLenum int plane, @Check("4") @Const DoubleBuffer equation);
857 
glClearStencil(int s)858 	void glClearStencil(int s);
859 
860 	// This function is only used in indexed color mode
861 	//	void glClearIndex(float c);
862 
863 	@DeprecatedGL
glEvalPoint1(int i)864 	void glEvalPoint1(int i);
865 
866 	@DeprecatedGL
glEvalPoint2(int i, int j)867 	void glEvalPoint2(int i, int j);
868 
869 	@DeprecatedGL
glEvalMesh1(@Lenum int mode, int i1, int i2)870 	void glEvalMesh1(@GLenum int mode, int i1, int i2);
871 
872 	@DeprecatedGL
glEvalMesh2(@Lenum int mode, int i1, int i2, int j1, int j2)873 	void glEvalMesh2(@GLenum int mode, int i1, int i2, int j1, int j2);
874 
875 	@DeprecatedGL
glEvalCoord1f(float u)876 	void glEvalCoord1f(float u);
877 
878 	@DeprecatedGL
glEvalCoord1d(double u)879 	void glEvalCoord1d(double u);
880 
881 	@DeprecatedGL
glEvalCoord2f(float u, float v)882 	void glEvalCoord2f(float u, float v);
883 
884 	@DeprecatedGL
glEvalCoord2d(double u, double v)885 	void glEvalCoord2d(double u, double v);
886 
887 	@DeprecatedGL
glEnableClientState(@Lenum int cap)888 	void glEnableClientState(@GLenum int cap);
889 
890 	@DeprecatedGL
glDisableClientState(@Lenum int cap)891 	void glDisableClientState(@GLenum int cap);
892 
glEnable(@Lenum int cap)893 	void glEnable(@GLenum int cap);
894 
glDisable(@Lenum int cap)895 	void glDisable(@GLenum int cap);
896 
897 	@DeprecatedGL
glEdgeFlagPointer(int stride, @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check @Const @GLbyte Buffer pointer)898 	void glEdgeFlagPointer(int stride,
899 	                       @CachedReference
900 	                       @BufferObject(BufferKind.ArrayVBO)
901 	                       @Check
902 	                       @Const
903 	                       @GLbyte Buffer pointer);
904 
905 	@DeprecatedGL
glEdgeFlag(boolean flag)906 	void glEdgeFlag(boolean flag);
907 
908 	@DeprecatedGL
glDrawPixels(@Lsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type, @Check(R) @BufferObject(BufferKind.UnpackPBO) @Const @GLbyte @GLshort @GLint Buffer pixels)909 	void glDrawPixels(@GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
910 	                  @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
911 	                  @BufferObject(BufferKind.UnpackPBO)
912 	                  @Const
913 	                  @GLbyte
914 	                  @GLshort
915 	                  @GLint Buffer pixels);
916 
glDrawElements(@Lenum int mode, @AutoSize(R) @GLsizei int count, @AutoType(R) @GLenum int type, @BufferObject(BufferKind.ElementVBO) @Const @GLubyte @GLushort @GLuint Buffer indices)917 	void glDrawElements(@GLenum int mode, @AutoSize("indices") @GLsizei int count, @AutoType("indices") @GLenum int type,
918 	                    @BufferObject(BufferKind.ElementVBO)
919 	                    @Const
920 	                    @GLubyte
921 	                    @GLushort
922 	                    @GLuint Buffer indices);
923 
924 	@Alternate("glDrawElements")
glDrawElements(@Lenum int mode, @GLsizei int count, @GLenum int type, @BufferObject(BufferKind.ElementVBO) @Const @Check(R) ByteBuffer indices)925 	void glDrawElements(@GLenum int mode, @GLsizei int count, @GLenum int type, @BufferObject(BufferKind.ElementVBO) @Const @Check("count") ByteBuffer indices);
926 
glDrawBuffer(@Lenum int mode)927 	void glDrawBuffer(@GLenum int mode);
928 
glDrawArrays(@Lenum int mode, int first, @GLsizei int count)929 	void glDrawArrays(@GLenum int mode, int first, @GLsizei int count);
930 
glDepthRange(double zNear, double zFar)931 	void glDepthRange(double zNear, double zFar);
932 
glDepthMask(boolean flag)933 	void glDepthMask(boolean flag);
934 
glDepthFunc(@Lenum int func)935 	void glDepthFunc(@GLenum int func);
936 
937 	@DeprecatedGL
glFeedbackBuffer(@utoSizeR) @Lsizei int size, @GLenum int type, FloatBuffer buffer)938 	void glFeedbackBuffer(@AutoSize("buffer") @GLsizei int size, @GLenum int type, FloatBuffer buffer);
939 
940 	@StripPostfix("values")
941 	@DeprecatedGL
glGetPixelMapfv(@Lenum int map, @OutParameter @Check(R) @BufferObject(BufferKind.PackPBO) FloatBuffer values)942 	void glGetPixelMapfv(@GLenum int map, @OutParameter @Check("256") @BufferObject(BufferKind.PackPBO) FloatBuffer values);
943 
944 	@StripPostfix("values")
945 	@DeprecatedGL
glGetPixelMapuiv(@Lenum int map, @OutParameter @Check(R) @BufferObject(BufferKind.PackPBO) @GLuint IntBuffer values)946 	void glGetPixelMapuiv(@GLenum int map, @OutParameter @Check("256") @BufferObject(BufferKind.PackPBO) @GLuint IntBuffer values);
947 
948 	@StripPostfix("values")
949 	@DeprecatedGL
glGetPixelMapusv(@Lenum int map, @OutParameter @Check(R) @BufferObject(BufferKind.PackPBO) @GLushort ShortBuffer values)950 	void glGetPixelMapusv(@GLenum int map, @OutParameter @Check("256") @BufferObject(BufferKind.PackPBO) @GLushort ShortBuffer values);
951 
952 	@StripPostfix("params")
953 	@DeprecatedGL
glGetMaterialfv(@Lenum int face, @GLenum int pname, @OutParameter @Check(R) FloatBuffer params)954 	void glGetMaterialfv(@GLenum int face, @GLenum int pname, @OutParameter @Check("4") FloatBuffer params);
955 
956 	@StripPostfix("params")
957 	@DeprecatedGL
glGetMaterialiv(@Lenum int face, @GLenum int pname, @OutParameter @Check(R) IntBuffer params)958 	void glGetMaterialiv(@GLenum int face, @GLenum int pname, @OutParameter @Check("4") IntBuffer params);
959 
960 	@StripPostfix("v")
961 	@DeprecatedGL
glGetMapfv(@Lenum int target, @GLenum int query, @OutParameter @Check(R) FloatBuffer v)962 	void glGetMapfv(@GLenum int target, @GLenum int query, @OutParameter @Check("256") FloatBuffer v);
963 
964 	@StripPostfix("v")
965 	@DeprecatedGL
glGetMapdv(@Lenum int target, @GLenum int query, @OutParameter @Check(R) DoubleBuffer v)966 	void glGetMapdv(@GLenum int target, @GLenum int query, @OutParameter @Check("256") DoubleBuffer v);
967 
968 	@StripPostfix("v")
969 	@DeprecatedGL
glGetMapiv(@Lenum int target, @GLenum int query, @OutParameter @Check(R) IntBuffer v)970 	void glGetMapiv(@GLenum int target, @GLenum int query, @OutParameter @Check("256") IntBuffer v);
971 
972 	@StripPostfix("params")
973 	@DeprecatedGL
glGetLightfv(@Lenum int light, @GLenum int pname, @OutParameter @Check(R) FloatBuffer params)974 	void glGetLightfv(@GLenum int light, @GLenum int pname, @OutParameter @Check("4") FloatBuffer params);
975 
976 	@StripPostfix("params")
977 	@DeprecatedGL
glGetLightiv(@Lenum int light, @GLenum int pname, @OutParameter @Check(R) IntBuffer params)978 	void glGetLightiv(@GLenum int light, @GLenum int pname, @OutParameter @Check("4") IntBuffer params);
979 
980 	@NoErrorCheck
glGetError()981 	int glGetError();
982 
glGetClipPlane(@Lenum int plane, @OutParameter @Check(R) DoubleBuffer equation)983 	void glGetClipPlane(@GLenum int plane, @OutParameter @Check("4") DoubleBuffer equation);
984 
985 	@StripPostfix("params")
glGetBooleanv(@Lenum int pname, @OutParameter @Check(R) @GLboolean ByteBuffer params)986 	void glGetBooleanv(@GLenum int pname, @OutParameter @Check("16") @GLboolean ByteBuffer params);
987 
988 	@Alternate("glGetBooleanv")
989 	@GLreturn("params")
990 	@StripPostfix("params")
glGetBooleanv2(@Lenum int pname, @OutParameter @GLboolean ByteBuffer params)991 	void glGetBooleanv2(@GLenum int pname, @OutParameter @GLboolean ByteBuffer params);
992 
993 	@StripPostfix("params")
glGetDoublev(@Lenum int pname, @OutParameter @Check(R) DoubleBuffer params)994 	void glGetDoublev(@GLenum int pname, @OutParameter @Check("16") DoubleBuffer params);
995 
996 	@Alternate("glGetDoublev")
997 	@GLreturn("params")
998 	@StripPostfix("params")
glGetDoublev2(@Lenum int pname, @OutParameter DoubleBuffer params)999 	void glGetDoublev2(@GLenum int pname, @OutParameter DoubleBuffer params);
1000 
1001 	@StripPostfix("params")
glGetFloatv(@Lenum int pname, @OutParameter @Check(R) FloatBuffer params)1002 	void glGetFloatv(@GLenum int pname, @OutParameter @Check("16") FloatBuffer params);
1003 
1004 	@Alternate("glGetFloatv")
1005 	@GLreturn("params")
1006 	@StripPostfix("params")
glGetFloatv2(@Lenum int pname, @OutParameter FloatBuffer params)1007 	void glGetFloatv2(@GLenum int pname, @OutParameter FloatBuffer params);
1008 
1009 	@StripPostfix("params")
glGetIntegerv(@Lenum int pname, @OutParameter @Check(R) IntBuffer params)1010 	void glGetIntegerv(@GLenum int pname, @OutParameter @Check("16") IntBuffer params);
1011 
1012 	@Alternate("glGetIntegerv")
1013 	@GLreturn("params")
1014 	@StripPostfix("params")
glGetIntegerv2(@Lenum int pname, @OutParameter IntBuffer params)1015 	void glGetIntegerv2(@GLenum int pname, @OutParameter IntBuffer params);
1016 
glGenTextures(@utoSizeR) @Lsizei int n, @OutParameter @GLuint IntBuffer textures)1017 	void glGenTextures(@AutoSize("textures") @GLsizei int n, @OutParameter @GLuint IntBuffer textures);
1018 
1019 	@Alternate("glGenTextures")
1020 	@GLreturn("textures")
glGenTextures2(@onstantR) @Lsizei int n, @OutParameter @GLuint IntBuffer textures)1021 	void glGenTextures2(@Constant("1") @GLsizei int n, @OutParameter @GLuint IntBuffer textures);
1022 
1023 	@GLuint
1024 	@DeprecatedGL
glGenLists(@Lsizei int range)1025 	int glGenLists(@GLsizei int range);
1026 
1027 	@DeprecatedGL
glFrustum(double left, double right, double bottom, double top, double zNear, double zFar)1028 	void glFrustum(double left, double right, double bottom, double top, double zNear, double zFar);
1029 
glFrontFace(@Lenum int mode)1030 	void glFrontFace(@GLenum int mode);
1031 
1032 	@DeprecatedGL
glFogf(@Lenum int pname, float param)1033 	void glFogf(@GLenum int pname, float param);
1034 
1035 	@DeprecatedGL
glFogi(@Lenum int pname, int param)1036 	void glFogi(@GLenum int pname, int param);
1037 
1038 	@StripPostfix("params")
1039 	@DeprecatedGL
glFogfv(@Lenum int pname, @Check(R) @Const FloatBuffer params)1040 	void glFogfv(@GLenum int pname, @Check("4") @Const FloatBuffer params);
1041 
1042 	@StripPostfix("params")
1043 	@DeprecatedGL
glFogiv(@Lenum int pname, @Check(R) @Const IntBuffer params)1044 	void glFogiv(@GLenum int pname, @Check("4") @Const IntBuffer params);
1045 
glFlush()1046 	void glFlush();
1047 
glFinish()1048 	void glFinish();
1049 
1050 	@StripPostfix("result")
glGetPointerv(@Lenum int pname, @Result @GLvoid ByteBuffer result)1051 	void glGetPointerv(@GLenum int pname, @Result @GLvoid ByteBuffer result);
1052 
glIsEnabled(@Lenum int cap)1053 	boolean glIsEnabled(@GLenum int cap);
1054 
glInterleavedArrays(@Lenum int format, @GLsizei int stride, @BufferObject(BufferKind.ArrayVBO) @Check @Const @GLbyte @GLshort @GLint @GLfloat @GLdouble Buffer pointer)1055 	void glInterleavedArrays(@GLenum int format, @GLsizei int stride,
1056 	                         @BufferObject(BufferKind.ArrayVBO)
1057 	                         @Check
1058 	                         @Const
1059 	                         @GLbyte
1060 	                         @GLshort
1061 	                         @GLint
1062 	                         @GLfloat
1063 	                         @GLdouble Buffer pointer);
1064 
1065 	@DeprecatedGL
glInitNames()1066 	void glInitNames();
1067 
glHint(@Lenum int target, @GLenum int mode)1068 	void glHint(@GLenum int target, @GLenum int mode);
1069 
1070 	@StripPostfix("params")
glGetTexParameterfv(@Lenum int target, @GLenum int pname, @OutParameter @Check(R) FloatBuffer params)1071 	void glGetTexParameterfv(@GLenum int target, @GLenum int pname, @OutParameter @Check("4") FloatBuffer params);
1072 
1073 	@Alternate("glGetTexParameterfv")
1074 	@GLreturn("params")
1075 	@StripPostfix(value = "params", hasPostfix = false)
glGetTexParameterfv2(@Lenum int target, @GLenum int pname, @OutParameter FloatBuffer params)1076 	void glGetTexParameterfv2(@GLenum int target, @GLenum int pname, @OutParameter FloatBuffer params);
1077 
1078 	@StripPostfix("params")
glGetTexParameteriv(@Lenum int target, @GLenum int pname, @OutParameter @Check(R) IntBuffer params)1079 	void glGetTexParameteriv(@GLenum int target, @GLenum int pname, @OutParameter @Check("4") IntBuffer params);
1080 
1081 	@Alternate("glGetTexParameteriv")
1082 	@GLreturn("params")
1083 	@StripPostfix(value = "params", hasPostfix = false)
glGetTexParameteriv2(@Lenum int target, @GLenum int pname, @OutParameter IntBuffer params)1084 	void glGetTexParameteriv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params);
1085 
1086 	@StripPostfix("params")
glGetTexLevelParameterfv(@Lenum int target, int level, @GLenum int pname, @OutParameter @Check(R) FloatBuffer params)1087 	void glGetTexLevelParameterfv(@GLenum int target, int level, @GLenum int pname, @OutParameter @Check("4") FloatBuffer params);
1088 
1089 	@Alternate("glGetTexLevelParameterfv")
1090 	@GLreturn("params")
1091 	@StripPostfix(value = "params", hasPostfix = false)
glGetTexLevelParameterfv2(@Lenum int target, int level, @GLenum int pname, @OutParameter FloatBuffer params)1092 	void glGetTexLevelParameterfv2(@GLenum int target, int level, @GLenum int pname, @OutParameter FloatBuffer params);
1093 
1094 	@StripPostfix("params")
glGetTexLevelParameteriv(@Lenum int target, int level, @GLenum int pname, @OutParameter @Check(R) IntBuffer params)1095 	void glGetTexLevelParameteriv(@GLenum int target, int level, @GLenum int pname, @OutParameter @Check("4") IntBuffer params);
1096 
1097 	@Alternate("glGetTexLevelParameteriv")
1098 	@GLreturn("params")
1099 	@StripPostfix(value = "params", hasPostfix = false)
glGetTexLevelParameteriv2(@Lenum int target, int level, @GLenum int pname, @OutParameter IntBuffer params)1100 	void glGetTexLevelParameteriv2(@GLenum int target, int level, @GLenum int pname, @OutParameter IntBuffer params);
1101 
glGetTexImage(@Lenum int target, int level, @GLenum int format, @GLenum int type, @OutParameter @BufferObject(BufferKind.PackPBO) @Check(R) @GLbyte @GLshort @GLint @GLfloat @GLdouble Buffer pixels)1102 	void glGetTexImage(@GLenum int target, int level, @GLenum int format, @GLenum int type,
1103 	                   @OutParameter
1104 	                   @BufferObject(BufferKind.PackPBO)
1105 	                   @Check("GLChecks.calculateImageStorage(pixels, format, type, 1, 1, 1)")
1106 	                   @GLbyte
1107 	                   @GLshort
1108 	                   @GLint
1109 	                   @GLfloat
1110 	                   @GLdouble Buffer pixels);
1111 
1112 	@StripPostfix("params")
1113 	@DeprecatedGL
glGetTexGeniv(@Lenum int coord, @GLenum int pname, @OutParameter @Check(R) IntBuffer params)1114 	void glGetTexGeniv(@GLenum int coord, @GLenum int pname, @OutParameter @Check("4") IntBuffer params);
1115 
1116 	@Alternate("glGetTexGeniv")
1117 	@GLreturn("params")
1118 	@StripPostfix(value = "params", hasPostfix = false)
1119 	@DeprecatedGL
glGetTexGeniv2(@Lenum int coord, @GLenum int pname, @OutParameter IntBuffer params)1120 	void glGetTexGeniv2(@GLenum int coord, @GLenum int pname, @OutParameter IntBuffer params);
1121 
1122 	@StripPostfix("params")
1123 	@DeprecatedGL
glGetTexGenfv(@Lenum int coord, @GLenum int pname, @OutParameter @Check(R) FloatBuffer params)1124 	void glGetTexGenfv(@GLenum int coord, @GLenum int pname, @OutParameter @Check("4") FloatBuffer params);
1125 
1126 	@Alternate("glGetTexGenfv")
1127 	@GLreturn("params")
1128 	@StripPostfix(value = "params", hasPostfix = false)
1129 	@DeprecatedGL
glGetTexGenfv2(@Lenum int coord, @GLenum int pname, @OutParameter FloatBuffer params)1130 	void glGetTexGenfv2(@GLenum int coord, @GLenum int pname, @OutParameter FloatBuffer params);
1131 
1132 	@StripPostfix("params")
1133 	@DeprecatedGL
glGetTexGendv(@Lenum int coord, @GLenum int pname, @OutParameter @Check(R) DoubleBuffer params)1134 	void glGetTexGendv(@GLenum int coord, @GLenum int pname, @OutParameter @Check("4") DoubleBuffer params);
1135 
1136 	@Alternate("glGetTexGendv")
1137 	@GLreturn("params")
1138 	@StripPostfix(value = "params", hasPostfix = false)
1139 	@DeprecatedGL
glGetTexGendv2(@Lenum int coord, @GLenum int pname, @OutParameter DoubleBuffer params)1140 	void glGetTexGendv2(@GLenum int coord, @GLenum int pname, @OutParameter DoubleBuffer params);
1141 
1142 	@StripPostfix("params")
glGetTexEnviv(@Lenum int coord, @GLenum int pname, @OutParameter @Check(R) IntBuffer params)1143 	void glGetTexEnviv(@GLenum int coord, @GLenum int pname, @OutParameter @Check("4") IntBuffer params);
1144 
1145 	@Alternate("glGetTexEnviv")
1146 	@GLreturn("params")
1147 	@StripPostfix(value = "params", hasPostfix = false)
glGetTexEnviv2(@Lenum int coord, @GLenum int pname, @OutParameter IntBuffer params)1148 	void glGetTexEnviv2(@GLenum int coord, @GLenum int pname, @OutParameter IntBuffer params);
1149 
1150 	@StripPostfix("params")
glGetTexEnvfv(@Lenum int coord, @GLenum int pname, @OutParameter @Check(R) FloatBuffer params)1151 	void glGetTexEnvfv(@GLenum int coord, @GLenum int pname, @OutParameter @Check("4") FloatBuffer params);
1152 
1153 	@Alternate("glGetTexEnvfv")
1154 	@GLreturn("params")
1155 	@StripPostfix(value = "params", hasPostfix = false)
glGetTexEnvfv2(@Lenum int coord, @GLenum int pname, @OutParameter FloatBuffer params)1156 	void glGetTexEnvfv2(@GLenum int coord, @GLenum int pname, @OutParameter FloatBuffer params);
1157 
1158 	@Const
glGetString(int name)1159 	String glGetString(int name);
1160 
1161 	@DeprecatedGL
glGetPolygonStipple(@utParameter @ufferObjectBufferKind.PackPBO) @heckR) @Lubyte ByteBuffer mask)1162 	void glGetPolygonStipple(@OutParameter @BufferObject(BufferKind.PackPBO) @Check("128") @GLubyte ByteBuffer mask);
1163 
1164 	@DeprecatedGL
glIsList(@Luint int list)1165 	boolean glIsList(@GLuint int list);
1166 
1167 	@DeprecatedGL
glMaterialf(@Lenum int face, @GLenum int pname, float param)1168 	void glMaterialf(@GLenum int face, @GLenum int pname, float param);
1169 
1170 	@DeprecatedGL
glMateriali(@Lenum int face, @GLenum int pname, int param)1171 	void glMateriali(@GLenum int face, @GLenum int pname, int param);
1172 
1173 	@StripPostfix("params")
1174 	@DeprecatedGL
glMaterialfv(@Lenum int face, @GLenum int pname, @Check(R) @Const FloatBuffer params)1175 	void glMaterialfv(@GLenum int face, @GLenum int pname, @Check("4") @Const FloatBuffer params);
1176 
1177 	@StripPostfix("params")
1178 	@DeprecatedGL
glMaterialiv(@Lenum int face, @GLenum int pname, @Check(R) @Const IntBuffer params)1179 	void glMaterialiv(@GLenum int face, @GLenum int pname, @Check("4") @Const IntBuffer params);
1180 
1181 	@DeprecatedGL
glMapGrid1f(int un, float u1, float u2)1182 	void glMapGrid1f(int un, float u1, float u2);
1183 
1184 	@DeprecatedGL
glMapGrid1d(int un, double u1, double u2)1185 	void glMapGrid1d(int un, double u1, double u2);
1186 
1187 	@DeprecatedGL
glMapGrid2f(int un, float u1, float u2, int vn, float v1, float v2)1188 	void glMapGrid2f(int un, float u1, float u2, int vn, float v1, float v2);
1189 
1190 	@DeprecatedGL
glMapGrid2d(int un, double u1, double u2, int vn, double v1, double v2)1191 	void glMapGrid2d(int un, double u1, double u2, int vn, double v1, double v2);
1192 
1193 	// TODO: check buffer size valid
1194 
1195 	@DeprecatedGL
glMap2f(@Lenum int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, @Check @Const FloatBuffer points)1196 	void glMap2f(@GLenum int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, @Check @Const FloatBuffer points);
1197 
1198 	@DeprecatedGL
glMap2d(@Lenum int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, @Check @Const DoubleBuffer points)1199 	void glMap2d(@GLenum int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, @Check @Const DoubleBuffer points);
1200 
1201 	// TODO: check buffer size valid
1202 
1203 	@DeprecatedGL
glMap1f(@Lenum int target, float u1, float u2, int stride, int order, @Check @Const FloatBuffer points)1204 	void glMap1f(@GLenum int target, float u1, float u2, int stride, int order, @Check @Const FloatBuffer points);
1205 
1206 	@DeprecatedGL
glMap1d(@Lenum int target, double u1, double u2, int stride, int order, @Check @Const DoubleBuffer points)1207 	void glMap1d(@GLenum int target, double u1, double u2, int stride, int order, @Check @Const DoubleBuffer points);
1208 
glLogicOp(@Lenum int opcode)1209 	void glLogicOp(@GLenum int opcode);
1210 
1211 	@DeprecatedGL
glLoadName(@Luint int name)1212 	void glLoadName(@GLuint int name);
1213 
1214 	@StripPostfix("m")
1215 	@DeprecatedGL
glLoadMatrixf(@heckR) @onst FloatBuffer m)1216 	void glLoadMatrixf(@Check("16") @Const FloatBuffer m);
1217 
1218 	@StripPostfix("m")
1219 	@DeprecatedGL
glLoadMatrixd(@heckR) @onst DoubleBuffer m)1220 	void glLoadMatrixd(@Check("16") @Const DoubleBuffer m);
1221 
1222 	@DeprecatedGL
glLoadIdentity()1223 	void glLoadIdentity();
1224 
1225 	@DeprecatedGL
glListBase(@Luint int base)1226 	void glListBase(@GLuint int base);
1227 
glLineWidth(float width)1228 	void glLineWidth(float width);
1229 
1230 	@DeprecatedGL
glLineStipple(int factor, @GLushort short pattern)1231 	void glLineStipple(int factor, @GLushort short pattern);
1232 
1233 	@DeprecatedGL
glLightModelf(@Lenum int pname, float param)1234 	void glLightModelf(@GLenum int pname, float param);
1235 
1236 	@DeprecatedGL
glLightModeli(@Lenum int pname, int param)1237 	void glLightModeli(@GLenum int pname, int param);
1238 
1239 	@StripPostfix("params")
1240 	@DeprecatedGL
glLightModelfv(@Lenum int pname, @Check(R) @Const FloatBuffer params)1241 	void glLightModelfv(@GLenum int pname, @Check("4") @Const FloatBuffer params);
1242 
1243 	@StripPostfix("params")
1244 	@DeprecatedGL
glLightModeliv(@Lenum int pname, @Check(R) @Const IntBuffer params)1245 	void glLightModeliv(@GLenum int pname, @Check("4") @Const IntBuffer params);
1246 
1247 	@DeprecatedGL
glLightf(@Lenum int light, @GLenum int pname, float param)1248 	void glLightf(@GLenum int light, @GLenum int pname, float param);
1249 
1250 	@DeprecatedGL
glLighti(@Lenum int light, @GLenum int pname, int param)1251 	void glLighti(@GLenum int light, @GLenum int pname, int param);
1252 
1253 	@StripPostfix("params")
1254 	@DeprecatedGL
glLightfv(@Lenum int light, @GLenum int pname, @Check(R) @Const FloatBuffer params)1255 	void glLightfv(@GLenum int light, @GLenum int pname, @Check("4") @Const FloatBuffer params);
1256 
1257 	@StripPostfix("params")
1258 	@DeprecatedGL
glLightiv(@Lenum int light, @GLenum int pname, @Check(R) @Const IntBuffer params)1259 	void glLightiv(@GLenum int light, @GLenum int pname, @Check("4") @Const IntBuffer params);
1260 
glIsTexture(@Luint int texture)1261 	boolean glIsTexture(@GLuint int texture);
1262 
1263 	@DeprecatedGL
glMatrixMode(@Lenum int mode)1264 	void glMatrixMode(@GLenum int mode);
1265 
1266 	@DeprecatedGL
glPolygonStipple(@ufferObjectBufferKind.UnpackPBO) @heckR) @onst @Lubyte ByteBuffer mask)1267 	void glPolygonStipple(@BufferObject(BufferKind.UnpackPBO) @Check("128") @Const @GLubyte ByteBuffer mask);
1268 
glPolygonOffset(float factor, float units)1269 	void glPolygonOffset(float factor, float units);
1270 
glPolygonMode(@Lenum int face, @GLenum int mode)1271 	void glPolygonMode(@GLenum int face, @GLenum int mode);
1272 
glPointSize(float size)1273 	void glPointSize(float size);
1274 
1275 	@DeprecatedGL
glPixelZoom(float xfactor, float yfactor)1276 	void glPixelZoom(float xfactor, float yfactor);
1277 
1278 	@DeprecatedGL
glPixelTransferf(@Lenum int pname, float param)1279 	void glPixelTransferf(@GLenum int pname, float param);
1280 
1281 	@DeprecatedGL
glPixelTransferi(@Lenum int pname, int param)1282 	void glPixelTransferi(@GLenum int pname, int param);
1283 
glPixelStoref(@Lenum int pname, float param)1284 	void glPixelStoref(@GLenum int pname, float param);
1285 
glPixelStorei(@Lenum int pname, int param)1286 	void glPixelStorei(@GLenum int pname, int param);
1287 
1288 	@StripPostfix("values")
1289 	@DeprecatedGL
glPixelMapfv(@Lenum int map, @AutoSize(R) @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const FloatBuffer values)1290 	void glPixelMapfv(@GLenum int map, @AutoSize("values") @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const FloatBuffer values);
1291 
1292 	@StripPostfix("values")
1293 	@DeprecatedGL
glPixelMapuiv(@Lenum int map, @AutoSize(R) @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const @GLuint IntBuffer values)1294 	void glPixelMapuiv(@GLenum int map, @AutoSize("values") @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const @GLuint IntBuffer values);
1295 
1296 	@StripPostfix("values")
1297 	@DeprecatedGL
glPixelMapusv(@Lenum int map, @AutoSize(R) @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const @GLushort ShortBuffer values)1298 	void glPixelMapusv(@GLenum int map, @AutoSize("values") @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const @GLushort ShortBuffer values);
1299 
1300 	@DeprecatedGL
glPassThrough(float token)1301 	void glPassThrough(float token);
1302 
1303 	@DeprecatedGL
glOrtho(double left, double right, double bottom, double top, double zNear, double zFar)1304 	void glOrtho(double left, double right, double bottom, double top, double zNear, double zFar);
1305 
1306 	@DeprecatedGL
glNormalPointer(@utoTypeR) @Lenum int type, @GLsizei int stride, @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check @Const @GLint @GLbyte @GLfloat @GLdouble Buffer pointer)1307 	void glNormalPointer(@AutoType("pointer") @GLenum int type, @GLsizei int stride,
1308 	                     @CachedReference
1309 	                     @BufferObject(BufferKind.ArrayVBO)
1310 	                     @Check
1311 	                     @Const
1312 	                     @GLint
1313 	                     @GLbyte
1314 	                     @GLfloat
1315 	                     @GLdouble Buffer pointer);
1316 
1317 	@DeprecatedGL
1318 	@Alternate("glNormalPointer")
glNormalPointer(@Lenum int type, @GLsizei int stride, @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check @Const ByteBuffer pointer)1319 	void glNormalPointer(@GLenum int type, @GLsizei int stride,
1320 	                     @CachedReference
1321 	                     @BufferObject(BufferKind.ArrayVBO)
1322 	                     @Check
1323 	                     @Const ByteBuffer pointer);
1324 
1325 	@NoErrorCheck
1326 	@DeprecatedGL
glNormal3b(byte nx, byte ny, byte nz)1327 	void glNormal3b(byte nx, byte ny, byte nz);
1328 
1329 	@NoErrorCheck
1330 	@DeprecatedGL
glNormal3f(float nx, float ny, float nz)1331 	void glNormal3f(float nx, float ny, float nz);
1332 
1333 	@NoErrorCheck
1334 	@DeprecatedGL
glNormal3d(double nx, double ny, double nz)1335 	void glNormal3d(double nx, double ny, double nz);
1336 
1337 	@NoErrorCheck
1338 	@DeprecatedGL
glNormal3i(int nx, int ny, int nz)1339 	void glNormal3i(int nx, int ny, int nz);
1340 
1341 	@DeprecatedGL
glNewList(@Luint int list, @GLenum int mode)1342 	void glNewList(@GLuint int list, @GLenum int mode);
1343 
1344 	@DeprecatedGL
glEndList()1345 	void glEndList();
1346 
1347 	@StripPostfix("m")
1348 	@DeprecatedGL
glMultMatrixf(@heckR) @onst FloatBuffer m)1349 	void glMultMatrixf(@Check("16") @Const FloatBuffer m);
1350 
1351 	@StripPostfix("m")
1352 	@DeprecatedGL
glMultMatrixd(@heckR) @onst DoubleBuffer m)1353 	void glMultMatrixd(@Check("16") @Const DoubleBuffer m);
1354 
glShadeModel(@Lenum int mode)1355 	void glShadeModel(@GLenum int mode);
1356 
1357 	@DeprecatedGL
glSelectBuffer(@utoSizeR) @Lsizei int size, @GLuint IntBuffer buffer)1358 	void glSelectBuffer(@AutoSize("buffer") @GLsizei int size, @GLuint IntBuffer buffer);
1359 
glScissor(int x, int y, @GLsizei int width, @GLsizei int height)1360 	void glScissor(int x, int y, @GLsizei int width, @GLsizei int height);
1361 
1362 	@DeprecatedGL
glScalef(float x, float y, float z)1363 	void glScalef(float x, float y, float z);
1364 
1365 	@DeprecatedGL
glScaled(double x, double y, double z)1366 	void glScaled(double x, double y, double z);
1367 
1368 	@DeprecatedGL
glRotatef(float angle, float x, float y, float z)1369 	void glRotatef(float angle, float x, float y, float z);
1370 
1371 	@DeprecatedGL
glRotated(double angle, double x, double y, double z)1372 	void glRotated(double angle, double x, double y, double z);
1373 
1374 	@DeprecatedGL
glRenderMode(@Lenum int mode)1375 	int glRenderMode(@GLenum int mode);
1376 
1377 	@DeprecatedGL
glRectf(float x1, float y1, float x2, float y2)1378 	void glRectf(float x1, float y1, float x2, float y2);
1379 
1380 	@DeprecatedGL
glRectd(double x1, double y1, double x2, double y2)1381 	void glRectd(double x1, double y1, double x2, double y2);
1382 
1383 	@DeprecatedGL
glRecti(int x1, int y1, int x2, int y2)1384 	void glRecti(int x1, int y1, int x2, int y2);
1385 
glReadPixels(int x, int y, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type, @OutParameter @BufferObject(BufferKind.PackPBO) @Check(R) @GLbyte @GLshort @GLint @GLfloat @GLdouble Buffer pixels)1386 	void glReadPixels(int x, int y, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
1387 	                  @OutParameter
1388 	                  @BufferObject(BufferKind.PackPBO)
1389 	                  @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
1390 	                  @GLbyte
1391 	                  @GLshort
1392 	                  @GLint
1393 	                  @GLfloat
1394 	                  @GLdouble Buffer pixels);
1395 
glReadBuffer(@Lenum int mode)1396 	void glReadBuffer(@GLenum int mode);
1397 
1398 	@DeprecatedGL
glRasterPos2f(float x, float y)1399 	void glRasterPos2f(float x, float y);
1400 
1401 	@DeprecatedGL
glRasterPos2d(double x, double y)1402 	void glRasterPos2d(double x, double y);
1403 
1404 	@DeprecatedGL
glRasterPos2i(int x, int y)1405 	void glRasterPos2i(int x, int y);
1406 
1407 	@DeprecatedGL
glRasterPos3f(float x, float y, float z)1408 	void glRasterPos3f(float x, float y, float z);
1409 
1410 	@DeprecatedGL
glRasterPos3d(double x, double y, double z)1411 	void glRasterPos3d(double x, double y, double z);
1412 
1413 	@DeprecatedGL
glRasterPos3i(int x, int y, int z)1414 	void glRasterPos3i(int x, int y, int z);
1415 
1416 	@DeprecatedGL
glRasterPos4f(float x, float y, float z, float w)1417 	void glRasterPos4f(float x, float y, float z, float w);
1418 
1419 	@DeprecatedGL
glRasterPos4d(double x, double y, double z, double w)1420 	void glRasterPos4d(double x, double y, double z, double w);
1421 
1422 	@DeprecatedGL
glRasterPos4i(int x, int y, int z, int w)1423 	void glRasterPos4i(int x, int y, int z, int w);
1424 
1425 	@DeprecatedGL
glPushName(@Luint int name)1426 	void glPushName(@GLuint int name);
1427 
1428 	@DeprecatedGL
glPopName()1429 	void glPopName();
1430 
1431 	@DeprecatedGL
glPushMatrix()1432 	void glPushMatrix();
1433 
1434 	@DeprecatedGL
glPopMatrix()1435 	void glPopMatrix();
1436 
1437 	@Code("		StateTracker.pushAttrib(caps, mask);")
1438 	@DeprecatedGL
glPushClientAttrib(@Lbitfield int mask)1439 	void glPushClientAttrib(@GLbitfield int mask);
1440 
1441 	@Code("		StateTracker.popAttrib(caps);")
1442 	@DeprecatedGL
glPopClientAttrib()1443 	void glPopClientAttrib();
1444 
1445 	@DeprecatedGL
glPushAttrib(@Lbitfield int mask)1446 	void glPushAttrib(@GLbitfield int mask);
1447 
1448 	@DeprecatedGL
glPopAttrib()1449 	void glPopAttrib();
1450 
glStencilFunc(@Lenum int func, int ref, @GLuint int mask)1451 	void glStencilFunc(@GLenum int func, int ref, @GLuint int mask);
1452 
1453 	@DeprecatedGL
glVertexPointer(int size, @AutoType(R) @GLenum int type, @GLsizei int stride, @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check @Const @GLshort @GLint @GLfloat @GLdouble Buffer pointer)1454 	void glVertexPointer(int size, @AutoType("pointer") @GLenum int type, @GLsizei int stride,
1455 	                     @CachedReference
1456 	                     @BufferObject(BufferKind.ArrayVBO)
1457 	                     @Check
1458 	                     @Const
1459 	                     @GLshort
1460 	                     @GLint
1461 	                     @GLfloat
1462 	                     @GLdouble Buffer pointer);
1463 
1464 	@DeprecatedGL
1465 	@Alternate("glVertexPointer")
glVertexPointer(int size, @GLenum int type, @GLsizei int stride, @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check @Const ByteBuffer pointer)1466 	void glVertexPointer(int size, @GLenum int type, @GLsizei int stride,
1467 	                     @CachedReference
1468 	                     @BufferObject(BufferKind.ArrayVBO)
1469 	                     @Check
1470 	                     @Const ByteBuffer pointer);
1471 
1472 	@NoErrorCheck
1473 	@DeprecatedGL
glVertex2f(float x, float y)1474 	void glVertex2f(float x, float y);
1475 
1476 	@NoErrorCheck
1477 	@DeprecatedGL
glVertex2d(double x, double y)1478 	void glVertex2d(double x, double y);
1479 
1480 	@NoErrorCheck
1481 	@DeprecatedGL
glVertex2i(int x, int y)1482 	void glVertex2i(int x, int y);
1483 
1484 	@NoErrorCheck
1485 	@DeprecatedGL
glVertex3f(float x, float y, float z)1486 	void glVertex3f(float x, float y, float z);
1487 
1488 	@NoErrorCheck
1489 	@DeprecatedGL
glVertex3d(double x, double y, double z)1490 	void glVertex3d(double x, double y, double z);
1491 
1492 	@NoErrorCheck
1493 	@DeprecatedGL
glVertex3i(int x, int y, int z)1494 	void glVertex3i(int x, int y, int z);
1495 
1496 	@NoErrorCheck
1497 	@DeprecatedGL
glVertex4f(float x, float y, float z, float w)1498 	void glVertex4f(float x, float y, float z, float w);
1499 
1500 	@NoErrorCheck
1501 	@DeprecatedGL
glVertex4d(double x, double y, double z, double w)1502 	void glVertex4d(double x, double y, double z, double w);
1503 
1504 	@NoErrorCheck
1505 	@DeprecatedGL
glVertex4i(int x, int y, int z, int w)1506 	void glVertex4i(int x, int y, int z, int w);
1507 
1508 	@DeprecatedGL
glTranslatef(float x, float y, float z)1509 	void glTranslatef(float x, float y, float z);
1510 
1511 	@DeprecatedGL
glTranslated(double x, double y, double z)1512 	void glTranslated(double x, double y, double z);
1513 
glTexImage1D(@Lenum int target, int level, int internalformat, @GLsizei int width, int border, @GLenum int format, @GLenum int type, @BufferObject(BufferKind.UnpackPBO) @Check(value = R, canBeNull = true) @Const @GLbyte @GLshort @GLint @GLfloat @GLdouble Buffer pixels)1514 	void glTexImage1D(@GLenum int target, int level, int internalformat, @GLsizei int width, int border, @GLenum int format, @GLenum int type,
1515 	                  @BufferObject(BufferKind.UnpackPBO)
1516 	                  @Check(value = "GLChecks.calculateTexImage1DStorage(pixels, format, type, width)", canBeNull = true)
1517 	                  @Const
1518 	                  @GLbyte
1519 	                  @GLshort
1520 	                  @GLint
1521 	                  @GLfloat
1522 	                  @GLdouble Buffer pixels);
1523 
glTexImage2D(@Lenum int target, int level, int internalformat, int width, int height, int border, @GLenum int format, @GLenum int type, @BufferObject(BufferKind.UnpackPBO) @Check(value = R, canBeNull = true) @Const @GLbyte @GLshort @GLint @GLfloat @GLdouble Buffer pixels)1524 	void glTexImage2D(@GLenum int target, int level, int internalformat, int width, int height, int border, @GLenum int format, @GLenum int type,
1525 	                  @BufferObject(BufferKind.UnpackPBO)
1526 	                  @Check(value = "GLChecks.calculateTexImage2DStorage(pixels, format, type, width, height)", canBeNull = true)
1527 	                  @Const
1528 	                  @GLbyte
1529 	                  @GLshort
1530 	                  @GLint
1531 	                  @GLfloat
1532 	                  @GLdouble Buffer pixels);
1533 
glTexSubImage1D(@Lenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLenum int type, @BufferObject(BufferKind.UnpackPBO) @Check(R) @Const @GLbyte @GLshort @GLint @GLfloat @GLdouble Buffer pixels)1534 	void glTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLenum int type,
1535 	                     @BufferObject(BufferKind.UnpackPBO)
1536 	                     @Check("GLChecks.calculateImageStorage(pixels, format, type, width, 1, 1)")
1537 	                     @Const
1538 	                     @GLbyte
1539 	                     @GLshort
1540 	                     @GLint
1541 	                     @GLfloat
1542 	                     @GLdouble Buffer pixels);
1543 
glTexSubImage2D(@Lenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type, @BufferObject(BufferKind.UnpackPBO) @Check(R) @Const @GLbyte @GLshort @GLint @GLfloat @GLdouble Buffer pixels)1544 	void glTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
1545 	                     @BufferObject(BufferKind.UnpackPBO)
1546 	                     @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
1547 	                     @Const
1548 	                     @GLbyte
1549 	                     @GLshort
1550 	                     @GLint
1551 	                     @GLfloat
1552 	                     @GLdouble Buffer pixels);
1553 
glTexParameterf(@Lenum int target, @GLenum int pname, float param)1554 	void glTexParameterf(@GLenum int target, @GLenum int pname, float param);
1555 
glTexParameteri(@Lenum int target, @GLenum int pname, int param)1556 	void glTexParameteri(@GLenum int target, @GLenum int pname, int param);
1557 
1558 	@StripPostfix("param")
glTexParameterfv(@Lenum int target, @GLenum int pname, @Check(R) @Const FloatBuffer param)1559 	void glTexParameterfv(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer param);
1560 
1561 	@StripPostfix("param")
glTexParameteriv(@Lenum int target, @GLenum int pname, @Check(R) @Const IntBuffer param)1562 	void glTexParameteriv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer param);
1563 
1564 	@DeprecatedGL
glTexGenf(@Lenum int coord, @GLenum int pname, float param)1565 	void glTexGenf(@GLenum int coord, @GLenum int pname, float param);
1566 
1567 	@DeprecatedGL
glTexGend(@Lenum int coord, @GLenum int pname, double param)1568 	void glTexGend(@GLenum int coord, @GLenum int pname, double param);
1569 
1570 	@StripPostfix("params")
1571 	@DeprecatedGL
glTexGenfv(@Lenum int coord, @GLenum int pname, @Check(R) @Const FloatBuffer params)1572 	void glTexGenfv(@GLenum int coord, @GLenum int pname, @Check("4") @Const FloatBuffer params);
1573 
1574 	@StripPostfix("params")
1575 	@DeprecatedGL
glTexGendv(@Lenum int coord, @GLenum int pname, @Check(R) @Const DoubleBuffer params)1576 	void glTexGendv(@GLenum int coord, @GLenum int pname, @Check("4") @Const DoubleBuffer params);
1577 
1578 	@DeprecatedGL
glTexGeni(@Lenum int coord, @GLenum int pname, int param)1579 	void glTexGeni(@GLenum int coord, @GLenum int pname, int param);
1580 
1581 	@StripPostfix("params")
1582 	@DeprecatedGL
glTexGeniv(@Lenum int coord, @GLenum int pname, @Check(R) @Const IntBuffer params)1583 	void glTexGeniv(@GLenum int coord, @GLenum int pname, @Check("4") @Const IntBuffer params);
1584 
glTexEnvf(@Lenum int target, @GLenum int pname, float param)1585 	void glTexEnvf(@GLenum int target, @GLenum int pname, float param);
1586 
glTexEnvi(@Lenum int target, @GLenum int pname, int param)1587 	void glTexEnvi(@GLenum int target, @GLenum int pname, int param);
1588 
1589 	@StripPostfix("params")
glTexEnvfv(@Lenum int target, @GLenum int pname, @Check(R) @Const FloatBuffer params)1590 	void glTexEnvfv(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
1591 
1592 	@StripPostfix("params")
glTexEnviv(@Lenum int target, @GLenum int pname, @Check(R) @Const IntBuffer params)1593 	void glTexEnviv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
1594 
1595 	@DeprecatedGL
glTexCoordPointer(int size, @AutoType(R) @GLenum int type, @GLsizei int stride, @CachedReference(index = R, name = R) @BufferObject(BufferKind.ArrayVBO) @Check @Const @GLint @GLshort @GLfloat @GLdouble Buffer pointer)1596 	void glTexCoordPointer(int size, @AutoType("pointer") @GLenum int type, @GLsizei int stride,
1597 	                       @CachedReference(index = "StateTracker.getReferences(caps).glClientActiveTexture", name = "glTexCoordPointer_buffer")
1598 	                       @BufferObject(BufferKind.ArrayVBO)
1599 	                       @Check
1600 	                       @Const
1601 	                       @GLint
1602 	                       @GLshort
1603 	                       @GLfloat
1604 	                       @GLdouble Buffer pointer);
1605 
1606 	@DeprecatedGL
1607 	@Alternate("glTexCoordPointer")
glTexCoordPointer(int size, @GLenum int type, @GLsizei int stride, @CachedReference(index = R, name = R) @BufferObject(BufferKind.ArrayVBO) @Check @Const ByteBuffer pointer)1608 	void glTexCoordPointer(int size, @GLenum int type, @GLsizei int stride,
1609 	                       @CachedReference(index = "StateTracker.getReferences(caps).glClientActiveTexture", name = "glTexCoordPointer_buffer")
1610 	                       @BufferObject(BufferKind.ArrayVBO)
1611 	                       @Check
1612 	                       @Const ByteBuffer pointer);
1613 
1614 	@NoErrorCheck
1615 	@DeprecatedGL
glTexCoord1f(float s)1616 	void glTexCoord1f(float s);
1617 
1618 	@NoErrorCheck
1619 	@DeprecatedGL
glTexCoord1d(double s)1620 	void glTexCoord1d(double s);
1621 
1622 	@NoErrorCheck
1623 	@DeprecatedGL
glTexCoord2f(float s, float t)1624 	void glTexCoord2f(float s, float t);
1625 
1626 	@NoErrorCheck
1627 	@DeprecatedGL
glTexCoord2d(double s, double t)1628 	void glTexCoord2d(double s, double t);
1629 
1630 	@NoErrorCheck
1631 	@DeprecatedGL
glTexCoord3f(float s, float t, float r)1632 	void glTexCoord3f(float s, float t, float r);
1633 
1634 	@NoErrorCheck
1635 	@DeprecatedGL
glTexCoord3d(double s, double t, double r)1636 	void glTexCoord3d(double s, double t, double r);
1637 
1638 	@NoErrorCheck
1639 	@DeprecatedGL
glTexCoord4f(float s, float t, float r, float q)1640 	void glTexCoord4f(float s, float t, float r, float q);
1641 
1642 	@NoErrorCheck
1643 	@DeprecatedGL
glTexCoord4d(double s, double t, double r, double q)1644 	void glTexCoord4d(double s, double t, double r, double q);
1645 
glStencilOp(@Lenum int fail, @GLenum int zfail, @GLenum int zpass)1646 	void glStencilOp(@GLenum int fail, @GLenum int zfail, @GLenum int zpass);
1647 
glStencilMask(@Luint int mask)1648 	void glStencilMask(@GLuint int mask);
1649 
glViewport(int x, int y, @GLsizei int width, @GLsizei int height)1650 	void glViewport(int x, int y, @GLsizei int width, @GLsizei int height);
1651 }
1652