comparison include/SDL_opengles.h @ 2753:0969758c8809

indent
author Sam Lantinga <slouken@libsdl.org>
date Mon, 15 Sep 2008 04:32:36 +0000
parents 722339a7a126
children f55c87ae336b
comparison
equal deleted inserted replaced
2752:edd2839b36f7 2753:0969758c8809
30 #define __gles_h_ 30 #define __gles_h_
31 31
32 /* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */ 32 /* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */
33 33
34 #ifdef __cplusplus 34 #ifdef __cplusplus
35 extern "C" { 35 extern "C"
36 #endif 36 {
37 37 #endif
38 38
39
39 #ifndef APIENTRY 40 #ifndef APIENTRY
40 #define APIENTRY 41 #define APIENTRY
41 #endif 42 #endif
42 43
43 #ifndef GL_APIENTRY 44 #ifndef GL_APIENTRY
44 #define GL_APIENTRY 45 #define GL_APIENTRY
45 #endif 46 #endif
46 47
47 48
48 /* 49 /*
49 ** License Applicability. Except to the extent portions of this file are 50 ** License Applicability. Except to the extent portions of this file are
50 ** made subject to an alternative license as permitted in the SGI Free 51 ** made subject to an alternative license as permitted in the SGI Free
51 ** Software License B, Version 1.0 (the "License"), the contents of this 52 ** Software License B, Version 1.0 (the "License"), the contents of this
52 ** file are subject only to the provisions of the License. You may not use 53 ** file are subject only to the provisions of the License. You may not use
77 ** was created using the OpenGL(R) version 1.2.1 Sample Implementation 78 ** was created using the OpenGL(R) version 1.2.1 Sample Implementation
78 ** published by SGI, but has not been independently verified as being 79 ** published by SGI, but has not been independently verified as being
79 ** compliant with the OpenGL(R) version 1.2.1 Specification. 80 ** compliant with the OpenGL(R) version 1.2.1 Specification.
80 */ 81 */
81 82
82 typedef unsigned int GLenum; 83 typedef unsigned int GLenum;
83 typedef unsigned char GLboolean; 84 typedef unsigned char GLboolean;
84 typedef unsigned int GLbitfield; 85 typedef unsigned int GLbitfield;
85 typedef signed char GLbyte; 86 typedef signed char GLbyte;
86 typedef short GLshort; 87 typedef short GLshort;
87 typedef int GLint; 88 typedef int GLint;
88 typedef int GLsizei; 89 typedef int GLsizei;
89 typedef unsigned char GLubyte; 90 typedef unsigned char GLubyte;
90 typedef unsigned short GLushort; 91 typedef unsigned short GLushort;
91 typedef unsigned int GLuint; 92 typedef unsigned int GLuint;
92 typedef float GLfloat; 93 typedef float GLfloat;
93 typedef float GLclampf; 94 typedef float GLclampf;
94 typedef void GLvoid; 95 typedef void GLvoid;
95 typedef int GLfixed; 96 typedef int GLfixed;
96 typedef int GLclampx; 97 typedef int GLclampx;
97 98
98 typedef int GLintptr; 99 typedef int GLintptr;
99 typedef int GLsizeiptr; 100 typedef int GLsizeiptr;
100 101
101 102
102 /*************************************************************/ 103 /*************************************************************/
103 104
104 /* OpenGL ES core versions */ 105 /* OpenGL ES core versions */
652 #endif 653 #endif
653 654
654 /*************************************************************/ 655 /*************************************************************/
655 656
656 /* Available only in Common profile */ 657 /* Available only in Common profile */
657 GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLclampf ref); 658 GL_API void GL_APIENTRY glAlphaFunc(GLenum func, GLclampf ref);
658 GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 659 GL_API void GL_APIENTRY glClearColor(GLclampf red, GLclampf green,
659 GL_API void GL_APIENTRY glClearDepthf (GLclampf depth); 660 GLclampf blue, GLclampf alpha);
660 GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation); 661 GL_API void GL_APIENTRY glClearDepthf(GLclampf depth);
661 GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 662 GL_API void GL_APIENTRY glClipPlanef(GLenum plane,
662 GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); 663 const GLfloat * equation);
663 GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param); 664 GL_API void GL_APIENTRY glColor4f(GLfloat red, GLfloat green,
664 GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params); 665 GLfloat blue, GLfloat alpha);
665 GL_API void GL_APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 666 GL_API void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar);
666 GL_API void GL_APIENTRY glGetClipPlanef (GLenum pname, GLfloat eqn[4]); 667 GL_API void GL_APIENTRY glFogf(GLenum pname, GLfloat param);
667 GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params); 668 GL_API void GL_APIENTRY glFogfv(GLenum pname, const GLfloat * params);
668 GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params); 669 GL_API void GL_APIENTRY glFrustumf(GLfloat left, GLfloat right,
669 GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); 670 GLfloat bottom, GLfloat top,
670 GL_API void GL_APIENTRY glGetTexEnvfv (GLenum env, GLenum pname, GLfloat *params); 671 GLfloat zNear, GLfloat zFar);
671 GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); 672 GL_API void GL_APIENTRY glGetClipPlanef(GLenum pname, GLfloat eqn[4]);
672 GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param); 673 GL_API void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat * params);
673 GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params); 674 GL_API void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname,
674 GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); 675 GLfloat * params);
675 GL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); 676 GL_API void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname,
676 GL_API void GL_APIENTRY glLineWidth (GLfloat width); 677 GLfloat * params);
677 GL_API void GL_APIENTRY glLoadMatrixf (const GLfloat *m); 678 GL_API void GL_APIENTRY glGetTexEnvfv(GLenum env, GLenum pname,
678 GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); 679 GLfloat * params);
679 GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); 680 GL_API void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname,
680 GL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m); 681 GLfloat * params);
681 GL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 682 GL_API void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param);
682 GL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); 683 GL_API void GL_APIENTRY glLightModelfv(GLenum pname,
683 GL_API void GL_APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); 684 const GLfloat * params);
684 GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param); 685 GL_API void GL_APIENTRY glLightf(GLenum light, GLenum pname,
685 GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); 686 GLfloat param);
686 GL_API void GL_APIENTRY glPointSize (GLfloat size); 687 GL_API void GL_APIENTRY glLightfv(GLenum light, GLenum pname,
687 GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); 688 const GLfloat * params);
688 GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 689 GL_API void GL_APIENTRY glLineWidth(GLfloat width);
689 GL_API void GL_APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); 690 GL_API void GL_APIENTRY glLoadMatrixf(const GLfloat * m);
690 GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); 691 GL_API void GL_APIENTRY glMaterialf(GLenum face, GLenum pname,
691 GL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); 692 GLfloat param);
692 GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); 693 GL_API void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname,
693 GL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); 694 const GLfloat * params);
694 GL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); 695 GL_API void GL_APIENTRY glMultMatrixf(const GLfloat * m);
696 GL_API void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s,
697 GLfloat t, GLfloat r,
698 GLfloat q);
699 GL_API void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
700 GL_API void GL_APIENTRY glOrthof(GLfloat left, GLfloat right,
701 GLfloat bottom, GLfloat top,
702 GLfloat zNear, GLfloat zFar);
703 GL_API void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param);
704 GL_API void GL_APIENTRY glPointParameterfv(GLenum pname,
705 const GLfloat * params);
706 GL_API void GL_APIENTRY glPointSize(GLfloat size);
707 GL_API void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units);
708 GL_API void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y,
709 GLfloat z);
710 GL_API void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z);
711 GL_API void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname,
712 GLfloat param);
713 GL_API void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname,
714 const GLfloat * params);
715 GL_API void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname,
716 GLfloat param);
717 GL_API void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname,
718 const GLfloat * params);
719 GL_API void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z);
695 720
696 /* Available in both Common and Common-Lite profiles */ 721 /* Available in both Common and Common-Lite profiles */
697 GL_API void GL_APIENTRY glActiveTexture (GLenum texture); 722 GL_API void GL_APIENTRY glActiveTexture(GLenum texture);
698 GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLclampx ref); 723 GL_API void GL_APIENTRY glAlphaFuncx(GLenum func, GLclampx ref);
699 GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 724 GL_API void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer);
700 GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); 725 GL_API void GL_APIENTRY glBindTexture(GLenum target, GLuint texture);
701 GL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); 726 GL_API void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor);
702 GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); 727 GL_API void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size,
703 GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); 728 const GLvoid * data, GLenum usage);
704 GL_API void GL_APIENTRY glClear (GLbitfield mask); 729 GL_API void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset,
705 GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 730 GLsizeiptr size,
706 GL_API void GL_APIENTRY glClearDepthx (GLclampx depth); 731 const GLvoid * data);
707 GL_API void GL_APIENTRY glClearStencil (GLint s); 732 GL_API void GL_APIENTRY glClear(GLbitfield mask);
708 GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture); 733 GL_API void GL_APIENTRY glClearColorx(GLclampx red, GLclampx green,
709 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation); 734 GLclampx blue, GLclampx alpha);
710 GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 735 GL_API void GL_APIENTRY glClearDepthx(GLclampx depth);
711 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 736 GL_API void GL_APIENTRY glClearStencil(GLint s);
712 GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 737 GL_API void GL_APIENTRY glClientActiveTexture(GLenum texture);
713 GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 738 GL_API void GL_APIENTRY glClipPlanex(GLenum plane,
714 GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 739 const GLfixed * equation);
715 GL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 740 GL_API void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green,
716 GL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 741 GLubyte blue, GLubyte alpha);
717 GL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 742 GL_API void GL_APIENTRY glColor4x(GLfixed red, GLfixed green,
718 GL_API void GL_APIENTRY glCullFace (GLenum mode); 743 GLfixed blue, GLfixed alpha);
719 GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); 744 GL_API void GL_APIENTRY glColorMask(GLboolean red, GLboolean green,
720 GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); 745 GLboolean blue, GLboolean alpha);
721 GL_API void GL_APIENTRY glDepthFunc (GLenum func); 746 GL_API void GL_APIENTRY glColorPointer(GLint size, GLenum type,
722 GL_API void GL_APIENTRY glDepthMask (GLboolean flag); 747 GLsizei stride,
723 GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar); 748 const GLvoid * pointer);
724 GL_API void GL_APIENTRY glDisable (GLenum cap); 749 GL_API void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level,
725 GL_API void GL_APIENTRY glDisableClientState (GLenum array); 750 GLenum internalformat,
726 GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 751 GLsizei width,
727 GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); 752 GLsizei height,
728 GL_API void GL_APIENTRY glEnable (GLenum cap); 753 GLint border,
729 GL_API void GL_APIENTRY glEnableClientState (GLenum array); 754 GLsizei imageSize,
730 GL_API void GL_APIENTRY glFinish (void); 755 const GLvoid * data);
731 GL_API void GL_APIENTRY glFlush (void); 756 GL_API void GL_APIENTRY glCompressedTexSubImage2D(GLenum target,
732 GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param); 757 GLint level,
733 GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *params); 758 GLint xoffset,
734 GL_API void GL_APIENTRY glFrontFace (GLenum mode); 759 GLint yoffset,
735 GL_API void GL_APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 760 GLsizei width,
736 GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params); 761 GLsizei height,
737 GL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); 762 GLenum format,
738 GL_API void GL_APIENTRY glGetClipPlanex (GLenum pname, GLfixed eqn[4]); 763 GLsizei imageSize,
739 GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); 764 const GLvoid * data);
740 GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); 765 GL_API void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level,
741 GL_API GLenum GL_APIENTRY glGetError (void); 766 GLenum internalformat, GLint x,
742 GL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params); 767 GLint y, GLsizei width,
743 GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params); 768 GLsizei height, GLint border);
744 GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params); 769 GL_API void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level,
745 GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params); 770 GLint xoffset, GLint yoffset,
746 GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params); 771 GLint x, GLint y,
747 GL_API const GLubyte * GL_APIENTRY glGetString (GLenum name); 772 GLsizei width,
748 GL_API void GL_APIENTRY glGetTexEnviv (GLenum env, GLenum pname, GLint *params); 773 GLsizei height);
749 GL_API void GL_APIENTRY glGetTexEnvxv (GLenum env, GLenum pname, GLfixed *params); 774 GL_API void GL_APIENTRY glCullFace(GLenum mode);
750 GL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); 775 GL_API void GL_APIENTRY glDeleteBuffers(GLsizei n,
751 GL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params); 776 const GLuint * buffers);
752 GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode); 777 GL_API void GL_APIENTRY glDeleteTextures(GLsizei n,
753 GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); 778 const GLuint * textures);
754 GL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap); 779 GL_API void GL_APIENTRY glDepthFunc(GLenum func);
755 GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture); 780 GL_API void GL_APIENTRY glDepthMask(GLboolean flag);
756 GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param); 781 GL_API void GL_APIENTRY glDepthRangex(GLclampx zNear, GLclampx zFar);
757 GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *params); 782 GL_API void GL_APIENTRY glDisable(GLenum cap);
758 GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); 783 GL_API void GL_APIENTRY glDisableClientState(GLenum array);
759 GL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params); 784 GL_API void GL_APIENTRY glDrawArrays(GLenum mode, GLint first,
760 GL_API void GL_APIENTRY glLineWidthx (GLfixed width); 785 GLsizei count);
761 GL_API void GL_APIENTRY glLoadIdentity (void); 786 GL_API void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count,
762 GL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m); 787 GLenum type,
763 GL_API void GL_APIENTRY glLogicOp (GLenum opcode); 788 const GLvoid * indices);
764 GL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param); 789 GL_API void GL_APIENTRY glEnable(GLenum cap);
765 GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *params); 790 GL_API void GL_APIENTRY glEnableClientState(GLenum array);
766 GL_API void GL_APIENTRY glMatrixMode (GLenum mode); 791 GL_API void GL_APIENTRY glFinish(void);
767 GL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m); 792 GL_API void GL_APIENTRY glFlush(void);
768 GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); 793 GL_API void GL_APIENTRY glFogx(GLenum pname, GLfixed param);
769 GL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz); 794 GL_API void GL_APIENTRY glFogxv(GLenum pname, const GLfixed * params);
770 GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer); 795 GL_API void GL_APIENTRY glFrontFace(GLenum mode);
771 GL_API void GL_APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); 796 GL_API void GL_APIENTRY glFrustumx(GLfixed left, GLfixed right,
772 GL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); 797 GLfixed bottom, GLfixed top,
773 GL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param); 798 GLfixed zNear, GLfixed zFar);
774 GL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params); 799 GL_API void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean * params);
775 GL_API void GL_APIENTRY glPointSizex (GLfixed size); 800 GL_API void GL_APIENTRY glGetBufferParameteriv(GLenum target,
776 GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units); 801 GLenum pname,
777 GL_API void GL_APIENTRY glPopMatrix (void); 802 GLint * params);
778 GL_API void GL_APIENTRY glPushMatrix (void); 803 GL_API void GL_APIENTRY glGetClipPlanex(GLenum pname, GLfixed eqn[4]);
779 GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); 804 GL_API void GL_APIENTRY glGenBuffers(GLsizei n, GLuint * buffers);
780 GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); 805 GL_API void GL_APIENTRY glGenTextures(GLsizei n, GLuint * textures);
781 GL_API void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); 806 GL_API GLenum GL_APIENTRY glGetError(void);
782 GL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert); 807 GL_API void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed * params);
783 GL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z); 808 GL_API void GL_APIENTRY glGetIntegerv(GLenum pname, GLint * params);
784 GL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); 809 GL_API void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname,
785 GL_API void GL_APIENTRY glShadeModel (GLenum mode); 810 GLfixed * params);
786 GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); 811 GL_API void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname,
787 GL_API void GL_APIENTRY glStencilMask (GLuint mask); 812 GLfixed * params);
788 GL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); 813 GL_API void GL_APIENTRY glGetPointerv(GLenum pname, void **params);
789 GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 814 GL_API const GLubyte *GL_APIENTRY glGetString(GLenum name);
790 GL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param); 815 GL_API void GL_APIENTRY glGetTexEnviv(GLenum env, GLenum pname,
791 GL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param); 816 GLint * params);
792 GL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params); 817 GL_API void GL_APIENTRY glGetTexEnvxv(GLenum env, GLenum pname,
793 GL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params); 818 GLfixed * params);
794 GL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 819 GL_API void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname,
795 GL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); 820 GLint * params);
796 GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param); 821 GL_API void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname,
797 GL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); 822 GLfixed * params);
798 GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params); 823 GL_API void GL_APIENTRY glHint(GLenum target, GLenum mode);
799 GL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 824 GL_API GLboolean GL_APIENTRY glIsBuffer(GLuint buffer);
800 GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z); 825 GL_API GLboolean GL_APIENTRY glIsEnabled(GLenum cap);
801 GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 826 GL_API GLboolean GL_APIENTRY glIsTexture(GLuint texture);
802 GL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); 827 GL_API void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param);
828 GL_API void GL_APIENTRY glLightModelxv(GLenum pname,
829 const GLfixed * params);
830 GL_API void GL_APIENTRY glLightx(GLenum light, GLenum pname,
831 GLfixed param);
832 GL_API void GL_APIENTRY glLightxv(GLenum light, GLenum pname,
833 const GLfixed * params);
834 GL_API void GL_APIENTRY glLineWidthx(GLfixed width);
835 GL_API void GL_APIENTRY glLoadIdentity(void);
836 GL_API void GL_APIENTRY glLoadMatrixx(const GLfixed * m);
837 GL_API void GL_APIENTRY glLogicOp(GLenum opcode);
838 GL_API void GL_APIENTRY glMaterialx(GLenum face, GLenum pname,
839 GLfixed param);
840 GL_API void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname,
841 const GLfixed * params);
842 GL_API void GL_APIENTRY glMatrixMode(GLenum mode);
843 GL_API void GL_APIENTRY glMultMatrixx(const GLfixed * m);
844 GL_API void GL_APIENTRY glMultiTexCoord4x(GLenum target, GLfixed s,
845 GLfixed t, GLfixed r,
846 GLfixed q);
847 GL_API void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz);
848 GL_API void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride,
849 const GLvoid * pointer);
850 GL_API void GL_APIENTRY glOrthox(GLfixed left, GLfixed right,
851 GLfixed bottom, GLfixed top,
852 GLfixed zNear, GLfixed zFar);
853 GL_API void GL_APIENTRY glPixelStorei(GLenum pname, GLint param);
854 GL_API void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param);
855 GL_API void GL_APIENTRY glPointParameterxv(GLenum pname,
856 const GLfixed * params);
857 GL_API void GL_APIENTRY glPointSizex(GLfixed size);
858 GL_API void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units);
859 GL_API void GL_APIENTRY glPopMatrix(void);
860 GL_API void GL_APIENTRY glPushMatrix(void);
861 GL_API void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width,
862 GLsizei height, GLenum format,
863 GLenum type, GLvoid * pixels);
864 GL_API void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y,
865 GLfixed z);
866 GL_API void GL_APIENTRY glSampleCoverage(GLclampf value,
867 GLboolean invert);
868 GL_API void GL_APIENTRY glSampleCoveragex(GLclampx value,
869 GLboolean invert);
870 GL_API void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z);
871 GL_API void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width,
872 GLsizei height);
873 GL_API void GL_APIENTRY glShadeModel(GLenum mode);
874 GL_API void GL_APIENTRY glStencilFunc(GLenum func, GLint ref,
875 GLuint mask);
876 GL_API void GL_APIENTRY glStencilMask(GLuint mask);
877 GL_API void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail,
878 GLenum zpass);
879 GL_API void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type,
880 GLsizei stride,
881 const GLvoid * pointer);
882 GL_API void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname,
883 GLint param);
884 GL_API void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname,
885 GLfixed param);
886 GL_API void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname,
887 const GLint * params);
888 GL_API void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname,
889 const GLfixed * params);
890 GL_API void GL_APIENTRY glTexImage2D(GLenum target, GLint level,
891 GLint internalformat, GLsizei width,
892 GLsizei height, GLint border,
893 GLenum format, GLenum type,
894 const GLvoid * pixels);
895 GL_API void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname,
896 GLint param);
897 GL_API void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname,
898 GLfixed param);
899 GL_API void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname,
900 const GLint * params);
901 GL_API void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname,
902 const GLfixed * params);
903 GL_API void GL_APIENTRY glTexSubImage2D(GLenum target, GLint level,
904 GLint xoffset, GLint yoffset,
905 GLsizei width, GLsizei height,
906 GLenum format, GLenum type,
907 const GLvoid * pixels);
908 GL_API void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z);
909 GL_API void GL_APIENTRY glVertexPointer(GLint size, GLenum type,
910 GLsizei stride,
911 const GLvoid * pointer);
912 GL_API void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width,
913 GLsizei height);
803 914
804 /*------------------------------------------------------------------------* 915 /*------------------------------------------------------------------------*
805 * Required OES extension functions 916 * Required OES extension functions
806 *------------------------------------------------------------------------*/ 917 *------------------------------------------------------------------------*/
807 918
816 #endif 927 #endif
817 928
818 /* GL_OES_point_size_array */ 929 /* GL_OES_point_size_array */
819 #ifndef GL_OES_point_size_array 930 #ifndef GL_OES_point_size_array
820 #define GL_OES_point_size_array 1 931 #define GL_OES_point_size_array 1
821 GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const GLvoid *pointer); 932 GL_API void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride,
933 const GLvoid * pointer);
822 #endif 934 #endif
823 935
824 /* GL_OES_point_sprite */ 936 /* GL_OES_point_sprite */
825 #ifndef GL_OES_point_sprite 937 #ifndef GL_OES_point_sprite
826 #define GL_OES_point_sprite 1 938 #define GL_OES_point_sprite 1
828 940
829 #ifdef __cplusplus 941 #ifdef __cplusplus
830 } 942 }
831 #endif 943 #endif
832 944
833 #endif /* __gles_h_ */ 945 #endif /* __gles_h_ */
834