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