0024732: OpenGl_Context - retrieve functions up to GL4.4
[occt.git] / src / OpenGl / OpenGl_GlCore11.hxx
CommitLineData
6aca4d39 1// Created on: 2012-03-06
b311480e 2// Created by: Kirill GAVRILOV
6aca4d39 3// Copyright (c) 2012-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
5f8b738e 15
01ca42b2 16#ifndef _OpenGl_GlCore11_Header
17#define _OpenGl_GlCore11_Header
18
19#include <OpenGl_GlCore11Fwd.hxx>
20
21//! OpenGL 1.1 core.
22//! Notice that all functions within this structure are actually exported by system GL library.
23//! The main purpose for these hint - to control visibility of functions per GL version
24//! (global functions should not be used directly to achieve this effect!).
25struct OpenGl_GlCore11 : protected OpenGl_GlFunctions
26{
27
28public: //! @name Begin/End primitive specification (removed since 3.1)
29
30 inline void glBegin (GLenum theMode)
31 {
32 ::glBegin (theMode);
33 }
34
35 inline void glEnd()
36 {
37 ::glEnd();
38 }
39
40 inline void glVertex2d (GLdouble theX, GLdouble theY)
41 {
42 ::glVertex2d (theX, theY);
43 }
44
45 inline void glVertex2f (GLfloat theX, GLfloat theY)
46 {
47 ::glVertex2f (theX, theY);
48 }
49
50 inline void glVertex2i (GLint theX, GLint theY)
51 {
52 ::glVertex2i (theX, theY);
53 }
54
55 inline void glVertex2s (GLshort theX, GLshort theY)
56 {
57 ::glVertex2s (theX, theY);
58 }
59
60 inline void glVertex3d (GLdouble theX, GLdouble theY, GLdouble theZ)
61 {
62 ::glVertex3d (theX, theY, theZ);
63 }
64
65 inline void glVertex3f (GLfloat theX, GLfloat theY, GLfloat theZ)
66 {
67 ::glVertex3f (theX, theY, theZ);
68 }
69
70 inline void glVertex3i (GLint theX, GLint theY, GLint theZ)
71 {
72 ::glVertex3i (theX, theY, theZ);
73 }
74
75 inline void glVertex3s (GLshort theX, GLshort theY, GLshort theZ)
76 {
77 ::glVertex3s (theX, theY, theZ);
78 }
79
80 inline void glVertex4d (GLdouble theX, GLdouble theY, GLdouble theZ, GLdouble theW)
81 {
82 ::glVertex4d (theX, theY, theZ, theW);
83 }
84
85 inline void glVertex4f (GLfloat theX, GLfloat theY, GLfloat theZ, GLfloat theW)
86 {
87 ::glVertex4f (theX, theY, theZ, theW);
88 }
89
90 inline void glVertex4i (GLint theX, GLint theY, GLint theZ, GLint theW)
91 {
92 ::glVertex4i (theX, theY, theZ, theW);
93 }
94
95 inline void glVertex4s (GLshort theX, GLshort theY, GLshort theZ, GLshort theW)
96 {
97 ::glVertex4s (theX, theY, theZ, theW);
98 }
99
100 inline void glVertex2dv (const GLdouble* theVec2)
101 {
102 ::glVertex2dv (theVec2);
103 }
104
105 inline void glVertex2fv (const GLfloat* theVec2)
106 {
107 ::glVertex2fv (theVec2);
108 }
109
110 inline void glVertex2iv (const GLint* theVec2)
111 {
112 ::glVertex2iv (theVec2);
113 }
114
115 inline void glVertex2sv (const GLshort* theVec2)
116 {
117 ::glVertex2sv (theVec2);
118 }
119
120 inline void glVertex3dv (const GLdouble* theVec3)
121 {
122 ::glVertex3dv (theVec3);
123 }
124
125 inline void glVertex3fv (const GLfloat* theVec3)
126 {
127 ::glVertex3fv (theVec3);
128 }
129
130 inline void glVertex3iv (const GLint* theVec3)
131 {
132 ::glVertex3iv (theVec3);
133 }
134
135 inline void glVertex3sv (const GLshort* theVec3)
136 {
137 ::glVertex3sv (theVec3);
138 }
139
140 inline void glVertex4dv (const GLdouble* theVec4)
141 {
142 ::glVertex4dv (theVec4);
143 }
144
145 inline void glVertex4fv (const GLfloat* theVec4)
146 {
147 ::glVertex4fv (theVec4);
148 }
149
150 inline void glVertex4iv (const GLint* theVec4)
151 {
152 ::glVertex4iv (theVec4);
153 }
154
155 inline void glVertex4sv (const GLshort* theVec4)
156 {
157 ::glVertex4sv (theVec4);
158 }
159
160 inline void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz)
161 {
162 ::glNormal3b(nx, ny, nz);
163 }
164
165 inline void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz)
166 {
167 ::glNormal3d(nx, ny, nz);
168 }
169
170 inline void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz)
171 {
172 ::glNormal3f(nx, ny, nz);
173 }
174
175 inline void glNormal3i (GLint nx, GLint ny, GLint nz)
176 {
177 ::glNormal3i(nx, ny, nz);
178 }
179
180 inline void glNormal3s (GLshort nx, GLshort ny, GLshort nz)
181 {
182 ::glNormal3s(nx, ny, nz);
183 }
184
185 inline void glNormal3bv (const GLbyte* theVec)
186 {
187 ::glNormal3bv (theVec);
188 }
189
190 inline void glNormal3dv (const GLdouble* theVec)
191 {
192 ::glNormal3dv (theVec);
193 }
194
195 inline void glNormal3fv (const GLfloat* theVec)
196 {
197 ::glNormal3fv (theVec);
198 }
199
200 inline void glNormal3iv (const GLint* theVec)
201 {
202 ::glNormal3iv (theVec);
203 }
204
205 inline void glNormal3sv (const GLshort* theVec)
206 {
207 ::glNormal3sv (theVec);
208 }
209
210 inline void glIndexd (GLdouble c)
211 {
212 ::glIndexd(c);
213 }
214
215 inline void glIndexf (GLfloat c)
216 {
217 ::glIndexf(c);
218 }
219
220 inline void glIndexi (GLint c)
221 {
222 ::glIndexi(c);
223 }
224
225 inline void glIndexs (GLshort c)
226 {
227 ::glIndexs(c);
228 }
229
230 inline void glIndexub (GLubyte c)
231 {
232 ::glIndexub(c);
233 }
234
235 inline void glIndexdv (const GLdouble* c)
236 {
237 ::glIndexdv(c);
238 }
239
240 inline void glIndexfv (const GLfloat* c)
241 {
242 ::glIndexfv(c);
243 }
244
245 inline void glIndexiv (const GLint* c)
246 {
247 ::glIndexiv(c);
248 }
249
250 inline void glIndexsv (const GLshort* c)
251 {
252 ::glIndexsv(c);
253 }
254
255 inline void glIndexubv (const GLubyte* c)
256 {
257 ::glIndexubv(c);
258 }
259
260 inline void glColor3b (GLbyte theRed, GLbyte theGreen, GLbyte theBlue)
261 {
262 ::glColor3b (theRed, theGreen, theBlue);
263 }
264
265 inline void glColor3d (GLdouble theRed, GLdouble theGreen, GLdouble theBlue)
266 {
267 ::glColor3d (theRed, theGreen, theBlue);
268 }
269
270 inline void glColor3f (GLfloat theRed, GLfloat theGreen, GLfloat theBlue)
271 {
272 ::glColor3f (theRed, theGreen, theBlue);
273 }
274
275 inline void glColor3i (GLint theRed, GLint theGreen, GLint theBlue)
276 {
277 ::glColor3i (theRed, theGreen, theBlue);
278 }
279
280 inline void glColor3s (GLshort theRed, GLshort theGreen, GLshort theBlue)
281 {
282 ::glColor3s (theRed, theGreen, theBlue);
283 }
284
285 inline void glColor3ub (GLubyte theRed, GLubyte theGreen, GLubyte theBlue)
286 {
287 ::glColor3ub (theRed, theGreen, theBlue);
288 }
289
290 inline void glColor3ui (GLuint theRed, GLuint theGreen, GLuint theBlue)
291 {
292 ::glColor3ui (theRed, theGreen, theBlue);
293 }
294
295 inline void glColor3us (GLushort theRed, GLushort theGreen, GLushort theBlue)
296 {
297 ::glColor3us (theRed, theGreen, theBlue);
298 }
299
300 inline void glColor4b (GLbyte theRed, GLbyte theGreen, GLbyte theBlue, GLbyte theAlpha)
301 {
302 ::glColor4b (theRed, theGreen, theBlue, theAlpha);
303 }
304
305 inline void glColor4d (GLdouble theRed, GLdouble theGreen, GLdouble theBlue, GLdouble theAlpha)
306 {
307 ::glColor4d (theRed, theGreen, theBlue, theAlpha);
308 }
309
310 inline void glColor4f (GLfloat theRed, GLfloat theGreen, GLfloat theBlue, GLfloat theAlpha)
311 {
312 ::glColor4f (theRed, theGreen, theBlue, theAlpha);
313 }
314
315 inline void glColor4i (GLint theRed, GLint theGreen, GLint theBlue, GLint theAlpha)
316 {
317 ::glColor4i (theRed, theGreen, theBlue, theAlpha);
318 }
319
320 inline void glColor4s (GLshort theRed, GLshort theGreen, GLshort theBlue, GLshort theAlpha)
321 {
322 ::glColor4s (theRed, theGreen, theBlue, theAlpha);
323 }
324
325 inline void glColor4ub (GLubyte theRed, GLubyte theGreen, GLubyte theBlue, GLubyte theAlpha)
326 {
327 ::glColor4ub (theRed, theGreen, theBlue, theAlpha);
328 }
329
330 inline void glColor4ui (GLuint theRed, GLuint theGreen, GLuint theBlue, GLuint theAlpha)
331 {
332 ::glColor4ui (theRed, theGreen, theBlue, theAlpha);
333 }
334
335 inline void glColor4us (GLushort theRed, GLushort theGreen, GLushort theBlue, GLushort theAlpha)
336 {
337 ::glColor4us (theRed, theGreen, theBlue, theAlpha);
338 }
339
340 inline void glColor3bv (const GLbyte* theVec)
341 {
342 ::glColor3bv (theVec);
343 }
344
345 inline void glColor3dv (const GLdouble* theVec)
346 {
347 ::glColor3dv (theVec);
348 }
349
350 inline void glColor3fv (const GLfloat* theVec)
351 {
352 ::glColor3fv (theVec);
353 }
354
355 inline void glColor3iv (const GLint* theVec)
356 {
357 ::glColor3iv (theVec);
358 }
359
360 inline void glColor3sv (const GLshort* theVec)
361 {
362 ::glColor3sv (theVec);
363 }
364
365 inline void glColor3ubv (const GLubyte* theVec)
366 {
367 ::glColor3ubv (theVec);
368 }
369
370 inline void glColor3uiv (const GLuint* theVec)
371 {
372 ::glColor3uiv (theVec);
373 }
374
375 inline void glColor3usv (const GLushort* theVec)
376 {
377 ::glColor3usv (theVec);
378 }
379
380 inline void glColor4bv (const GLbyte* theVec)
381 {
382 ::glColor4bv (theVec);
383 }
384
385 inline void glColor4dv (const GLdouble* theVec)
386 {
387 ::glColor4dv (theVec);
388 }
389
390 inline void glColor4fv (const GLfloat* theVec)
391 {
392 ::glColor4fv (theVec);
393 }
394
395 inline void glColor4iv (const GLint* theVec)
396 {
397 ::glColor4iv (theVec);
398 }
399
400 inline void glColor4sv (const GLshort* theVec)
401 {
402 ::glColor4sv (theVec);
403 }
404
405 inline void glColor4ubv (const GLubyte* theVec)
406 {
407 ::glColor4ubv (theVec);
408 }
409
410 inline void glColor4uiv (const GLuint* theVec)
411 {
412 ::glColor4uiv (theVec);
413 }
414
415 inline void glColor4usv (const GLushort* theVec)
416 {
417 ::glColor4usv (theVec);
418 }
419
420 inline void glTexCoord1d (GLdouble s)
421 {
422 ::glTexCoord1d(s);
423 }
424
425 inline void glTexCoord1f (GLfloat s)
426 {
427 ::glTexCoord1f(s);
428 }
429
430 inline void glTexCoord1i (GLint s)
431 {
432 ::glTexCoord1i(s);
433 }
434
435 inline void glTexCoord1s (GLshort s)
436 {
437 ::glTexCoord1s(s);
438 }
439
440 inline void glTexCoord2d (GLdouble s, GLdouble t)
441 {
442 ::glTexCoord2d(s, t);
443 }
444
445 inline void glTexCoord2f (GLfloat s, GLfloat t)
446 {
447 ::glTexCoord2f(s, t);
448 }
449
450 inline void glTexCoord2i (GLint s, GLint t)
451 {
452 ::glTexCoord2i(s, t);
453 }
454
455 inline void glTexCoord2s (GLshort s, GLshort t)
456 {
457 ::glTexCoord2s(s, t);
458 }
459
460 inline void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r)
461 {
462 ::glTexCoord3d(s, t, r);
463 }
464
465 inline void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r)
466 {
467 ::glTexCoord3f(s, t, r);
468 }
469
470 inline void glTexCoord3i (GLint s, GLint t, GLint r)
471 {
472 ::glTexCoord3i(s, t, r);
473 }
474
475 inline void glTexCoord3s (GLshort s, GLshort t, GLshort r)
476 {
477 ::glTexCoord3s(s, t, r);
478 }
479
480 inline void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q)
481 {
482 ::glTexCoord4d(s, t, r, q);
483 }
484
485 inline void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q)
486 {
487 ::glTexCoord4f(s, t, r, q);
488 }
489
490 inline void glTexCoord4i (GLint s, GLint t, GLint r, GLint q)
491 {
492 ::glTexCoord4i(s, t, r, q);
493 }
494
495 inline void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q)
496 {
497 ::glTexCoord4s(s, t, r, q);
498 }
499
500 inline void glTexCoord1dv (const GLdouble* theVec1)
501 {
502 ::glTexCoord1dv (theVec1);
503 }
504
505 inline void glTexCoord1fv (const GLfloat* theVec1)
506 {
507 ::glTexCoord1fv (theVec1);
508 }
509
510 inline void glTexCoord1iv (const GLint* theVec1)
511 {
512 ::glTexCoord1iv (theVec1);
513 }
514
515 inline void glTexCoord1sv (const GLshort* theVec1)
516 {
517 ::glTexCoord1sv (theVec1);
518 }
519
520 inline void glTexCoord2dv (const GLdouble* theVec2)
521 {
522 ::glTexCoord2dv (theVec2);
523 }
524
525 inline void glTexCoord2fv (const GLfloat* theVec2)
526 {
527 ::glTexCoord2fv (theVec2);
528 }
529
530 inline void glTexCoord2iv (const GLint* theVec2)
531 {
532 ::glTexCoord2iv (theVec2);
533 }
534
535 inline void glTexCoord2sv (const GLshort* theVec)
536 {
537 ::glTexCoord2sv (theVec);
538 }
539
540 inline void glTexCoord3dv (const GLdouble* theVec3)
541 {
542 ::glTexCoord3dv (theVec3);
543 }
544
545 inline void glTexCoord3fv (const GLfloat* theVec3)
546 {
547 ::glTexCoord3fv (theVec3);
548 }
549
550 inline void glTexCoord3iv (const GLint* theVec3)
551 {
552 ::glTexCoord3iv (theVec3);
553 }
554
555 inline void glTexCoord3sv (const GLshort* theVec3)
556 {
557 ::glTexCoord3sv (theVec3);
558 }
559
560 inline void glTexCoord4dv (const GLdouble* theVec4)
561 {
562 ::glTexCoord4dv (theVec4);
563 }
564
565 inline void glTexCoord4fv (const GLfloat* theVec4)
566 {
567 ::glTexCoord4fv (theVec4);
568 }
569
570 inline void glTexCoord4iv (const GLint* theVec4)
571 {
572 ::glTexCoord4iv (theVec4);
573 }
574
575 inline void glTexCoord4sv (const GLshort* theVec4)
576 {
577 ::glTexCoord4sv (theVec4);
578 }
579
580public: //! @name Matrix operations (removed since 3.1)
581
582 inline void glMatrixMode (GLenum theMode)
583 {
584 ::glMatrixMode (theMode);
585 }
586
587 inline void glOrtho (GLdouble theLeft, GLdouble theRight,
588 GLdouble theBottom, GLdouble theTop,
589 GLdouble theNearVal, GLdouble theFarVal)
590 {
591 ::glOrtho (theLeft, theRight, theBottom, theTop, theNearVal, theFarVal);
592 }
593
594 inline void glFrustum (GLdouble theLeft, GLdouble theRight,
595 GLdouble theBottom, GLdouble theTop,
596 GLdouble theNearVal, GLdouble theFarVal)
597 {
598 ::glFrustum (theLeft, theRight, theBottom, theTop, theNearVal, theFarVal);
599 }
600
601 inline void glPushMatrix()
602 {
603 ::glPushMatrix();
604 }
605
606 inline void glPopMatrix()
607 {
608 ::glPopMatrix();
609 }
610
611 inline void glLoadIdentity()
612 {
613 ::glLoadIdentity();
614 }
615
616 inline void glLoadMatrixd (const GLdouble* theMatrix)
617 {
618 ::glLoadMatrixd (theMatrix);
619 }
620
621 inline void glLoadMatrixf (const GLfloat* theMatrix)
622 {
623 ::glLoadMatrixf (theMatrix);
624 }
625
626 inline void glMultMatrixd (const GLdouble* theMatrix)
627 {
628 ::glMultMatrixd (theMatrix);
629 }
630
631 inline void glMultMatrixf (const GLfloat* theMatrix)
632 {
633 ::glMultMatrixf (theMatrix);
634 }
635
636 inline void glRotated (GLdouble theAngleDegrees,
637 GLdouble theX, GLdouble theY, GLdouble theZ)
638 {
639 ::glRotated (theAngleDegrees, theX, theY, theZ);
640 }
641
642 inline void glRotatef (GLfloat theAngleDegrees,
643 GLfloat theX, GLfloat theY, GLfloat theZ)
644 {
645 ::glRotatef (theAngleDegrees, theX, theY, theZ);
646 }
647
648 inline void glScaled (GLdouble theX, GLdouble theY, GLdouble theZ)
649 {
650 ::glScaled (theX, theY, theZ);
651 }
652
653 inline void glScalef (GLfloat theX, GLfloat theY, GLfloat theZ)
654 {
655 ::glScalef (theX, theY, theZ);
656 }
657
658 inline void glTranslated (GLdouble theX, GLdouble theY, GLdouble theZ)
659 {
660 ::glTranslated (theX, theY, theZ);
661 }
662
663 inline void glTranslatef (GLfloat theX, GLfloat theY, GLfloat theZ)
664 {
665 ::glTranslatef (theX, theY, theZ);
666 }
667
668public: //! @name Line and Polygon stripple (removed since 3.1)
669
670 //void glLineWidth (GLfloat theWidth) { ::glLineWidth (theWidth); }
671
672 inline void glLineStipple (GLint theFactor, GLushort thePattern)
673 {
674 ::glLineStipple (theFactor, thePattern);
675 }
676
677 inline void glPolygonStipple (const GLubyte* theMask)
678 {
679 ::glPolygonStipple (theMask);
680 }
681
682 inline void glGetPolygonStipple (GLubyte* theMask)
683 {
684 ::glGetPolygonStipple (theMask);
685 }
686
687public: //! @name Attribute stacks (removed since 3.1)
688
689 inline void glPushAttrib (GLbitfield theMask)
690 {
691 ::glPushAttrib (theMask);
692 }
693
694 inline void glPopAttrib()
695 {
696 ::glPopAttrib();
697 }
698
699 inline void glPushClientAttrib (GLbitfield theMask)
700 {
701 ::glPushClientAttrib (theMask);
702 }
703
704 inline void glPopClientAttrib()
705 {
706 ::glPopClientAttrib();
707 }
708
709public: //! @name Fixed pipeline lighting (removed since 3.1)
710
711 inline void glShadeModel (GLenum theMode)
712 {
713 ::glShadeModel (theMode);
714 }
715
716 inline void glLightf (GLenum theLight, GLenum pname, GLfloat param)
717 {
718 ::glLightf (theLight, pname, param);
719 }
720
721 inline void glLighti (GLenum theLight, GLenum pname, GLint param)
722 {
723 ::glLighti (theLight, pname, param);
724 }
725
726 inline void glLightfv (GLenum theLight, GLenum pname, const GLfloat* params)
727 {
728 ::glLightfv (theLight, pname, params);
729 }
730
731 inline void glLightiv (GLenum theLight, GLenum pname, const GLint* params)
732 {
733 ::glLightiv (theLight, pname, params);
734 }
735
736 inline void glGetLightfv (GLenum theLight, GLenum pname, GLfloat *params)
737 {
738 ::glGetLightfv (theLight, pname, params);
739 }
740
741 inline void glGetLightiv (GLenum theLight, GLenum pname, GLint *params)
742 {
743 ::glGetLightiv (theLight, pname, params);
744 }
745
746 inline void glLightModelf (GLenum pname, GLfloat param)
747 {
748 ::glLightModelf(pname, param);
749 }
750
751 inline void glLightModeli (GLenum pname, GLint param)
752 {
753 ::glLightModeli(pname, param);
754 }
755
756 inline void glLightModelfv (GLenum pname, const GLfloat* params)
757 {
758 ::glLightModelfv(pname, params);
759 }
760
761 inline void glLightModeliv (GLenum pname, const GLint* params)
762 {
763 ::glLightModeliv(pname, params);
764 }
765
766 inline void glMaterialf (GLenum face, GLenum pname, GLfloat param)
767 {
768 ::glMaterialf(face, pname, param);
769 }
770
771 inline void glMateriali (GLenum face, GLenum pname, GLint param)
772 {
773 ::glMateriali(face, pname, param);
774 }
775
776 inline void glMaterialfv (GLenum face, GLenum pname, const GLfloat* params)
777 {
778 ::glMaterialfv(face, pname, params);
779 }
780
781 inline void glMaterialiv (GLenum face, GLenum pname, const GLint* params)
782 {
783 ::glMaterialiv(face, pname, params);
784 }
785
786 inline void glGetMaterialfv (GLenum face, GLenum pname, GLfloat* params)
787 {
788 ::glGetMaterialfv(face, pname, params);
789 }
790
791 inline void glGetMaterialiv (GLenum face, GLenum pname, GLint* params)
792 {
793 ::glGetMaterialiv(face, pname, params);
794 }
795
796 inline void glColorMaterial (GLenum face, GLenum mode)
797 {
798 ::glColorMaterial(face, mode);
799 }
800
801public: //! @name clipping plane (removed since 3.1)
802
803 inline void glClipPlane (GLenum thePlane, const GLdouble* theEquation)
804 {
805 ::glClipPlane (thePlane, theEquation);
806 }
807
808 inline void glGetClipPlane (GLenum thePlane, GLdouble* theEquation)
809 {
810 ::glGetClipPlane (thePlane, theEquation);
811 }
812
813public: //! @name Display lists (removed since 3.1)
814
815 inline GLboolean glIsList (GLuint theList) {
816 return ::glIsList (theList);
817 }
818
819 inline void glDeleteLists (GLuint theList, GLsizei theRange)
820 {
821 ::glDeleteLists (theList, theRange);
822 }
823
824 inline GLuint glGenLists (GLsizei theRange)
825 {
826 return ::glGenLists (theRange);
827 }
828
829 inline void glNewList (GLuint theList, GLenum theMode)
830 {
831 ::glNewList (theList, theMode);
832 }
833
834 inline void glEndList()
835 {
836 ::glEndList();
837 }
838
839 inline void glCallList (GLuint theList)
840 {
841 ::glCallList (theList);
842 }
843
844 inline void glCallLists (GLsizei theNb, GLenum theType, const GLvoid* theLists)
845 {
846 ::glCallLists (theNb, theType, theLists);
847 }
848
849 inline void glListBase (GLuint theBase)
850 {
851 ::glListBase (theBase);
852 }
853
854public: //! @name Current raster position and Rectangles (removed since 3.1)
855
856 inline void glRasterPos2d (GLdouble x, GLdouble y)
857 {
858 ::glRasterPos2d (x, y);
859 }
860
861 inline void glRasterPos2f (GLfloat x, GLfloat y)
862 {
863 ::glRasterPos2f (x, y);
864 }
865
866 inline void glRasterPos2i (GLint x, GLint y)
867 {
868 ::glRasterPos2i (x, y);
869 }
870
871 inline void glRasterPos2s (GLshort x, GLshort y)
872 {
873 ::glRasterPos2s (x, y);
874 }
875
876 inline void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z)
877 {
878 ::glRasterPos3d (x, y, z);
879 }
880
881 inline void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z)
882 {
883 ::glRasterPos3f (x, y, z);
884 }
885
886 inline void glRasterPos3i (GLint x, GLint y, GLint z)
887 {
888 ::glRasterPos3i (x, y, z);
889 }
890
891 inline void glRasterPos3s (GLshort x, GLshort y, GLshort z)
892 {
893 ::glRasterPos3s (x, y, z);
894 }
895
896 inline void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w)
897 {
898 ::glRasterPos4d (x, y, z, w);
899 }
900
901 inline void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
902 {
903 ::glRasterPos4f (x, y, z, w);
904 }
905
906 inline void glRasterPos4i (GLint x, GLint y, GLint z, GLint w)
907 {
908 ::glRasterPos4i (x, y, z, w);
909 }
910
911 inline void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w)
912 {
913 ::glRasterPos4s (x, y, z, w);
914 }
915
916 inline void glRasterPos2dv (const GLdouble* theVec)
917 {
918 ::glRasterPos2dv (theVec);
919 }
920
921 inline void glRasterPos2fv (const GLfloat* theVec)
922 {
923 ::glRasterPos2fv (theVec);
924 }
925
926 inline void glRasterPos2iv (const GLint* theVec)
927 {
928 ::glRasterPos2iv (theVec);
929 }
930
931 inline void glRasterPos2sv (const GLshort* theVec)
932 {
933 ::glRasterPos2sv (theVec);
934 }
935
936 inline void glRasterPos3dv (const GLdouble* theVec)
937 {
938 ::glRasterPos3dv (theVec);
939 }
940
941 inline void glRasterPos3fv (const GLfloat* theVec)
942 {
943 ::glRasterPos3fv (theVec);
944 }
945
946 inline void glRasterPos3iv (const GLint* theVec)
947 {
948 ::glRasterPos3iv (theVec);
949 }
950
951 inline void glRasterPos3sv (const GLshort* theVec)
952 {
953 ::glRasterPos3sv (theVec);
954 }
955
956 inline void glRasterPos4dv (const GLdouble* theVec)
957 {
958 ::glRasterPos4dv (theVec);
959 }
960
961 inline void glRasterPos4fv (const GLfloat* theVec)
962 {
963 ::glRasterPos4fv (theVec);
964 }
965
966 inline void glRasterPos4iv (const GLint* theVec)
967 {
968 ::glRasterPos4iv (theVec);
969 }
970
971 inline void glRasterPos4sv (const GLshort* theVec)
972 {
973 ::glRasterPos4sv (theVec);
974 }
975
976 inline void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
977 {
978 ::glRectd (x1, y1, x2, y2);
979 }
980
981 inline void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
982 {
983 ::glRectf (x1, y1, x2, y2);
984 }
985
986 inline void glRecti (GLint x1, GLint y1, GLint x2, GLint y2)
987 {
988 ::glRecti (x1, y1, x2, y2);
989 }
990
991 inline void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2)
992 {
993 ::glRects (x1, y1, x2, y2);
994 }
995
996 inline void glRectdv (const GLdouble* v1, const GLdouble* v2)
997 {
998 ::glRectdv (v1, v2);
999 }
1000
1001 inline void glRectfv (const GLfloat* v1, const GLfloat* v2)
1002 {
1003 ::glRectfv (v1, v2);
1004 }
1005
1006 inline void glRectiv (const GLint* v1, const GLint* v2)
1007 {
1008 ::glRectiv (v1, v2);
1009 }
1010
1011 inline void glRectsv (const GLshort* v1, const GLshort* v2)
1012 {
1013 ::glRectsv (v1, v2);
1014 }
1015
1016public: //! @name Texture mapping (removed since 3.1)
1017
1018 inline void glTexGend (GLenum coord, GLenum pname, GLdouble param)
1019 {
1020 ::glTexGend (coord, pname, param);
1021 }
1022
1023 inline void glTexGenf (GLenum coord, GLenum pname, GLfloat param)
1024 {
1025 ::glTexGenf (coord, pname, param);
1026 }
1027
1028 inline void glTexGeni (GLenum coord, GLenum pname, GLint param)
1029 {
1030 ::glTexGeni (coord, pname, param);
1031 }
1032
1033 inline void glTexGendv (GLenum coord, GLenum pname, const GLdouble* params)
1034 {
1035 ::glTexGendv (coord, pname, params);
1036 }
1037
1038 inline void glTexGenfv (GLenum coord, GLenum pname, const GLfloat* params)
1039 {
1040 ::glTexGenfv (coord, pname, params);
1041 }
1042
1043 inline void glTexGeniv (GLenum coord, GLenum pname, const GLint* params)
1044 {
1045 ::glTexGeniv (coord, pname, params);
1046 }
1047
1048 inline void glGetTexGendv (GLenum coord, GLenum pname, GLdouble* params)
1049 {
1050 ::glGetTexGendv (coord, pname, params);
1051 }
1052
1053 inline void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat* params)
1054 {
1055 ::glGetTexGenfv (coord, pname, params);
1056 }
1057
1058 inline void glGetTexGeniv (GLenum coord, GLenum pname, GLint* params)
1059 {
1060 ::glGetTexGeniv (coord, pname, params);
1061 }
1062
1063public: //! @name Resident textures and priorities (removed since 3.1)
1064
1065 inline void glPrioritizeTextures (GLsizei n, const GLuint* textures, const GLclampf* priorities)
1066 {
1067 ::glPrioritizeTextures (n, textures, priorities);
1068 }
1069
1070 inline GLboolean glAreTexturesResident (GLsizei n, const GLuint* textures, GLboolean* residences)
1071 {
1072 return ::glAreTexturesResident (n, textures, residences);
1073 }
1074
1075public: //! @name Pixel copying (removed since 3.1)
1076
1077 inline void glDrawPixels (GLsizei width, GLsizei height,
1078 GLenum format, GLenum type,
1079 const GLvoid* pixels)
1080 {
1081 ::glDrawPixels (width, height, format, type, pixels);
1082 }
1083
1084 inline void glCopyPixels (GLint x, GLint y,
1085 GLsizei width, GLsizei height,
1086 GLenum type)
1087 {
1088 ::glCopyPixels (x, y, width, height, type);
1089 }
1090
1091 inline void glBitmap (GLsizei width, GLsizei height,
1092 GLfloat xorig, GLfloat yorig,
1093 GLfloat xmove, GLfloat ymove,
1094 const GLubyte* bitmap)
1095 {
1096 ::glBitmap (width, height, xorig, yorig, xmove, ymove, bitmap);
1097 }
1098
1099 inline void glPixelZoom (GLfloat xfactor, GLfloat yfactor)
1100 {
1101 ::glPixelZoom (xfactor, yfactor);
1102 }
1103
1104public: //! @name Fog and all associated parameters (removed since 3.1)
1105
1106 inline void glFogf (GLenum pname, GLfloat param)
1107 {
1108 ::glFogf (pname, param);
1109 }
1110
1111 inline void glFogi (GLenum pname, GLint param)
1112 {
1113 ::glFogi (pname, param);
1114 }
1115
1116 inline void glFogfv (GLenum pname, const GLfloat* params)
1117 {
1118 ::glFogfv (pname, params);
1119 }
1120
1121 inline void glFogiv (GLenum pname, const GLint* params)
1122 {
1123 ::glFogiv (pname, params);
1124 }
1125
1126public: //! @name Evaluators (removed since 3.1)
1127
1128 inline void glMap1d (GLenum target, GLdouble u1, GLdouble u2,
1129 GLint stride,
1130 GLint order, const GLdouble* points)
1131 {
1132 ::glMap1d (target, u1, u2, stride, order, points);
1133 }
1134
1135 inline void glMap1f (GLenum target, GLfloat u1, GLfloat u2,
1136 GLint stride,
1137 GLint order, const GLfloat* points)
1138 {
1139 ::glMap1f (target, u1, u2, stride, order, points);
1140 }
1141
1142 inline void glMap2d (GLenum target,
1143 GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
1144 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
1145 const GLdouble* points)
1146 {
1147 ::glMap2d (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1148 }
1149
1150 inline void glMap2f (GLenum target,
1151 GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
1152 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
1153 const GLfloat* points)
1154 {
1155 ::glMap2f (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1156 }
1157
1158 inline void glGetMapdv (GLenum target, GLenum query, GLdouble* v)
1159 {
1160 ::glGetMapdv (target, query, v);
1161 }
1162
1163 inline void glGetMapfv (GLenum target, GLenum query, GLfloat* v)
1164 {
1165 ::glGetMapfv (target, query, v);
1166 }
1167
1168 inline void glGetMapiv (GLenum target, GLenum query, GLint* v)
1169 {
1170 ::glGetMapiv (target, query, v);
1171 }
1172
1173 inline void glEvalCoord1d (GLdouble u)
1174 {
1175 ::glEvalCoord1d (u);
1176 }
1177
1178 inline void glEvalCoord1f (GLfloat u)
1179 {
1180 ::glEvalCoord1f (u);
1181 }
1182
1183 inline void glEvalCoord1dv (const GLdouble* u)
1184 {
1185 ::glEvalCoord1dv (u);
1186 }
1187
1188 inline void glEvalCoord1fv (const GLfloat* u)
1189 {
1190 ::glEvalCoord1fv (u);
1191 }
1192
1193 inline void glEvalCoord2d (GLdouble u, GLdouble v)
1194 {
1195 ::glEvalCoord2d (u, v);
1196 }
1197
1198 inline void glEvalCoord2f (GLfloat u, GLfloat v)
1199 {
1200 ::glEvalCoord2f (u, v);
1201 }
1202
1203 inline void glEvalCoord2dv (const GLdouble* u)
1204 {
1205 ::glEvalCoord2dv (u);
1206 }
1207
1208 inline void glEvalCoord2fv (const GLfloat* u)
1209 {
1210 ::glEvalCoord2fv (u);
1211 }
1212
1213 inline void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2)
1214 {
1215 ::glMapGrid1d (un, u1, u2);
1216 }
1217
1218 inline void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2)
1219 {
1220 ::glMapGrid1f (un, u1, u2);
1221 }
1222
1223 inline void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2,
1224 GLint vn, GLdouble v1, GLdouble v2)
1225 {
1226 ::glMapGrid2d (un, u1, u2, vn, v1, v2);
1227 }
1228
1229 inline void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2,
1230 GLint vn, GLfloat v1, GLfloat v2)
1231 {
1232 ::glMapGrid2f (un, u1, u2, vn, v1, v2);
1233 }
1234
1235 inline void glEvalPoint1 (GLint i)
1236 {
1237 ::glEvalPoint1 (i);
1238 }
1239
1240 inline void glEvalPoint2 (GLint i, GLint j)
1241 {
1242 ::glEvalPoint2 (i, j);
1243 }
1244
1245 inline void glEvalMesh1 (GLenum mode, GLint i1, GLint i2)
1246 {
1247 ::glEvalMesh1 (mode, i1, i2);
1248 }
1249
1250 inline void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
1251 {
1252 ::glEvalMesh2 (mode, i1, i2, j1, j2);
1253 }
1254
1255public: //! @name Selection and feedback modes (removed since 3.1)
1256
1257 inline void glFeedbackBuffer (GLsizei theSize, GLenum theType, GLfloat* theBuffer)
1258 {
1259 ::glFeedbackBuffer (theSize, theType, theBuffer);
1260 }
1261
1262 inline void glPassThrough (GLfloat token)
1263 {
1264 ::glPassThrough (token);
1265 }
1266
1267 inline void glSelectBuffer (GLsizei theSize, GLuint* theBuffer)
1268 {
1269 ::glSelectBuffer (theSize, theBuffer);
1270 }
1271
1272 inline void glInitNames()
1273 {
1274 ::glInitNames();
1275 }
1276
1277 inline void glLoadName (GLuint theName)
1278 {
1279 ::glLoadName (theName);
1280 }
1281
1282 inline void glPushName (GLuint theName)
1283 {
1284 ::glPushName (theName);
1285 }
1286
1287 inline void glPopName()
1288 {
1289 ::glPopName();
1290 }
1291
1292public: //! @name Accumulation Buffer (removed since 3.1)
1293
1294 inline void glClearAccum (GLfloat theRed, GLfloat theGreen, GLfloat theBlue, GLfloat theAlpha)
1295 {
1296 ::glClearAccum (theRed, theGreen, theBlue, theAlpha);
1297 }
1298
1299 inline void glAccum (GLenum theOp, GLfloat theValue)
1300 {
1301 ::glAccum (theOp, theValue);
1302 }
1303
1304public: //! @name Edge flags and fixed-function vertex processing (removed since 3.1)
1305
1306 inline void glEdgeFlag (GLboolean theFlag)
1307 {
1308 ::glEdgeFlag (theFlag);
1309 }
1310
1311 inline void glEdgeFlagv (const GLboolean* theFlag)
1312 {
1313 ::glEdgeFlagv (theFlag);
1314 }
1315
1316 inline void glVertexPointer (GLint theSize, GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1317 {
1318 ::glVertexPointer (theSize, theType, theStride, thePtr);
1319 }
1320
1321 inline void glNormalPointer (GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1322 {
1323 ::glNormalPointer (theType, theStride, thePtr);
1324 }
1325
1326 inline void glColorPointer (GLint theSize, GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1327 {
1328 ::glColorPointer (theSize, theType, theStride, thePtr);
1329 }
1330
1331 inline void glIndexPointer (GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1332 {
1333 ::glIndexPointer (theType, theStride, thePtr);
1334 }
1335
1336 inline void glTexCoordPointer (GLint theSize, GLenum theType, GLsizei theStride, const GLvoid* thePtr)
1337 {
1338 ::glTexCoordPointer (theSize, theType, theStride, thePtr);
1339 }
1340
1341 inline void glEdgeFlagPointer (GLsizei theStride, const GLvoid* thePtr)
1342 {
1343 ::glEdgeFlagPointer (theStride, thePtr);
1344 }
1345
1346 inline void glGetPointerv (GLenum pname, GLvoid** params)
1347 {
1348 ::glGetPointerv(pname, params);
1349 }
1350
1351 inline void glInterleavedArrays (GLenum theFormat, GLsizei theStride, const GLvoid* thePointer)
1352 {
1353 ::glInterleavedArrays (theFormat, theStride, thePointer);
1354 }
1355
1356 inline void glEnableClientState (GLenum theCap)
1357 {
1358 ::glEnableClientState (theCap);
1359 }
1360
1361 inline void glDisableClientState (GLenum theCap)
1362 {
1363 ::glDisableClientState (theCap);
1364 }
1365
1366};
1367
1368#endif // _OpenGl_GlCore11_Header