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