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