]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/modules/glcanvas/glcanvas.i
ok
[wxWidgets.git] / utils / wxPython / modules / glcanvas / glcanvas.i
CommitLineData
4b123bb9
HH
1/////////////////////////////////////////////////////////////////////////////
2// Name: glcanvas.i
3// Purpose: SWIG definitions for the OpenGL wxWindows classes
4//
5// Author: Robin Dunn
6//
7// Created: 15-Mar-1999
8// RCS-ID: $Id$
9// Copyright: (c) 1998 by Total Control Software
10// Licence: wxWindows license
11/////////////////////////////////////////////////////////////////////////////
12
13
14%module glcanvas
15
16%{
17#include "helpers.h"
18#include <glcanvas.h>
19%}
20
21//---------------------------------------------------------------------------
22
23%include typemaps.i
24%include my_typemaps.i
25
26%extern wx.i
27%extern windows.i
28%extern windows2.i
29%extern windows3.i
30%extern frames.i
31%extern _defs.i
32%extern misc.i
33%extern gdi.i
34%extern controls.i
35%extern events.i
36
37
38%{
39#if defined(SEPARATE) && defined(__WXMSW__)
40 static wxString wxPyEmptyStr("");
41 static wxPoint wxPyDefaultPosition(-1, -1);
42 static wxSize wxPyDefaultSize(-1, -1);
43#endif
44%}
45
46%pragma(python) code = "import wx"
47
48//---------------------------------------------------------------------------
49
50class wxPalette;
51class wxWindow;
52class wxSize;
53class wxPoint;
54class wxGLCanvas;
55
56//---------------------------------------------------------------------------
57
58class wxGLContext {
59public:
60 wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette);
61 ~wxGLContext();
62
63 void SetCurrent();
64 void SetColour(const char *colour);
65 void SwapBuffers();
66
67#ifdef __WXGTK__
68 void SetupPixelFormat();
69 void SetupPalette(const wxPalette& palette);
70 wxPalette CreateDefaultPalette();
71 wxPalette* GetPalette();
72#endif
73
74 wxWindow* GetWindow();
75};
76
77//---------------------------------------------------------------------------
78
79class wxGLCanvas : public wxScrolledWindow {
80public:
81 wxGLCanvas(wxWindow *parent, wxWindowID id = -1,
82 const wxPoint& pos = wxPyDefaultPosition,
83 const wxSize& size = wxPyDefaultSize, long style = 0,
84 const char* name = "GLCanvas",
85 int *attribList = 0,
86 const wxPalette& palette = wxNullPalette);
87
88 %pragma(python) addtomethod = "__init__:wx._StdWindowCallbacks(self)"
89
90 void SetCurrent();
91 void SetColour(const char *colour);
92 void SwapBuffers();
93
94 wxGLContext* GetContext();
95};
96
97
98//---------------------------------------------------------------------------
99
100typedef unsigned int GLenum;
101typedef unsigned char GLboolean;
102typedef unsigned int GLbitfield;
103typedef signed char GLbyte;
104typedef short GLshort;
105typedef int GLint;
106typedef int GLsizei;
107typedef unsigned char GLubyte;
108typedef unsigned short GLushort;
109typedef unsigned int GLuint;
110typedef float GLfloat;
111typedef float GLclampf;
112typedef double GLdouble;
113typedef double GLclampd;
114typedef void GLvoid;
115
116
117//---------------------------------------------------------------------------
118/* EXT_vertex_array */
119void glArrayElementEXT(GLint i);
120void glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
121void glDrawArraysEXT(GLenum mode, GLint first, GLsizei count);
122void glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *pointer);
123void glGetPointervEXT(GLenum pname, GLvoid* *params);
124void glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
125void glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
126void glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
127void glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
128
129#ifndef __WXGTK__
130/* EXT_color_subtable */
131void glColorSubtableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *table);
132#endif
133
134/* EXT_color_table */
135void glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
136#ifndef __WXGTK__
137void glCopyColorTableEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
138#endif
139void glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *table);
140#ifndef __WXGTK__
141void glGetColorTableParamaterfvEXT(GLenum target, GLenum pname, GLfloat *params);
142void glGetColorTavleParameterivEXT(GLenum target, GLenum pname, GLint *params);
143#endif
144
145#ifndef __WXGTK__
146/* SGI_compiled_vertex_array */
147void glLockArraysSGI(GLint first, GLsizei count);
148void glUnlockArraysSGI();
149
150/* SGI_cull_vertex */
151void glCullParameterdvSGI(GLenum pname, GLdouble* params);
152void glCullParameterfvSGI(GLenum pname, GLfloat* params);
153
154/* SGI_index_func */
155void glIndexFuncSGI(GLenum func, GLclampf ref);
156
157/* SGI_index_material */
158void glIndexMaterialSGI(GLenum face, GLenum mode);
159
160/* WIN_swap_hint */
161void glAddSwapHintRectWin(GLint x, GLint y, GLsizei width, GLsizei height);
162#endif
163
164//----------------------------------------------------------------------
165// From GL.H
166
167enum {
168 GL_2D,
169 GL_2_BYTES,
170 GL_3D,
171 GL_3D_COLOR,
172 GL_3D_COLOR_TEXTURE,
173 GL_3_BYTES,
174 GL_4D_COLOR_TEXTURE,
175 GL_4_BYTES,
176 GL_ACCUM,
177 GL_ACCUM_ALPHA_BITS,
178 GL_ACCUM_BLUE_BITS,
179 GL_ACCUM_BUFFER_BIT,
180 GL_ACCUM_CLEAR_VALUE,
181 GL_ACCUM_GREEN_BITS,
182 GL_ACCUM_RED_BITS,
183 GL_ADD,
184 GL_ALL_ATTRIB_BITS,
185 GL_ALPHA,
186 GL_ALPHA12,
187 GL_ALPHA16,
188 GL_ALPHA4,
189 GL_ALPHA8,
190 GL_ALPHA_BIAS,
191 GL_ALPHA_BITS,
192 GL_ALPHA_SCALE,
193 GL_ALPHA_TEST,
194 GL_ALPHA_TEST_FUNC,
195 GL_ALPHA_TEST_REF,
196 GL_ALWAYS,
197 GL_AMBIENT,
198 GL_AMBIENT_AND_DIFFUSE,
199 GL_AND,
200 GL_AND_INVERTED,
201 GL_AND_REVERSE,
202 GL_ATTRIB_STACK_DEPTH,
203 GL_AUTO_NORMAL,
204 GL_AUX0,
205 GL_AUX1,
206 GL_AUX2,
207 GL_AUX3,
208 GL_AUX_BUFFERS,
209 GL_BACK,
210 GL_BACK_LEFT,
211 GL_BACK_RIGHT,
212#ifndef __WXGTK__
213 GL_BGRA_EXT,
214 GL_BGR_EXT,
215#endif
216 GL_BITMAP,
217 GL_BITMAP_TOKEN,
218 GL_BLEND,
219 GL_BLEND_DST,
220 GL_BLEND_SRC,
221 GL_BLUE,
222 GL_BLUE_BIAS,
223 GL_BLUE_BITS,
224 GL_BLUE_SCALE,
225 GL_BYTE,
226 GL_C3F_V3F,
227 GL_C4F_N3F_V3F,
228 GL_C4UB_V2F,
229 GL_C4UB_V3F,
230 GL_CCW,
231 GL_CLAMP,
232 GL_CLEAR,
233 GL_CLIENT_ALL_ATTRIB_BITS,
234 GL_CLIENT_ATTRIB_STACK_DEPTH,
235 GL_CLIENT_PIXEL_STORE_BIT,
236 GL_CLIENT_VERTEX_ARRAY_BIT,
237 GL_CLIP_PLANE0,
238 GL_CLIP_PLANE1,
239 GL_CLIP_PLANE2,
240 GL_CLIP_PLANE3,
241 GL_CLIP_PLANE4,
242 GL_CLIP_PLANE5,
243 GL_COEFF,
244 GL_COLOR,
245 GL_COLOR_ARRAY,
246 GL_COLOR_ARRAY_COUNT_EXT,
247 GL_COLOR_ARRAY_EXT,
248 GL_COLOR_ARRAY_POINTER,
249 GL_COLOR_ARRAY_POINTER_EXT,
250 GL_COLOR_ARRAY_SIZE,
251 GL_COLOR_ARRAY_SIZE_EXT,
252 GL_COLOR_ARRAY_STRIDE,
253 GL_COLOR_ARRAY_STRIDE_EXT,
254 GL_COLOR_ARRAY_TYPE,
255 GL_COLOR_ARRAY_TYPE_EXT,
256 GL_COLOR_BUFFER_BIT,
257 GL_COLOR_CLEAR_VALUE,
258 GL_COLOR_INDEX,
259 GL_COLOR_INDEX12_EXT,
260 GL_COLOR_INDEX16_EXT,
261 GL_COLOR_INDEX1_EXT,
262 GL_COLOR_INDEX2_EXT,
263 GL_COLOR_INDEX4_EXT,
264 GL_COLOR_INDEX8_EXT,
265 GL_COLOR_INDEXES,
266 GL_COLOR_LOGIC_OP,
267 GL_COLOR_MATERIAL,
268 GL_COLOR_MATERIAL_FACE,
269 GL_COLOR_MATERIAL_PARAMETER,
270 GL_COLOR_TABLE_ALPHA_SIZE_EXT,
271 GL_COLOR_TABLE_BLUE_SIZE_EXT,
272 GL_COLOR_TABLE_FORMAT_EXT,
273 GL_COLOR_TABLE_GREEN_SIZE_EXT,
274 GL_COLOR_TABLE_INTENSITY_SIZE_EXT,
275 GL_COLOR_TABLE_LUMINANCE_SIZE_EXT,
276 GL_COLOR_TABLE_RED_SIZE_EXT,
277 GL_COLOR_TABLE_WIDTH_EXT,
278 GL_COLOR_WRITEMASK,
279 GL_COMPILE,
280 GL_COMPILE_AND_EXECUTE,
281 GL_CONSTANT_ATTENUATION,
282 GL_COPY,
283 GL_COPY_INVERTED,
284 GL_COPY_PIXEL_TOKEN,
285 GL_CULL_FACE,
286 GL_CULL_FACE_MODE,
287 GL_CURRENT_BIT,
288 GL_CURRENT_COLOR,
289 GL_CURRENT_INDEX,
290 GL_CURRENT_NORMAL,
291 GL_CURRENT_RASTER_COLOR,
292 GL_CURRENT_RASTER_DISTANCE,
293 GL_CURRENT_RASTER_INDEX,
294 GL_CURRENT_RASTER_POSITION,
295 GL_CURRENT_RASTER_POSITION_VALID,
296 GL_CURRENT_RASTER_TEXTURE_COORDS,
297 GL_CURRENT_TEXTURE_COORDS,
298 GL_CW,
299 GL_DECAL,
300 GL_DECR,
301 GL_DEPTH,
302 GL_DEPTH_BIAS,
303 GL_DEPTH_BITS,
304 GL_DEPTH_BUFFER_BIT,
305 GL_DEPTH_CLEAR_VALUE,
306 GL_DEPTH_COMPONENT,
307 GL_DEPTH_FUNC,
308 GL_DEPTH_RANGE,
309 GL_DEPTH_SCALE,
310 GL_DEPTH_TEST,
311 GL_DEPTH_WRITEMASK,
312 GL_DIFFUSE,
313 GL_DITHER,
314 GL_DOMAIN,
315 GL_DONT_CARE,
316 GL_DOUBLE,
317 GL_DOUBLEBUFFER,
318#ifndef __WXGTK__
319 GL_DOUBLE_EXT,
320#endif
321 GL_DRAW_BUFFER,
322 GL_DRAW_PIXEL_TOKEN,
323 GL_DST_ALPHA,
324 GL_DST_COLOR,
325 GL_EDGE_FLAG,
326 GL_EDGE_FLAG_ARRAY,
327 GL_EDGE_FLAG_ARRAY_COUNT_EXT,
328 GL_EDGE_FLAG_ARRAY_EXT,
329 GL_EDGE_FLAG_ARRAY_POINTER,
330 GL_EDGE_FLAG_ARRAY_POINTER_EXT,
331 GL_EDGE_FLAG_ARRAY_STRIDE,
332 GL_EDGE_FLAG_ARRAY_STRIDE_EXT,
333 GL_EMISSION,
334 GL_ENABLE_BIT,
335 GL_EQUAL,
336 GL_EQUIV,
337 GL_EVAL_BIT,
338 GL_EXP,
339 GL_EXP2,
340 GL_EXTENSIONS,
341#ifndef __WXGTK__
342 GL_EXT_bgra,
343#endif
344 GL_EXT_paletted_texture,
345 GL_EXT_vertex_array,
346 GL_EYE_LINEAR,
347 GL_EYE_PLANE,
348 GL_FALSE,
349 GL_FASTEST,
350 GL_FEEDBACK,
351 GL_FEEDBACK_BUFFER_POINTER,
352 GL_FEEDBACK_BUFFER_SIZE,
353 GL_FEEDBACK_BUFFER_TYPE,
354 GL_FILL,
355 GL_FLAT,
356 GL_FLOAT,
357 GL_FOG,
358 GL_FOG_BIT,
359 GL_FOG_COLOR,
360 GL_FOG_DENSITY,
361 GL_FOG_END,
362 GL_FOG_HINT,
363 GL_FOG_INDEX,
364 GL_FOG_MODE,
365 GL_FOG_START,
366 GL_FRONT,
367 GL_FRONT_AND_BACK,
368 GL_FRONT_FACE,
369 GL_FRONT_LEFT,
370 GL_FRONT_RIGHT,
371 GL_GEQUAL,
372 GL_GREATER,
373 GL_GREEN,
374 GL_GREEN_BIAS,
375 GL_GREEN_BITS,
376 GL_GREEN_SCALE,
377 GL_HINT_BIT,
378 GL_INCR,
379 GL_INDEX_ARRAY,
380 GL_INDEX_ARRAY_COUNT_EXT,
381 GL_INDEX_ARRAY_EXT,
382 GL_INDEX_ARRAY_POINTER,
383 GL_INDEX_ARRAY_POINTER_EXT,
384 GL_INDEX_ARRAY_STRIDE,
385 GL_INDEX_ARRAY_STRIDE_EXT,
386 GL_INDEX_ARRAY_TYPE,
387 GL_INDEX_ARRAY_TYPE_EXT,
388 GL_INDEX_BITS,
389 GL_INDEX_CLEAR_VALUE,
390 GL_INDEX_LOGIC_OP,
391 GL_INDEX_MODE,
392 GL_INDEX_OFFSET,
393 GL_INDEX_SHIFT,
394 GL_INDEX_WRITEMASK,
395 GL_INT,
396 GL_INTENSITY,
397 GL_INTENSITY12,
398 GL_INTENSITY16,
399 GL_INTENSITY4,
400 GL_INTENSITY8,
401 GL_INVALID_ENUM,
402 GL_INVALID_OPERATION,
403 GL_INVALID_VALUE,
404 GL_INVERT,
405 GL_KEEP,
406 GL_LEFT,
407 GL_LEQUAL,
408 GL_LESS,
409 GL_LIGHT0,
410 GL_LIGHT1,
411 GL_LIGHT2,
412 GL_LIGHT3,
413 GL_LIGHT4,
414 GL_LIGHT5,
415 GL_LIGHT6,
416 GL_LIGHT7,
417 GL_LIGHTING,
418 GL_LIGHTING_BIT,
419 GL_LIGHT_MODEL_AMBIENT,
420 GL_LIGHT_MODEL_LOCAL_VIEWER,
421 GL_LIGHT_MODEL_TWO_SIDE,
422 GL_LINE,
423 GL_LINEAR,
424 GL_LINEAR_ATTENUATION,
425 GL_LINEAR_MIPMAP_LINEAR,
426 GL_LINEAR_MIPMAP_NEAREST,
427 GL_LINES,
428 GL_LINE_BIT,
429 GL_LINE_LOOP,
430 GL_LINE_RESET_TOKEN,
431 GL_LINE_SMOOTH,
432 GL_LINE_SMOOTH_HINT,
433 GL_LINE_STIPPLE,
434 GL_LINE_STIPPLE_PATTERN,
435 GL_LINE_STIPPLE_REPEAT,
436 GL_LINE_STRIP,
437 GL_LINE_TOKEN,
438 GL_LINE_WIDTH,
439 GL_LINE_WIDTH_GRANULARITY,
440 GL_LINE_WIDTH_RANGE,
441 GL_LIST_BASE,
442 GL_LIST_BIT,
443 GL_LIST_INDEX,
444 GL_LIST_MODE,
445 GL_LOAD,
446 GL_LOGIC_OP,
447 GL_LOGIC_OP_MODE,
448 GL_LUMINANCE,
449 GL_LUMINANCE12,
450 GL_LUMINANCE12_ALPHA12,
451 GL_LUMINANCE12_ALPHA4,
452 GL_LUMINANCE16,
453 GL_LUMINANCE16_ALPHA16,
454 GL_LUMINANCE4,
455 GL_LUMINANCE4_ALPHA4,
456 GL_LUMINANCE6_ALPHA2,
457 GL_LUMINANCE8,
458 GL_LUMINANCE8_ALPHA8,
459 GL_LUMINANCE_ALPHA,
460 GL_MAP1_COLOR_4,
461 GL_MAP1_GRID_DOMAIN,
462 GL_MAP1_GRID_SEGMENTS,
463 GL_MAP1_INDEX,
464 GL_MAP1_NORMAL,
465 GL_MAP1_TEXTURE_COORD_1,
466 GL_MAP1_TEXTURE_COORD_2,
467 GL_MAP1_TEXTURE_COORD_3,
468 GL_MAP1_TEXTURE_COORD_4,
469 GL_MAP1_VERTEX_3,
470 GL_MAP1_VERTEX_4,
471 GL_MAP2_COLOR_4,
472 GL_MAP2_GRID_DOMAIN,
473 GL_MAP2_GRID_SEGMENTS,
474 GL_MAP2_INDEX,
475 GL_MAP2_NORMAL,
476 GL_MAP2_TEXTURE_COORD_1,
477 GL_MAP2_TEXTURE_COORD_2,
478 GL_MAP2_TEXTURE_COORD_3,
479 GL_MAP2_TEXTURE_COORD_4,
480 GL_MAP2_VERTEX_3,
481 GL_MAP2_VERTEX_4,
482 GL_MAP_COLOR,
483 GL_MAP_STENCIL,
484 GL_MATRIX_MODE,
485 GL_MAX_ATTRIB_STACK_DEPTH,
486 GL_MAX_CLIENT_ATTRIB_STACK_DEPTH,
487 GL_MAX_CLIP_PLANES,
488 GL_MAX_EVAL_ORDER,
489 GL_MAX_LIGHTS,
490 GL_MAX_LIST_NESTING,
491 GL_MAX_MODELVIEW_STACK_DEPTH,
492 GL_MAX_NAME_STACK_DEPTH,
493 GL_MAX_PIXEL_MAP_TABLE,
494 GL_MAX_PROJECTION_STACK_DEPTH,
495 GL_MAX_TEXTURE_SIZE,
496 GL_MAX_TEXTURE_STACK_DEPTH,
497 GL_MAX_VIEWPORT_DIMS,
498 GL_MODELVIEW,
499 GL_MODELVIEW_MATRIX,
500 GL_MODELVIEW_STACK_DEPTH,
501 GL_MODULATE,
502 GL_MULT,
503 GL_N3F_V3F,
504 GL_NAME_STACK_DEPTH,
505 GL_NAND,
506 GL_NEAREST,
507 GL_NEAREST_MIPMAP_LINEAR,
508 GL_NEAREST_MIPMAP_NEAREST,
509 GL_NEVER,
510 GL_NICEST,
511 GL_NONE,
512 GL_NOOP,
513 GL_NOR,
514 GL_NORMALIZE,
515 GL_NORMAL_ARRAY,
516 GL_NORMAL_ARRAY_COUNT_EXT,
517 GL_NORMAL_ARRAY_EXT,
518 GL_NORMAL_ARRAY_POINTER,
519 GL_NORMAL_ARRAY_POINTER_EXT,
520 GL_NORMAL_ARRAY_STRIDE,
521 GL_NORMAL_ARRAY_STRIDE_EXT,
522 GL_NORMAL_ARRAY_TYPE,
523 GL_NORMAL_ARRAY_TYPE_EXT,
524 GL_NOTEQUAL,
525 GL_NO_ERROR,
526 GL_OBJECT_LINEAR,
527 GL_OBJECT_PLANE,
528 GL_ONE,
529 GL_ONE_MINUS_DST_ALPHA,
530 GL_ONE_MINUS_DST_COLOR,
531 GL_ONE_MINUS_SRC_ALPHA,
532 GL_ONE_MINUS_SRC_COLOR,
533 GL_OR,
534 GL_ORDER,
535 GL_OR_INVERTED,
536 GL_OR_REVERSE,
537 GL_OUT_OF_MEMORY,
538 GL_PACK_ALIGNMENT,
539 GL_PACK_LSB_FIRST,
540 GL_PACK_ROW_LENGTH,
541 GL_PACK_SKIP_PIXELS,
542 GL_PACK_SKIP_ROWS,
543 GL_PACK_SWAP_BYTES,
544 GL_PASS_THROUGH_TOKEN,
545 GL_PERSPECTIVE_CORRECTION_HINT,
546 GL_PIXEL_MAP_A_TO_A,
547 GL_PIXEL_MAP_A_TO_A_SIZE,
548 GL_PIXEL_MAP_B_TO_B,
549 GL_PIXEL_MAP_B_TO_B_SIZE,
550 GL_PIXEL_MAP_G_TO_G,
551 GL_PIXEL_MAP_G_TO_G_SIZE,
552 GL_PIXEL_MAP_I_TO_A,
553 GL_PIXEL_MAP_I_TO_A_SIZE,
554 GL_PIXEL_MAP_I_TO_B,
555 GL_PIXEL_MAP_I_TO_B_SIZE,
556 GL_PIXEL_MAP_I_TO_G,
557 GL_PIXEL_MAP_I_TO_G_SIZE,
558 GL_PIXEL_MAP_I_TO_I,
559 GL_PIXEL_MAP_I_TO_I_SIZE,
560 GL_PIXEL_MAP_I_TO_R,
561 GL_PIXEL_MAP_I_TO_R_SIZE,
562 GL_PIXEL_MAP_R_TO_R,
563 GL_PIXEL_MAP_R_TO_R_SIZE,
564 GL_PIXEL_MAP_S_TO_S,
565 GL_PIXEL_MAP_S_TO_S_SIZE,
566 GL_PIXEL_MODE_BIT,
567 GL_POINT,
568 GL_POINTS,
569 GL_POINT_BIT,
570 GL_POINT_SIZE,
571 GL_POINT_SIZE_GRANULARITY,
572 GL_POINT_SIZE_RANGE,
573 GL_POINT_SMOOTH,
574 GL_POINT_SMOOTH_HINT,
575 GL_POINT_TOKEN,
576 GL_POLYGON,
577 GL_POLYGON_BIT,
578 GL_POLYGON_MODE,
579 GL_POLYGON_OFFSET_FACTOR,
580 GL_POLYGON_OFFSET_FILL,
581 GL_POLYGON_OFFSET_LINE,
582 GL_POLYGON_OFFSET_POINT,
583 GL_POLYGON_OFFSET_UNITS,
584 GL_POLYGON_SMOOTH,
585 GL_POLYGON_SMOOTH_HINT,
586 GL_POLYGON_STIPPLE,
587 GL_POLYGON_STIPPLE_BIT,
588 GL_POLYGON_TOKEN,
589 GL_POSITION,
590 GL_PROJECTION,
591 GL_PROJECTION_MATRIX,
592 GL_PROJECTION_STACK_DEPTH,
593 GL_PROXY_TEXTURE_1D,
594 GL_PROXY_TEXTURE_2D,
595 GL_Q,
596 GL_QUADRATIC_ATTENUATION,
597 GL_QUADS,
598 GL_QUAD_STRIP,
599 GL_R,
600 GL_R3_G3_B2,
601 GL_READ_BUFFER,
602 GL_RED,
603 GL_RED_BIAS,
604 GL_RED_BITS,
605 GL_RED_SCALE,
606 GL_RENDER,
607 GL_RENDERER,
608 GL_RENDER_MODE,
609 GL_REPEAT,
610 GL_REPLACE,
611 GL_RETURN,
612 GL_RGB,
613 GL_RGB10,
614 GL_RGB10_A2,
615 GL_RGB12,
616 GL_RGB16,
617 GL_RGB4,
618 GL_RGB5,
619 GL_RGB5_A1,
620 GL_RGB8,
621 GL_RGBA,
622 GL_RGBA12,
623 GL_RGBA16,
624 GL_RGBA2,
625 GL_RGBA4,
626 GL_RGBA8,
627 GL_RGBA_MODE,
628 GL_RIGHT,
629 GL_S,
630 GL_SCISSOR_BIT,
631 GL_SCISSOR_BOX,
632 GL_SCISSOR_TEST,
633 GL_SELECT,
634 GL_SELECTION_BUFFER_POINTER,
635 GL_SELECTION_BUFFER_SIZE,
636 GL_SET,
637 GL_SHADE_MODEL,
638 GL_SHININESS,
639 GL_SHORT,
640 GL_SMOOTH,
641 GL_SPECULAR,
642 GL_SPHERE_MAP,
643 GL_SPOT_CUTOFF,
644 GL_SPOT_DIRECTION,
645 GL_SPOT_EXPONENT,
646 GL_SRC_ALPHA,
647 GL_SRC_ALPHA_SATURATE,
648 GL_SRC_COLOR,
649 GL_STACK_OVERFLOW,
650 GL_STACK_UNDERFLOW,
651 GL_STENCIL,
652 GL_STENCIL_BITS,
653 GL_STENCIL_BUFFER_BIT,
654 GL_STENCIL_CLEAR_VALUE,
655 GL_STENCIL_FAIL,
656 GL_STENCIL_FUNC,
657 GL_STENCIL_INDEX,
658 GL_STENCIL_PASS_DEPTH_FAIL,
659 GL_STENCIL_PASS_DEPTH_PASS,
660 GL_STENCIL_REF,
661 GL_STENCIL_TEST,
662 GL_STENCIL_VALUE_MASK,
663 GL_STENCIL_WRITEMASK,
664 GL_STEREO,
665 GL_SUBPIXEL_BITS,
666 GL_T,
667 GL_T2F_C3F_V3F,
668 GL_T2F_C4F_N3F_V3F,
669 GL_T2F_C4UB_V3F,
670 GL_T2F_N3F_V3F,
671 GL_T2F_V3F,
672 GL_T4F_C4F_N3F_V4F,
673 GL_T4F_V4F,
674 GL_TEXTURE,
675 GL_TEXTURE_1D,
676 GL_TEXTURE_2D,
677 GL_TEXTURE_ALPHA_SIZE,
678 GL_TEXTURE_BINDING_1D,
679 GL_TEXTURE_BINDING_2D,
680 GL_TEXTURE_BIT,
681 GL_TEXTURE_BLUE_SIZE,
682 GL_TEXTURE_BORDER,
683 GL_TEXTURE_BORDER_COLOR,
684 GL_TEXTURE_COMPONENTS,
685 GL_TEXTURE_COORD_ARRAY,
686 GL_TEXTURE_COORD_ARRAY_COUNT_EXT,
687 GL_TEXTURE_COORD_ARRAY_EXT,
688 GL_TEXTURE_COORD_ARRAY_POINTER,
689 GL_TEXTURE_COORD_ARRAY_POINTER_EXT,
690 GL_TEXTURE_COORD_ARRAY_SIZE,
691 GL_TEXTURE_COORD_ARRAY_SIZE_EXT,
692 GL_TEXTURE_COORD_ARRAY_STRIDE,
693 GL_TEXTURE_COORD_ARRAY_STRIDE_EXT,
694 GL_TEXTURE_COORD_ARRAY_TYPE,
695 GL_TEXTURE_COORD_ARRAY_TYPE_EXT,
696 GL_TEXTURE_ENV,
697 GL_TEXTURE_ENV_COLOR,
698 GL_TEXTURE_ENV_MODE,
699 GL_TEXTURE_GEN_MODE,
700 GL_TEXTURE_GEN_Q,
701 GL_TEXTURE_GEN_R,
702 GL_TEXTURE_GEN_S,
703 GL_TEXTURE_GEN_T,
704 GL_TEXTURE_GREEN_SIZE,
705 GL_TEXTURE_HEIGHT,
706 GL_TEXTURE_INTENSITY_SIZE,
707 GL_TEXTURE_INTERNAL_FORMAT,
708 GL_TEXTURE_LUMINANCE_SIZE,
709 GL_TEXTURE_MAG_FILTER,
710 GL_TEXTURE_MATRIX,
711 GL_TEXTURE_MIN_FILTER,
712 GL_TEXTURE_PRIORITY,
713 GL_TEXTURE_RED_SIZE,
714 GL_TEXTURE_RESIDENT,
715 GL_TEXTURE_STACK_DEPTH,
716 GL_TEXTURE_WIDTH,
717 GL_TEXTURE_WRAP_S,
718 GL_TEXTURE_WRAP_T,
719 GL_TRANSFORM_BIT,
720 GL_TRIANGLES,
721 GL_TRIANGLE_FAN,
722 GL_TRIANGLE_STRIP,
723 GL_TRUE,
724 GL_UNPACK_ALIGNMENT,
725 GL_UNPACK_LSB_FIRST,
726 GL_UNPACK_ROW_LENGTH,
727 GL_UNPACK_SKIP_PIXELS,
728 GL_UNPACK_SKIP_ROWS,
729 GL_UNPACK_SWAP_BYTES,
730 GL_UNSIGNED_BYTE,
731 GL_UNSIGNED_INT,
732 GL_UNSIGNED_SHORT,
733 GL_V2F,
734 GL_V3F,
735 GL_VENDOR,
736 GL_VERSION,
737 GL_VERTEX_ARRAY,
738 GL_VERTEX_ARRAY_COUNT_EXT,
739 GL_VERTEX_ARRAY_EXT,
740 GL_VERTEX_ARRAY_POINTER,
741 GL_VERTEX_ARRAY_POINTER_EXT,
742 GL_VERTEX_ARRAY_SIZE,
743 GL_VERTEX_ARRAY_SIZE_EXT,
744 GL_VERTEX_ARRAY_STRIDE,
745 GL_VERTEX_ARRAY_STRIDE_EXT,
746 GL_VERTEX_ARRAY_TYPE,
747 GL_VERTEX_ARRAY_TYPE_EXT,
748 GL_VIEWPORT,
749 GL_VIEWPORT_BIT,
750 GL_XOR,
751 GL_ZERO,
752 GL_ZOOM_X,
753 GL_ZOOM_Y,
754};
755
756
757void glAccum (GLenum op, GLfloat value);
758void glAlphaFunc (GLenum func, GLclampf ref);
759GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
760void glArrayElement (GLint i);
761void glBegin (GLenum mode);
762void glBindTexture (GLenum target, GLuint texture);
763void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
764void glBlendFunc (GLenum sfactor, GLenum dfactor);
765void glCallList (GLuint list);
766void glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
767void glClear (GLbitfield mask);
768void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
769void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
770void glClearDepth (GLclampd depth);
771void glClearIndex (GLfloat c);
772void glClearStencil (GLint s);
773void glClipPlane (GLenum plane, const GLdouble *equation);
774void glColor3b (GLbyte red, GLbyte green, GLbyte blue);
775void glColor3bv (const GLbyte *v);
776void glColor3d (GLdouble red, GLdouble green, GLdouble blue);
777void glColor3dv (const GLdouble *v);
778void glColor3f (GLfloat red, GLfloat green, GLfloat blue);
779void glColor3fv (const GLfloat *v);
780void glColor3i (GLint red, GLint green, GLint blue);
781void glColor3iv (const GLint *v);
782void glColor3s (GLshort red, GLshort green, GLshort blue);
783void glColor3sv (const GLshort *v);
784void glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
785void glColor3ubv (const GLubyte *v);
786void glColor3ui (GLuint red, GLuint green, GLuint blue);
787void glColor3uiv (const GLuint *v);
788void glColor3us (GLushort red, GLushort green, GLushort blue);
789void glColor3usv (const GLushort *v);
790void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
791void glColor4bv (const GLbyte *v);
792void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
793void glColor4dv (const GLdouble *v);
794void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
795void glColor4fv (const GLfloat *v);
796void glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
797void glColor4iv (const GLint *v);
798void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
799void glColor4sv (const GLshort *v);
800void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
801void glColor4ubv (const GLubyte *v);
802void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
803void glColor4uiv (const GLuint *v);
804void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
805void glColor4usv (const GLushort *v);
806void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
807void glColorMaterial (GLenum face, GLenum mode);
808void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
809void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
810void glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
811void glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
812void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
813void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
814void glCullFace (GLenum mode);
815void glDeleteLists (GLuint list, GLsizei range);
816void glDeleteTextures (GLsizei n, const GLuint *textures);
817void glDepthFunc (GLenum func);
818void glDepthMask (GLboolean flag);
819void glDepthRange (GLclampd zNear, GLclampd zFar);
820void glDisable (GLenum cap);
821void glDisableClientState (GLenum array);
822void glDrawArrays (GLenum mode, GLint first, GLsizei count);
823void glDrawBuffer (GLenum mode);
824void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
825void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
826void glEdgeFlag (GLboolean flag);
827void glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer);
828void glEdgeFlagv (const GLboolean *flag);
829void glEnable (GLenum cap);
830void glEnableClientState (GLenum array);
831void glEnd (void);
832void glEndList (void);
833void glEvalCoord1d (GLdouble u);
834void glEvalCoord1dv (const GLdouble *u);
835void glEvalCoord1f (GLfloat u);
836void glEvalCoord1fv (const GLfloat *u);
837void glEvalCoord2d (GLdouble u, GLdouble v);
838void glEvalCoord2dv (const GLdouble *u);
839void glEvalCoord2f (GLfloat u, GLfloat v);
840void glEvalCoord2fv (const GLfloat *u);
841void glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
842void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
843void glEvalPoint1 (GLint i);
844void glEvalPoint2 (GLint i, GLint j);
845void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
846void glFinish (void);
847void glFlush (void);
848void glFogf (GLenum pname, GLfloat param);
849void glFogfv (GLenum pname, const GLfloat *params);
850void glFogi (GLenum pname, GLint param);
851void glFogiv (GLenum pname, const GLint *params);
852void glFrontFace (GLenum mode);
853void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
854GLuint glGenLists (GLsizei range);
855void glGenTextures (GLsizei n, GLuint *textures);
856void glGetBooleanv (GLenum pname, GLboolean *params);
857void glGetClipPlane (GLenum plane, GLdouble *equation);
858void glGetDoublev (GLenum pname, GLdouble *params);
859GLenum glGetError (void);
860void glGetFloatv (GLenum pname, GLfloat *params);
861void glGetIntegerv (GLenum pname, GLint *params);
862void glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
863void glGetLightiv (GLenum light, GLenum pname, GLint *params);
864void glGetMapdv (GLenum target, GLenum query, GLdouble *v);
865void glGetMapfv (GLenum target, GLenum query, GLfloat *v);
866void glGetMapiv (GLenum target, GLenum query, GLint *v);
867void glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
868void glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
869void glGetPixelMapfv (GLenum map, GLfloat *values);
870void glGetPixelMapuiv (GLenum map, GLuint *values);
871void glGetPixelMapusv (GLenum map, GLushort *values);
872void glGetPointerv (GLenum pname, GLvoid* *params);
873void glGetPolygonStipple (GLubyte *mask);
874const GLubyte * glGetString (GLenum name);
875void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
876void glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
877void glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
878void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
879void glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
880void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
881void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
882void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
883void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
884void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
885void glHint (GLenum target, GLenum mode);
886void glIndexMask (GLuint mask);
887void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
888void glIndexd (GLdouble c);
889void glIndexdv (const GLdouble *c);
890void glIndexf (GLfloat c);
891void glIndexfv (const GLfloat *c);
892void glIndexi (GLint c);
893void glIndexiv (const GLint *c);
894void glIndexs (GLshort c);
895void glIndexsv (const GLshort *c);
896void glIndexub (GLubyte c);
897void glIndexubv (const GLubyte *c);
898void glInitNames (void);
899void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
900GLboolean glIsEnabled (GLenum cap);
901GLboolean glIsList (GLuint list);
902GLboolean glIsTexture (GLuint texture);
903void glLightModelf (GLenum pname, GLfloat param);
904void glLightModelfv (GLenum pname, const GLfloat *params);
905void glLightModeli (GLenum pname, GLint param);
906void glLightModeliv (GLenum pname, const GLint *params);
907void glLightf (GLenum light, GLenum pname, GLfloat param);
908void glLightfv (GLenum light, GLenum pname, const GLfloat *params);
909void glLighti (GLenum light, GLenum pname, GLint param);
910void glLightiv (GLenum light, GLenum pname, const GLint *params);
911void glLineStipple (GLint factor, GLushort pattern);
912void glLineWidth (GLfloat width);
913void glListBase (GLuint base);
914void glLoadIdentity (void);
915void glLoadMatrixd (const GLdouble *m);
916void glLoadMatrixf (const GLfloat *m);
917void glLoadName (GLuint name);
918void glLogicOp (GLenum opcode);
919void glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
920void glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
921void glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
922void glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
923void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
924void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
925void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
926void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
927void glMaterialf (GLenum face, GLenum pname, GLfloat param);
928void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
929void glMateriali (GLenum face, GLenum pname, GLint param);
930void glMaterialiv (GLenum face, GLenum pname, const GLint *params);
931void glMatrixMode (GLenum mode);
932void glMultMatrixd (const GLdouble *m);
933void glMultMatrixf (const GLfloat *m);
934void glNewList (GLuint list, GLenum mode);
935void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
936void glNormal3bv (const GLbyte *v);
937void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
938void glNormal3dv (const GLdouble *v);
939void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
940void glNormal3fv (const GLfloat *v);
941void glNormal3i (GLint nx, GLint ny, GLint nz);
942void glNormal3iv (const GLint *v);
943void glNormal3s (GLshort nx, GLshort ny, GLshort nz);
944void glNormal3sv (const GLshort *v);
945void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
946void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
947void glPassThrough (GLfloat token);
948void glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
949void glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
950void glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
951void glPixelStoref (GLenum pname, GLfloat param);
952void glPixelStorei (GLenum pname, GLint param);
953void glPixelTransferf (GLenum pname, GLfloat param);
954void glPixelTransferi (GLenum pname, GLint param);
955void glPixelZoom (GLfloat xfactor, GLfloat yfactor);
956void glPointSize (GLfloat size);
957void glPolygonMode (GLenum face, GLenum mode);
958void glPolygonOffset (GLfloat factor, GLfloat units);
959void glPolygonStipple (const GLubyte *mask);
960void glPopAttrib (void);
961void glPopClientAttrib (void);
962void glPopMatrix (void);
963void glPopName (void);
964void glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
965void glPushAttrib (GLbitfield mask);
966void glPushClientAttrib (GLbitfield mask);
967void glPushMatrix (void);
968void glPushName (GLuint name);
969void glRasterPos2d (GLdouble x, GLdouble y);
970void glRasterPos2dv (const GLdouble *v);
971void glRasterPos2f (GLfloat x, GLfloat y);
972void glRasterPos2fv (const GLfloat *v);
973void glRasterPos2i (GLint x, GLint y);
974void glRasterPos2iv (const GLint *v);
975void glRasterPos2s (GLshort x, GLshort y);
976void glRasterPos2sv (const GLshort *v);
977void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
978void glRasterPos3dv (const GLdouble *v);
979void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
980void glRasterPos3fv (const GLfloat *v);
981void glRasterPos3i (GLint x, GLint y, GLint z);
982void glRasterPos3iv (const GLint *v);
983void glRasterPos3s (GLshort x, GLshort y, GLshort z);
984void glRasterPos3sv (const GLshort *v);
985void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
986void glRasterPos4dv (const GLdouble *v);
987void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
988void glRasterPos4fv (const GLfloat *v);
989void glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
990void glRasterPos4iv (const GLint *v);
991void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
992void glRasterPos4sv (const GLshort *v);
993void glReadBuffer (GLenum mode);
994void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
995void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
996void glRectdv (const GLdouble *v1, const GLdouble *v2);
997void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
998void glRectfv (const GLfloat *v1, const GLfloat *v2);
999void glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1000void glRectiv (const GLint *v1, const GLint *v2);
1001void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1002void glRectsv (const GLshort *v1, const GLshort *v2);
1003GLint glRenderMode (GLenum mode);
1004void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1005void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1006void glScaled (GLdouble x, GLdouble y, GLdouble z);
1007void glScalef (GLfloat x, GLfloat y, GLfloat z);
1008void glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1009void glSelectBuffer (GLsizei size, GLuint *buffer);
1010void glShadeModel (GLenum mode);
1011void glStencilFunc (GLenum func, GLint ref, GLuint mask);
1012void glStencilMask (GLuint mask);
1013void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1014void glTexCoord1d (GLdouble s);
1015void glTexCoord1dv (const GLdouble *v);
1016void glTexCoord1f (GLfloat s);
1017void glTexCoord1fv (const GLfloat *v);
1018void glTexCoord1i (GLint s);
1019void glTexCoord1iv (const GLint *v);
1020void glTexCoord1s (GLshort s);
1021void glTexCoord1sv (const GLshort *v);
1022void glTexCoord2d (GLdouble s, GLdouble t);
1023void glTexCoord2dv (const GLdouble *v);
1024void glTexCoord2f (GLfloat s, GLfloat t);
1025void glTexCoord2fv (const GLfloat *v);
1026void glTexCoord2i (GLint s, GLint t);
1027void glTexCoord2iv (const GLint *v);
1028void glTexCoord2s (GLshort s, GLshort t);
1029void glTexCoord2sv (const GLshort *v);
1030void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1031void glTexCoord3dv (const GLdouble *v);
1032void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1033void glTexCoord3fv (const GLfloat *v);
1034void glTexCoord3i (GLint s, GLint t, GLint r);
1035void glTexCoord3iv (const GLint *v);
1036void glTexCoord3s (GLshort s, GLshort t, GLshort r);
1037void glTexCoord3sv (const GLshort *v);
1038void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1039void glTexCoord4dv (const GLdouble *v);
1040void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1041void glTexCoord4fv (const GLfloat *v);
1042void glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1043void glTexCoord4iv (const GLint *v);
1044void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1045void glTexCoord4sv (const GLshort *v);
1046void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1047void glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1048void glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1049void glTexEnvi (GLenum target, GLenum pname, GLint param);
1050void glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1051void glTexGend (GLenum coord, GLenum pname, GLdouble param);
1052void glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1053void glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1054void glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1055void glTexGeni (GLenum coord, GLenum pname, GLint param);
1056void glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1057void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1058void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1059void glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1060void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1061void glTexParameteri (GLenum target, GLenum pname, GLint param);
1062void glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1063void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1064void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1065void glTranslated (GLdouble x, GLdouble y, GLdouble z);
1066void glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1067void glVertex2d (GLdouble x, GLdouble y);
1068void glVertex2dv (const GLdouble *v);
1069void glVertex2f (GLfloat x, GLfloat y);
1070void glVertex2fv (const GLfloat *v);
1071void glVertex2i (GLint x, GLint y);
1072void glVertex2iv (const GLint *v);
1073void glVertex2s (GLshort x, GLshort y);
1074void glVertex2sv (const GLshort *v);
1075void glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1076void glVertex3dv (const GLdouble *v);
1077void glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1078void glVertex3fv (const GLfloat *v);
1079void glVertex3i (GLint x, GLint y, GLint z);
1080void glVertex3iv (const GLint *v);
1081void glVertex3s (GLshort x, GLshort y, GLshort z);
1082void glVertex3sv (const GLshort *v);
1083void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1084void glVertex4dv (const GLdouble *v);
1085void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1086void glVertex4fv (const GLfloat *v);
1087void glVertex4i (GLint x, GLint y, GLint z, GLint w);
1088void glVertex4iv (const GLint *v);
1089void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1090void glVertex4sv (const GLshort *v);
1091void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1092void glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
1093
1094//---------------------------------------------------------------------------
1095
1096%init %{
1097
1098 wxClassInfo::CleanUpClasses();
1099 wxClassInfo::InitializeClasses();
1100
1101%}
1102
1103//---------------------------------------------------------------------------
1104//---------------------------------------------------------------------------