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