Hash :
b5424bb4
Author :
Date :
2021-01-14T15:09:41
Generate internal gl entry point functions as C functions. Some internal GL functions are exported to our libGLESv1_CM library and to properly export them, they must be C functions. Bug: angleproject:5534 Change-Id: I37280312f73fd5e55166e4fa36659267d657a50b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2628139 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869
//
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// libGLESv1_CM.cpp: Implements the exported OpenGL ES 1.0 functions.
#include "angle_gl.h"
#include "libGLESv2/entry_points_gles_1_0_autogen.h"
#include "libGLESv2/entry_points_gles_2_0_autogen.h"
#include "libGLESv2/entry_points_gles_3_2_autogen.h"
#include "libGLESv2/entry_points_gles_ext_autogen.h"
extern "C" {
void GL_APIENTRY glAlphaFunc(GLenum func, GLfloat ref)
{
return GL_AlphaFunc(func, ref);
}
void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
{
return GL_ClearColor(red, green, blue, alpha);
}
void GL_APIENTRY glClearDepthf(GLfloat d)
{
return GL_ClearDepthf(d);
}
void GL_APIENTRY glClipPlanef(GLenum p, const GLfloat *eqn)
{
return GL_ClipPlanef(p, eqn);
}
void GL_APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
{
return GL_Color4f(red, green, blue, alpha);
}
void GL_APIENTRY glDepthRangef(GLfloat n, GLfloat f)
{
return GL_DepthRangef(n, f);
}
void GL_APIENTRY glFogf(GLenum pname, GLfloat param)
{
return GL_Fogf(pname, param);
}
void GL_APIENTRY glFogfv(GLenum pname, const GLfloat *params)
{
return GL_Fogfv(pname, params);
}
void GL_APIENTRY glFrustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f)
{
return GL_Frustumf(l, r, b, t, n, f);
}
void GL_APIENTRY glGetClipPlanef(GLenum plane, GLfloat *equation)
{
return GL_GetClipPlanef(plane, equation);
}
void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat *data)
{
return GL_GetFloatv(pname, data);
}
void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
{
return GL_GetLightfv(light, pname, params);
}
void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
{
return GL_GetMaterialfv(face, pname, params);
}
void GL_APIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
{
return GL_GetTexEnvfv(target, pname, params);
}
void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
{
return GL_GetTexParameterfv(target, pname, params);
}
void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param)
{
return GL_LightModelf(pname, param);
}
void GL_APIENTRY glLightModelfv(GLenum pname, const GLfloat *params)
{
return GL_LightModelfv(pname, params);
}
void GL_APIENTRY glLightf(GLenum light, GLenum pname, GLfloat param)
{
return GL_Lightf(light, pname, param);
}
void GL_APIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params)
{
return GL_Lightfv(light, pname, params);
}
void GL_APIENTRY glLineWidth(GLfloat width)
{
return GL_LineWidth(width);
}
void GL_APIENTRY glLoadMatrixf(const GLfloat *m)
{
return GL_LoadMatrixf(m);
}
void GL_APIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param)
{
return GL_Materialf(face, pname, param);
}
void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
{
return GL_Materialfv(face, pname, params);
}
void GL_APIENTRY glMultMatrixf(const GLfloat *m)
{
return GL_MultMatrixf(m);
}
void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
{
return GL_MultiTexCoord4f(target, s, t, r, q);
}
void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
{
return GL_Normal3f(nx, ny, nz);
}
void GL_APIENTRY glOrthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f)
{
return GL_Orthof(l, r, b, t, n, f);
}
void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param)
{
return GL_PointParameterf(pname, param);
}
void GL_APIENTRY glPointParameterfv(GLenum pname, const GLfloat *params)
{
return GL_PointParameterfv(pname, params);
}
void GL_APIENTRY glPointSize(GLfloat size)
{
return GL_PointSize(size);
}
void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
{
return GL_PolygonOffset(factor, units);
}
void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
{
return GL_Rotatef(angle, x, y, z);
}
void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z)
{
return GL_Scalef(x, y, z);
}
void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param)
{
return GL_TexEnvf(target, pname, param);
}
void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
{
return GL_TexEnvfv(target, pname, params);
}
void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param)
{
return GL_TexParameterf(target, pname, param);
}
void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
{
return GL_TexParameterfv(target, pname, params);
}
void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z)
{
return GL_Translatef(x, y, z);
}
void GL_APIENTRY glActiveTexture(GLenum texture)
{
return GL_ActiveTexture(texture);
}
void GL_APIENTRY glAlphaFuncx(GLenum func, GLfixed ref)
{
return GL_AlphaFuncx(func, ref);
}
void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer)
{
return GL_BindBuffer(target, buffer);
}
void GL_APIENTRY glBindTexture(GLenum target, GLuint texture)
{
return GL_BindTexture(target, texture);
}
void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor)
{
return GL_BlendFunc(sfactor, dfactor);
}
void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage)
{
return GL_BufferData(target, size, data, usage);
}
void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data)
{
return GL_BufferSubData(target, offset, size, data);
}
void GL_APIENTRY glClear(GLbitfield mask)
{
return GL_Clear(mask);
}
void GL_APIENTRY glClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
{
return GL_ClearColorx(red, green, blue, alpha);
}
void GL_APIENTRY glClearDepthx(GLfixed depth)
{
return GL_ClearDepthx(depth);
}
void GL_APIENTRY glClearStencil(GLint s)
{
return GL_ClearStencil(s);
}
void GL_APIENTRY glClientActiveTexture(GLenum texture)
{
return GL_ClientActiveTexture(texture);
}
void GL_APIENTRY glClipPlanex(GLenum plane, const GLfixed *equation)
{
return GL_ClipPlanex(plane, equation);
}
void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
{
return GL_Color4ub(red, green, blue, alpha);
}
void GL_APIENTRY glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
{
return GL_Color4x(red, green, blue, alpha);
}
void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
{
return GL_ColorMask(red, green, blue, alpha);
}
void GL_APIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
{
return GL_ColorPointer(size, type, stride, pointer);
}
void GL_APIENTRY glCompressedTexImage2D(GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLsizei imageSize,
const void *data)
{
return GL_CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize,
data);
}
void GL_APIENTRY glCompressedTexSubImage2D(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLsizei imageSize,
const void *data)
{
return GL_CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format,
imageSize, data);
}
void GL_APIENTRY glCopyTexImage2D(GLenum target,
GLint level,
GLenum internalformat,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLint border)
{
return GL_CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
}
void GL_APIENTRY glCopyTexSubImage2D(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height)
{
return GL_CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
}
void GL_APIENTRY glCullFace(GLenum mode)
{
return GL_CullFace(mode);
}
void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint *buffers)
{
return GL_DeleteBuffers(n, buffers);
}
void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
{
return GL_DeleteTextures(n, textures);
}
void GL_APIENTRY glDepthFunc(GLenum func)
{
return GL_DepthFunc(func);
}
void GL_APIENTRY glDepthMask(GLboolean flag)
{
return GL_DepthMask(flag);
}
void GL_APIENTRY glDepthRangex(GLfixed n, GLfixed f)
{
return GL_DepthRangex(n, f);
}
void GL_APIENTRY glDisable(GLenum cap)
{
return GL_Disable(cap);
}
void GL_APIENTRY glDisableClientState(GLenum array)
{
return GL_DisableClientState(array);
}
void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
{
return GL_DrawArrays(mode, first, count);
}
void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices)
{
return GL_DrawElements(mode, count, type, indices);
}
void GL_APIENTRY glEnable(GLenum cap)
{
return GL_Enable(cap);
}
void GL_APIENTRY glEnableClientState(GLenum array)
{
return GL_EnableClientState(array);
}
void GL_APIENTRY glFinish(void)
{
return GL_Finish();
}
void GL_APIENTRY glFlush(void)
{
return GL_Flush();
}
void GL_APIENTRY glFogx(GLenum pname, GLfixed param)
{
return GL_Fogx(pname, param);
}
void GL_APIENTRY glFogxv(GLenum pname, const GLfixed *param)
{
return GL_Fogxv(pname, param);
}
void GL_APIENTRY glFrontFace(GLenum mode)
{
return GL_FrontFace(mode);
}
void GL_APIENTRY glFrustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f)
{
return GL_Frustumx(l, r, b, t, n, f);
}
void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean *data)
{
return GL_GetBooleanv(pname, data);
}
void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
{
return GL_GetBufferParameteriv(target, pname, params);
}
void GL_APIENTRY glGetClipPlanex(GLenum plane, GLfixed *equation)
{
return GL_GetClipPlanex(plane, equation);
}
void GL_APIENTRY glGenBuffers(GLsizei n, GLuint *buffers)
{
return GL_GenBuffers(n, buffers);
}
void GL_APIENTRY glGenTextures(GLsizei n, GLuint *textures)
{
return GL_GenTextures(n, textures);
}
GLenum GL_APIENTRY glGetError(void)
{
return GL_GetError();
}
void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed *params)
{
return GL_GetFixedv(pname, params);
}
void GL_APIENTRY glGetIntegerv(GLenum pname, GLint *data)
{
return GL_GetIntegerv(pname, data);
}
void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname, GLfixed *params)
{
return GL_GetLightxv(light, pname, params);
}
void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params)
{
return GL_GetMaterialxv(face, pname, params);
}
void GL_APIENTRY glGetPointerv(GLenum pname, void **params)
{
return GL_GetPointerv(pname, params);
}
const GLubyte *GL_APIENTRY glGetString(GLenum name)
{
return GL_GetString(name);
}
void GL_APIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
{
return GL_GetTexEnviv(target, pname, params);
}
void GL_APIENTRY glGetTexEnvxv(GLenum target, GLenum pname, GLfixed *params)
{
return GL_GetTexEnvxv(target, pname, params);
}
void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
{
return GL_GetTexParameteriv(target, pname, params);
}
void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params)
{
return GL_GetTexParameterxv(target, pname, params);
}
void GL_APIENTRY glHint(GLenum target, GLenum mode)
{
return GL_Hint(target, mode);
}
GLboolean GL_APIENTRY glIsBuffer(GLuint buffer)
{
return GL_IsBuffer(buffer);
}
GLboolean GL_APIENTRY glIsEnabled(GLenum cap)
{
return GL_IsEnabled(cap);
}
GLboolean GL_APIENTRY glIsTexture(GLuint texture)
{
return GL_IsTexture(texture);
}
void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param)
{
return GL_LightModelx(pname, param);
}
void GL_APIENTRY glLightModelxv(GLenum pname, const GLfixed *param)
{
return GL_LightModelxv(pname, param);
}
void GL_APIENTRY glLightx(GLenum light, GLenum pname, GLfixed param)
{
return GL_Lightx(light, pname, param);
}
void GL_APIENTRY glLightxv(GLenum light, GLenum pname, const GLfixed *params)
{
return GL_Lightxv(light, pname, params);
}
void GL_APIENTRY glLineWidthx(GLfixed width)
{
return GL_LineWidthx(width);
}
void GL_APIENTRY glLoadIdentity(void)
{
return GL_LoadIdentity();
}
void GL_APIENTRY glLoadMatrixx(const GLfixed *m)
{
return GL_LoadMatrixx(m);
}
void GL_APIENTRY glLogicOp(GLenum opcode)
{
return GL_LogicOp(opcode);
}
void GL_APIENTRY glMaterialx(GLenum face, GLenum pname, GLfixed param)
{
return GL_Materialx(face, pname, param);
}
void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname, const GLfixed *param)
{
return GL_Materialxv(face, pname, param);
}
void GL_APIENTRY glMatrixMode(GLenum mode)
{
return GL_MatrixMode(mode);
}
void GL_APIENTRY glMultMatrixx(const GLfixed *m)
{
return GL_MultMatrixx(m);
}
void GL_APIENTRY glMultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q)
{
return GL_MultiTexCoord4x(texture, s, t, r, q);
}
void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz)
{
return GL_Normal3x(nx, ny, nz);
}
void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride, const void *pointer)
{
return GL_NormalPointer(type, stride, pointer);
}
void GL_APIENTRY glOrthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f)
{
return GL_Orthox(l, r, b, t, n, f);
}
void GL_APIENTRY glPixelStorei(GLenum pname, GLint param)
{
return GL_PixelStorei(pname, param);
}
void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param)
{
return GL_PointParameterx(pname, param);
}
void GL_APIENTRY glPointParameterxv(GLenum pname, const GLfixed *params)
{
return GL_PointParameterxv(pname, params);
}
void GL_APIENTRY glPointSizex(GLfixed size)
{
return GL_PointSizex(size);
}
void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units)
{
return GL_PolygonOffsetx(factor, units);
}
void GL_APIENTRY glPopMatrix(void)
{
return GL_PopMatrix();
}
void GL_APIENTRY glPushMatrix(void)
{
return GL_PushMatrix();
}
void GL_APIENTRY glReadPixels(GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
void *pixels)
{
return GL_ReadPixels(x, y, width, height, format, type, pixels);
}
void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z)
{
return GL_Rotatex(angle, x, y, z);
}
void GL_APIENTRY glSampleCoverage(GLfloat value, GLboolean invert)
{
return GL_SampleCoverage(value, invert);
}
void GL_APIENTRY glSampleCoveragex(GLclampx value, GLboolean invert)
{
return GL_SampleCoveragex(value, invert);
}
void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z)
{
return GL_Scalex(x, y, z);
}
void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
{
return GL_Scissor(x, y, width, height);
}
void GL_APIENTRY glShadeModel(GLenum mode)
{
return GL_ShadeModel(mode);
}
void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask)
{
return GL_StencilFunc(func, ref, mask);
}
void GL_APIENTRY glStencilMask(GLuint mask)
{
return GL_StencilMask(mask);
}
void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
{
return GL_StencilOp(fail, zfail, zpass);
}
void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
{
return GL_TexCoordPointer(size, type, stride, pointer);
}
void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param)
{
return GL_TexEnvi(target, pname, param);
}
void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname, GLfixed param)
{
return GL_TexEnvx(target, pname, param);
}
void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *params)
{
return GL_TexEnviv(target, pname, params);
}
void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params)
{
return GL_TexEnvxv(target, pname, params);
}
void GL_APIENTRY glTexImage2D(GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type,
const void *pixels)
{
return GL_TexImage2D(target, level, internalformat, width, height, border, format, type,
pixels);
}
void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param)
{
return GL_TexParameteri(target, pname, param);
}
void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname, GLfixed param)
{
return GL_TexParameterx(target, pname, param);
}
void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
{
return GL_TexParameteriv(target, pname, params);
}
void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params)
{
return GL_TexParameterxv(target, pname, params);
}
void GL_APIENTRY glTexSubImage2D(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
const void *pixels)
{
return GL_TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
}
void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z)
{
return GL_Translatex(x, y, z);
}
void GL_APIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
{
return GL_VertexPointer(size, type, stride, pointer);
}
void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
{
return GL_Viewport(x, y, width, height);
}
// GL_OES_draw_texture
void GL_APIENTRY glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height)
{
return GL_DrawTexfOES(x, y, z, width, height);
}
void GL_APIENTRY glDrawTexfvOES(const GLfloat *coords)
{
return GL_DrawTexfvOES(coords);
}
void GL_APIENTRY glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height)
{
return GL_DrawTexiOES(x, y, z, width, height);
}
void GL_APIENTRY glDrawTexivOES(const GLint *coords)
{
return GL_DrawTexivOES(coords);
}
void GL_APIENTRY glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height)
{
return GL_DrawTexsOES(x, y, z, width, height);
}
void GL_APIENTRY glDrawTexsvOES(const GLshort *coords)
{
return GL_DrawTexsvOES(coords);
}
void GL_APIENTRY glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height)
{
return GL_DrawTexxOES(x, y, z, width, height);
}
void GL_APIENTRY glDrawTexxvOES(const GLfixed *coords)
{
return GL_DrawTexxvOES(coords);
}
// GL_OES_matrix_palette
void GL_APIENTRY glCurrentPaletteMatrixOES(GLuint matrixpaletteindex)
{
return GL_CurrentPaletteMatrixOES(matrixpaletteindex);
}
void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES()
{
return GL_LoadPaletteFromModelViewMatrixOES();
}
void GL_APIENTRY glMatrixIndexPointerOES(GLint size,
GLenum type,
GLsizei stride,
const void *pointer)
{
return GL_MatrixIndexPointerOES(size, type, stride, pointer);
}
void GL_APIENTRY glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const void *pointer)
{
return GL_WeightPointerOES(size, type, stride, pointer);
}
// GL_OES_point_size_array
void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride, const void *pointer)
{
return GL_PointSizePointerOES(type, stride, pointer);
}
// GL_OES_query_matrix
GLbitfield GL_APIENTRY glQueryMatrixxOES(GLfixed *mantissa, GLint *exponent)
{
return GL_QueryMatrixxOES(mantissa, exponent);
}
} // extern "C"