1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: SWIG definitions for the OpenGL wxWindows classes
7 // Created: 15-Mar-1999
9 // Copyright: (c) 1998 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
21 //---------------------------------------------------------------------------
24 %include my_typemaps.i
39 #if defined(__WXMSW__)
40 static wxString wxPyEmptyStr("");
41 static wxPoint wxPyDefaultPosition(-1, -1);
42 static wxSize wxPyDefaultSize(-1, -1);
46 %pragma(python) code = "import wx"
48 //---------------------------------------------------------------------------
56 //---------------------------------------------------------------------------
60 wxGLContext(bool isRGB, wxGLCanvas *win, const wxPalette& palette = wxNullPalette);
64 void SetColour(const char *colour);
68 void SetupPixelFormat();
69 void SetupPalette(const wxPalette& palette);
70 wxPalette CreateDefaultPalette();
71 wxPalette* GetPalette();
74 wxWindow* GetWindow();
77 //---------------------------------------------------------------------------
79 class wxGLCanvas : public wxScrolledWindow {
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",
86 const wxPalette& palette = wxNullPalette);
88 %pragma(python) addtomethod = "__init__:wx._StdWindowCallbacks(self)"
91 void SetColour(const char *colour);
94 wxGLContext* GetContext();
98 //---------------------------------------------------------------------------
100 typedef unsigned int GLenum;
101 typedef unsigned char GLboolean;
102 typedef unsigned int GLbitfield;
103 typedef signed char GLbyte;
104 typedef short GLshort;
107 typedef unsigned char GLubyte;
108 typedef unsigned short GLushort;
109 typedef unsigned int GLuint;
110 typedef float GLfloat;
111 typedef float GLclampf;
112 typedef double GLdouble;
113 typedef double GLclampd;
117 //---------------------------------------------------------------------------
118 /* EXT_vertex_array */
119 void glArrayElementEXT(GLint i);
120 void glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
121 void glDrawArraysEXT(GLenum mode, GLint first, GLsizei count);
122 void glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *pointer);
123 void glGetPointervEXT(GLenum pname, GLvoid* *params);
124 void glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
125 void glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
126 void glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
127 void glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
130 /* EXT_color_subtable */
131 void glColorSubtableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *table);
134 /* EXT_color_table */
135 void glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
137 void glCopyColorTableEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
139 void glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *table);
141 void glGetColorTableParamaterfvEXT(GLenum target, GLenum pname, GLfloat *params);
142 void glGetColorTavleParameterivEXT(GLenum target, GLenum pname, GLint *params);
146 /* SGI_compiled_vertex_array */
147 void glLockArraysSGI(GLint first, GLsizei count);
148 void glUnlockArraysSGI();
150 /* SGI_cull_vertex */
151 void glCullParameterdvSGI(GLenum pname, GLdouble* params);
152 void glCullParameterfvSGI(GLenum pname, GLfloat* params);
155 void glIndexFuncSGI(GLenum func, GLclampf ref);
157 /* SGI_index_material */
158 void glIndexMaterialSGI(GLenum face, GLenum mode);
161 void glAddSwapHintRectWin(GLint x, GLint y, GLsizei width, GLsizei height);
164 //----------------------------------------------------------------------
180 GL_ACCUM_CLEAR_VALUE,
198 GL_AMBIENT_AND_DIFFUSE,
202 GL_ATTRIB_STACK_DEPTH,
233 GL_CLIENT_ALL_ATTRIB_BITS,
234 GL_CLIENT_ATTRIB_STACK_DEPTH,
235 GL_CLIENT_PIXEL_STORE_BIT,
236 GL_CLIENT_VERTEX_ARRAY_BIT,
246 GL_COLOR_ARRAY_COUNT_EXT,
248 GL_COLOR_ARRAY_POINTER,
249 GL_COLOR_ARRAY_POINTER_EXT,
251 GL_COLOR_ARRAY_SIZE_EXT,
252 GL_COLOR_ARRAY_STRIDE,
253 GL_COLOR_ARRAY_STRIDE_EXT,
255 GL_COLOR_ARRAY_TYPE_EXT,
257 GL_COLOR_CLEAR_VALUE,
259 GL_COLOR_INDEX12_EXT,
260 GL_COLOR_INDEX16_EXT,
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,
280 GL_COMPILE_AND_EXECUTE,
281 GL_CONSTANT_ATTENUATION,
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,
305 GL_DEPTH_CLEAR_VALUE,
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,
344 GL_EXT_paletted_texture,
351 GL_FEEDBACK_BUFFER_POINTER,
352 GL_FEEDBACK_BUFFER_SIZE,
353 GL_FEEDBACK_BUFFER_TYPE,
380 GL_INDEX_ARRAY_COUNT_EXT,
382 GL_INDEX_ARRAY_POINTER,
383 GL_INDEX_ARRAY_POINTER_EXT,
384 GL_INDEX_ARRAY_STRIDE,
385 GL_INDEX_ARRAY_STRIDE_EXT,
387 GL_INDEX_ARRAY_TYPE_EXT,
389 GL_INDEX_CLEAR_VALUE,
402 GL_INVALID_OPERATION,
419 GL_LIGHT_MODEL_AMBIENT,
420 GL_LIGHT_MODEL_LOCAL_VIEWER,
421 GL_LIGHT_MODEL_TWO_SIDE,
424 GL_LINEAR_ATTENUATION,
425 GL_LINEAR_MIPMAP_LINEAR,
426 GL_LINEAR_MIPMAP_NEAREST,
434 GL_LINE_STIPPLE_PATTERN,
435 GL_LINE_STIPPLE_REPEAT,
439 GL_LINE_WIDTH_GRANULARITY,
450 GL_LUMINANCE12_ALPHA12,
451 GL_LUMINANCE12_ALPHA4,
453 GL_LUMINANCE16_ALPHA16,
455 GL_LUMINANCE4_ALPHA4,
456 GL_LUMINANCE6_ALPHA2,
458 GL_LUMINANCE8_ALPHA8,
462 GL_MAP1_GRID_SEGMENTS,
465 GL_MAP1_TEXTURE_COORD_1,
466 GL_MAP1_TEXTURE_COORD_2,
467 GL_MAP1_TEXTURE_COORD_3,
468 GL_MAP1_TEXTURE_COORD_4,
473 GL_MAP2_GRID_SEGMENTS,
476 GL_MAP2_TEXTURE_COORD_1,
477 GL_MAP2_TEXTURE_COORD_2,
478 GL_MAP2_TEXTURE_COORD_3,
479 GL_MAP2_TEXTURE_COORD_4,
485 GL_MAX_ATTRIB_STACK_DEPTH,
486 GL_MAX_CLIENT_ATTRIB_STACK_DEPTH,
491 GL_MAX_MODELVIEW_STACK_DEPTH,
492 GL_MAX_NAME_STACK_DEPTH,
493 GL_MAX_PIXEL_MAP_TABLE,
494 GL_MAX_PROJECTION_STACK_DEPTH,
496 GL_MAX_TEXTURE_STACK_DEPTH,
497 GL_MAX_VIEWPORT_DIMS,
500 GL_MODELVIEW_STACK_DEPTH,
507 GL_NEAREST_MIPMAP_LINEAR,
508 GL_NEAREST_MIPMAP_NEAREST,
516 GL_NORMAL_ARRAY_COUNT_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,
529 GL_ONE_MINUS_DST_ALPHA,
530 GL_ONE_MINUS_DST_COLOR,
531 GL_ONE_MINUS_SRC_ALPHA,
532 GL_ONE_MINUS_SRC_COLOR,
544 GL_PASS_THROUGH_TOKEN,
545 GL_PERSPECTIVE_CORRECTION_HINT,
547 GL_PIXEL_MAP_A_TO_A_SIZE,
549 GL_PIXEL_MAP_B_TO_B_SIZE,
551 GL_PIXEL_MAP_G_TO_G_SIZE,
553 GL_PIXEL_MAP_I_TO_A_SIZE,
555 GL_PIXEL_MAP_I_TO_B_SIZE,
557 GL_PIXEL_MAP_I_TO_G_SIZE,
559 GL_PIXEL_MAP_I_TO_I_SIZE,
561 GL_PIXEL_MAP_I_TO_R_SIZE,
563 GL_PIXEL_MAP_R_TO_R_SIZE,
565 GL_PIXEL_MAP_S_TO_S_SIZE,
571 GL_POINT_SIZE_GRANULARITY,
574 GL_POINT_SMOOTH_HINT,
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,
585 GL_POLYGON_SMOOTH_HINT,
587 GL_POLYGON_STIPPLE_BIT,
591 GL_PROJECTION_MATRIX,
592 GL_PROJECTION_STACK_DEPTH,
596 GL_QUADRATIC_ATTENUATION,
634 GL_SELECTION_BUFFER_POINTER,
635 GL_SELECTION_BUFFER_SIZE,
647 GL_SRC_ALPHA_SATURATE,
653 GL_STENCIL_BUFFER_BIT,
654 GL_STENCIL_CLEAR_VALUE,
658 GL_STENCIL_PASS_DEPTH_FAIL,
659 GL_STENCIL_PASS_DEPTH_PASS,
662 GL_STENCIL_VALUE_MASK,
663 GL_STENCIL_WRITEMASK,
677 GL_TEXTURE_ALPHA_SIZE,
678 GL_TEXTURE_BINDING_1D,
679 GL_TEXTURE_BINDING_2D,
681 GL_TEXTURE_BLUE_SIZE,
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,
697 GL_TEXTURE_ENV_COLOR,
704 GL_TEXTURE_GREEN_SIZE,
706 GL_TEXTURE_INTENSITY_SIZE,
707 GL_TEXTURE_INTERNAL_FORMAT,
708 GL_TEXTURE_LUMINANCE_SIZE,
709 GL_TEXTURE_MAG_FILTER,
711 GL_TEXTURE_MIN_FILTER,
715 GL_TEXTURE_STACK_DEPTH,
726 GL_UNPACK_ROW_LENGTH,
727 GL_UNPACK_SKIP_PIXELS,
729 GL_UNPACK_SWAP_BYTES,
738 GL_VERTEX_ARRAY_COUNT_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,
757 void glAccum (GLenum op, GLfloat value);
758 void glAlphaFunc (GLenum func, GLclampf ref);
759 GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
760 void glArrayElement (GLint i);
761 void glBegin (GLenum mode);
762 void glBindTexture (GLenum target, GLuint texture);
763 void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
764 void glBlendFunc (GLenum sfactor, GLenum dfactor);
765 void glCallList (GLuint list);
766 void glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
767 void glClear (GLbitfield mask);
768 void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
769 void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
770 void glClearDepth (GLclampd depth);
771 void glClearIndex (GLfloat c);
772 void glClearStencil (GLint s);
773 void glClipPlane (GLenum plane, const GLdouble *equation);
774 void glColor3b (GLbyte red, GLbyte green, GLbyte blue);
775 void glColor3bv (const GLbyte *v);
776 void glColor3d (GLdouble red, GLdouble green, GLdouble blue);
777 void glColor3dv (const GLdouble *v);
778 void glColor3f (GLfloat red, GLfloat green, GLfloat blue);
779 void glColor3fv (const GLfloat *v);
780 void glColor3i (GLint red, GLint green, GLint blue);
781 void glColor3iv (const GLint *v);
782 void glColor3s (GLshort red, GLshort green, GLshort blue);
783 void glColor3sv (const GLshort *v);
784 void glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
785 void glColor3ubv (const GLubyte *v);
786 void glColor3ui (GLuint red, GLuint green, GLuint blue);
787 void glColor3uiv (const GLuint *v);
788 void glColor3us (GLushort red, GLushort green, GLushort blue);
789 void glColor3usv (const GLushort *v);
790 void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
791 void glColor4bv (const GLbyte *v);
792 void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
793 void glColor4dv (const GLdouble *v);
794 void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
795 void glColor4fv (const GLfloat *v);
796 void glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
797 void glColor4iv (const GLint *v);
798 void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
799 void glColor4sv (const GLshort *v);
800 void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
801 void glColor4ubv (const GLubyte *v);
802 void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
803 void glColor4uiv (const GLuint *v);
804 void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
805 void glColor4usv (const GLushort *v);
806 void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
807 void glColorMaterial (GLenum face, GLenum mode);
808 void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
809 void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
810 void glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
811 void glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
812 void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
813 void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
814 void glCullFace (GLenum mode);
815 void glDeleteLists (GLuint list, GLsizei range);
816 void glDeleteTextures (GLsizei n, const GLuint *textures);
817 void glDepthFunc (GLenum func);
818 void glDepthMask (GLboolean flag);
819 void glDepthRange (GLclampd zNear, GLclampd zFar);
820 void glDisable (GLenum cap);
821 void glDisableClientState (GLenum array);
822 void glDrawArrays (GLenum mode, GLint first, GLsizei count);
823 void glDrawBuffer (GLenum mode);
824 void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
825 void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
826 void glEdgeFlag (GLboolean flag);
827 void glEdgeFlagPointer (GLsizei stride, const GLboolean *pointer);
828 void glEdgeFlagv (const GLboolean *flag);
829 void glEnable (GLenum cap);
830 void glEnableClientState (GLenum array);
832 void glEndList (void);
833 void glEvalCoord1d (GLdouble u);
834 void glEvalCoord1dv (const GLdouble *u);
835 void glEvalCoord1f (GLfloat u);
836 void glEvalCoord1fv (const GLfloat *u);
837 void glEvalCoord2d (GLdouble u, GLdouble v);
838 void glEvalCoord2dv (const GLdouble *u);
839 void glEvalCoord2f (GLfloat u, GLfloat v);
840 void glEvalCoord2fv (const GLfloat *u);
841 void glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
842 void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
843 void glEvalPoint1 (GLint i);
844 void glEvalPoint2 (GLint i, GLint j);
845 void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
846 void glFinish (void);
848 void glFogf (GLenum pname, GLfloat param);
849 void glFogfv (GLenum pname, const GLfloat *params);
850 void glFogi (GLenum pname, GLint param);
851 void glFogiv (GLenum pname, const GLint *params);
852 void glFrontFace (GLenum mode);
853 void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
854 GLuint glGenLists (GLsizei range);
855 void glGenTextures (GLsizei n, GLuint *textures);
856 void glGetBooleanv (GLenum pname, GLboolean *params);
857 void glGetClipPlane (GLenum plane, GLdouble *equation);
858 void glGetDoublev (GLenum pname, GLdouble *params);
859 GLenum glGetError (void);
860 void glGetFloatv (GLenum pname, GLfloat *params);
861 void glGetIntegerv (GLenum pname, GLint *params);
862 void glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
863 void glGetLightiv (GLenum light, GLenum pname, GLint *params);
864 void glGetMapdv (GLenum target, GLenum query, GLdouble *v);
865 void glGetMapfv (GLenum target, GLenum query, GLfloat *v);
866 void glGetMapiv (GLenum target, GLenum query, GLint *v);
867 void glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
868 void glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
869 void glGetPixelMapfv (GLenum map, GLfloat *values);
870 void glGetPixelMapuiv (GLenum map, GLuint *values);
871 void glGetPixelMapusv (GLenum map, GLushort *values);
872 void glGetPointerv (GLenum pname, GLvoid* *params);
873 void glGetPolygonStipple (GLubyte *mask);
874 const GLubyte * glGetString (GLenum name);
875 void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
876 void glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
877 void glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
878 void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
879 void glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
880 void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
881 void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
882 void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
883 void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
884 void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
885 void glHint (GLenum target, GLenum mode);
886 void glIndexMask (GLuint mask);
887 void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
888 void glIndexd (GLdouble c);
889 void glIndexdv (const GLdouble *c);
890 void glIndexf (GLfloat c);
891 void glIndexfv (const GLfloat *c);
892 void glIndexi (GLint c);
893 void glIndexiv (const GLint *c);
894 void glIndexs (GLshort c);
895 void glIndexsv (const GLshort *c);
896 void glIndexub (GLubyte c);
897 void glIndexubv (const GLubyte *c);
898 void glInitNames (void);
899 void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
900 GLboolean glIsEnabled (GLenum cap);
901 GLboolean glIsList (GLuint list);
902 GLboolean glIsTexture (GLuint texture);
903 void glLightModelf (GLenum pname, GLfloat param);
904 void glLightModelfv (GLenum pname, const GLfloat *params);
905 void glLightModeli (GLenum pname, GLint param);
906 void glLightModeliv (GLenum pname, const GLint *params);
907 void glLightf (GLenum light, GLenum pname, GLfloat param);
908 void glLightfv (GLenum light, GLenum pname, const GLfloat *params);
909 void glLighti (GLenum light, GLenum pname, GLint param);
910 void glLightiv (GLenum light, GLenum pname, const GLint *params);
911 void glLineStipple (GLint factor, GLushort pattern);
912 void glLineWidth (GLfloat width);
913 void glListBase (GLuint base);
914 void glLoadIdentity (void);
915 void glLoadMatrixd (const GLdouble *m);
916 void glLoadMatrixf (const GLfloat *m);
917 void glLoadName (GLuint name);
918 void glLogicOp (GLenum opcode);
919 void glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
920 void glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
921 void glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
922 void glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
923 void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
924 void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
925 void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
926 void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
927 void glMaterialf (GLenum face, GLenum pname, GLfloat param);
928 void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
929 void glMateriali (GLenum face, GLenum pname, GLint param);
930 void glMaterialiv (GLenum face, GLenum pname, const GLint *params);
931 void glMatrixMode (GLenum mode);
932 void glMultMatrixd (const GLdouble *m);
933 void glMultMatrixf (const GLfloat *m);
934 void glNewList (GLuint list, GLenum mode);
935 void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
936 void glNormal3bv (const GLbyte *v);
937 void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
938 void glNormal3dv (const GLdouble *v);
939 void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
940 void glNormal3fv (const GLfloat *v);
941 void glNormal3i (GLint nx, GLint ny, GLint nz);
942 void glNormal3iv (const GLint *v);
943 void glNormal3s (GLshort nx, GLshort ny, GLshort nz);
944 void glNormal3sv (const GLshort *v);
945 void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
946 void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
947 void glPassThrough (GLfloat token);
948 void glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
949 void glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
950 void glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
951 void glPixelStoref (GLenum pname, GLfloat param);
952 void glPixelStorei (GLenum pname, GLint param);
953 void glPixelTransferf (GLenum pname, GLfloat param);
954 void glPixelTransferi (GLenum pname, GLint param);
955 void glPixelZoom (GLfloat xfactor, GLfloat yfactor);
956 void glPointSize (GLfloat size);
957 void glPolygonMode (GLenum face, GLenum mode);
958 void glPolygonOffset (GLfloat factor, GLfloat units);
959 void glPolygonStipple (const GLubyte *mask);
960 void glPopAttrib (void);
961 void glPopClientAttrib (void);
962 void glPopMatrix (void);
963 void glPopName (void);
964 void glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
965 void glPushAttrib (GLbitfield mask);
966 void glPushClientAttrib (GLbitfield mask);
967 void glPushMatrix (void);
968 void glPushName (GLuint name);
969 void glRasterPos2d (GLdouble x, GLdouble y);
970 void glRasterPos2dv (const GLdouble *v);
971 void glRasterPos2f (GLfloat x, GLfloat y);
972 void glRasterPos2fv (const GLfloat *v);
973 void glRasterPos2i (GLint x, GLint y);
974 void glRasterPos2iv (const GLint *v);
975 void glRasterPos2s (GLshort x, GLshort y);
976 void glRasterPos2sv (const GLshort *v);
977 void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
978 void glRasterPos3dv (const GLdouble *v);
979 void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
980 void glRasterPos3fv (const GLfloat *v);
981 void glRasterPos3i (GLint x, GLint y, GLint z);
982 void glRasterPos3iv (const GLint *v);
983 void glRasterPos3s (GLshort x, GLshort y, GLshort z);
984 void glRasterPos3sv (const GLshort *v);
985 void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
986 void glRasterPos4dv (const GLdouble *v);
987 void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
988 void glRasterPos4fv (const GLfloat *v);
989 void glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
990 void glRasterPos4iv (const GLint *v);
991 void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
992 void glRasterPos4sv (const GLshort *v);
993 void glReadBuffer (GLenum mode);
994 void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
995 void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
996 void glRectdv (const GLdouble *v1, const GLdouble *v2);
997 void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
998 void glRectfv (const GLfloat *v1, const GLfloat *v2);
999 void glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
1000 void glRectiv (const GLint *v1, const GLint *v2);
1001 void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
1002 void glRectsv (const GLshort *v1, const GLshort *v2);
1003 GLint glRenderMode (GLenum mode);
1004 void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
1005 void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
1006 void glScaled (GLdouble x, GLdouble y, GLdouble z);
1007 void glScalef (GLfloat x, GLfloat y, GLfloat z);
1008 void glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
1009 void glSelectBuffer (GLsizei size, GLuint *buffer);
1010 void glShadeModel (GLenum mode);
1011 void glStencilFunc (GLenum func, GLint ref, GLuint mask);
1012 void glStencilMask (GLuint mask);
1013 void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
1014 void glTexCoord1d (GLdouble s);
1015 void glTexCoord1dv (const GLdouble *v);
1016 void glTexCoord1f (GLfloat s);
1017 void glTexCoord1fv (const GLfloat *v);
1018 void glTexCoord1i (GLint s);
1019 void glTexCoord1iv (const GLint *v);
1020 void glTexCoord1s (GLshort s);
1021 void glTexCoord1sv (const GLshort *v);
1022 void glTexCoord2d (GLdouble s, GLdouble t);
1023 void glTexCoord2dv (const GLdouble *v);
1024 void glTexCoord2f (GLfloat s, GLfloat t);
1025 void glTexCoord2fv (const GLfloat *v);
1026 void glTexCoord2i (GLint s, GLint t);
1027 void glTexCoord2iv (const GLint *v);
1028 void glTexCoord2s (GLshort s, GLshort t);
1029 void glTexCoord2sv (const GLshort *v);
1030 void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
1031 void glTexCoord3dv (const GLdouble *v);
1032 void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
1033 void glTexCoord3fv (const GLfloat *v);
1034 void glTexCoord3i (GLint s, GLint t, GLint r);
1035 void glTexCoord3iv (const GLint *v);
1036 void glTexCoord3s (GLshort s, GLshort t, GLshort r);
1037 void glTexCoord3sv (const GLshort *v);
1038 void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
1039 void glTexCoord4dv (const GLdouble *v);
1040 void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
1041 void glTexCoord4fv (const GLfloat *v);
1042 void glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
1043 void glTexCoord4iv (const GLint *v);
1044 void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
1045 void glTexCoord4sv (const GLshort *v);
1046 void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1047 void glTexEnvf (GLenum target, GLenum pname, GLfloat param);
1048 void glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
1049 void glTexEnvi (GLenum target, GLenum pname, GLint param);
1050 void glTexEnviv (GLenum target, GLenum pname, const GLint *params);
1051 void glTexGend (GLenum coord, GLenum pname, GLdouble param);
1052 void glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
1053 void glTexGenf (GLenum coord, GLenum pname, GLfloat param);
1054 void glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
1055 void glTexGeni (GLenum coord, GLenum pname, GLint param);
1056 void glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
1057 void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1058 void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
1059 void glTexParameterf (GLenum target, GLenum pname, GLfloat param);
1060 void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
1061 void glTexParameteri (GLenum target, GLenum pname, GLint param);
1062 void glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
1063 void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
1064 void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
1065 void glTranslated (GLdouble x, GLdouble y, GLdouble z);
1066 void glTranslatef (GLfloat x, GLfloat y, GLfloat z);
1067 void glVertex2d (GLdouble x, GLdouble y);
1068 void glVertex2dv (const GLdouble *v);
1069 void glVertex2f (GLfloat x, GLfloat y);
1070 void glVertex2fv (const GLfloat *v);
1071 void glVertex2i (GLint x, GLint y);
1072 void glVertex2iv (const GLint *v);
1073 void glVertex2s (GLshort x, GLshort y);
1074 void glVertex2sv (const GLshort *v);
1075 void glVertex3d (GLdouble x, GLdouble y, GLdouble z);
1076 void glVertex3dv (const GLdouble *v);
1077 void glVertex3f (GLfloat x, GLfloat y, GLfloat z);
1078 void glVertex3fv (const GLfloat *v);
1079 void glVertex3i (GLint x, GLint y, GLint z);
1080 void glVertex3iv (const GLint *v);
1081 void glVertex3s (GLshort x, GLshort y, GLshort z);
1082 void glVertex3sv (const GLshort *v);
1083 void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
1084 void glVertex4dv (const GLdouble *v);
1085 void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1086 void glVertex4fv (const GLfloat *v);
1087 void glVertex4i (GLint x, GLint y, GLint z, GLint w);
1088 void glVertex4iv (const GLint *v);
1089 void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
1090 void glVertex4sv (const GLshort *v);
1091 void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
1092 void glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
1094 //---------------------------------------------------------------------------
1099 wxClassInfo::CleanUpClasses();
1100 wxClassInfo::InitializeClasses();
1104 //---------------------------------------------------------------------------
1105 //---------------------------------------------------------------------------