src/render/opengles/SDL_glesfuncs.h
author Gabriel Jacobo <gabomdq@gmail.com>
Fri, 16 Aug 2013 13:37:27 -0300
changeset 7642 303214c66577
parent 7502 6ff02ff3cf06
child 8616 ec011c16e2fd
permissions -rw-r--r--
[Bug 2042] OpenGL ES renderer tries to load OES functions unconditionally

Also, fail more gracefully when creating texture to avoid double free errors.
     1 SDL_PROC(void, glBindTexture, (GLenum, GLuint))
     2 SDL_PROC(void, glBlendFunc, (GLenum, GLenum))
     3 SDL_PROC_OES(void, glBlendFuncSeparateOES, (GLenum, GLenum, GLenum, GLenum))
     4 SDL_PROC(void, glClear, (GLbitfield))
     5 SDL_PROC(void, glClearColor, (GLclampf, GLclampf, GLclampf, GLclampf))
     6 SDL_PROC(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
     7 SDL_PROC(void, glDeleteTextures, (GLsizei, const GLuint *))
     8 SDL_PROC(void, glDisable, (GLenum))
     9 SDL_PROC(void, glDisableClientState, (GLenum array))
    10 SDL_PROC(void, glDrawArrays, (GLenum, GLint, GLsizei))
    11 SDL_PROC_OES(void, glDrawTexfOES, (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat))
    12 SDL_PROC(void, glEnable, (GLenum))
    13 SDL_PROC(void, glEnableClientState, (GLenum))
    14 SDL_PROC(void, glFinish, (void))
    15 SDL_PROC_OES(void, glGenFramebuffersOES, (GLsizei, GLuint *))
    16 SDL_PROC(void, glGenTextures, (GLsizei, GLuint *))
    17 SDL_PROC(GLenum, glGetError, (void))
    18 SDL_PROC(void, glGetIntegerv, (GLenum, GLint *))
    19 SDL_PROC(void, glLoadIdentity, (void))
    20 SDL_PROC(void, glMatrixMode, (GLenum))
    21 SDL_PROC(void, glOrthof, (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat))
    22 SDL_PROC(void, glPixelStorei, (GLenum, GLint))
    23 SDL_PROC(void, glReadPixels, (GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid*))
    24 SDL_PROC(void, glScissor, (GLint, GLint, GLsizei, GLsizei))
    25 SDL_PROC(void, glTexCoordPointer, (GLint, GLenum, GLsizei, const GLvoid *))
    26 SDL_PROC(void, glTexEnvf, (GLenum, GLenum, GLfloat))
    27 SDL_PROC(void, glTexImage2D, (GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *))
    28 SDL_PROC(void, glTexParameteri, (GLenum, GLenum, GLint))
    29 SDL_PROC(void, glTexParameteriv, (GLenum, GLenum, const GLint *))
    30 SDL_PROC(void, glTexSubImage2D, (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *))
    31 SDL_PROC(void, glVertexPointer, (GLint, GLenum, GLsizei, const GLvoid *))
    32 SDL_PROC(void, glViewport, (GLint, GLint, GLsizei, GLsizei))
    33 SDL_PROC_OES(void, glBindFramebufferOES, (GLenum, GLuint))
    34 SDL_PROC_OES(void, glFramebufferTexture2DOES, (GLenum, GLenum, GLenum, GLuint, GLint))
    35 SDL_PROC_OES(GLenum, glCheckFramebufferStatusOES, (GLenum))
    36 SDL_PROC(void, glPushMatrix, (void))
    37 SDL_PROC(void, glTranslatef, (GLfloat, GLfloat, GLfloat))
    38 SDL_PROC(void, glRotatef, (GLfloat, GLfloat, GLfloat, GLfloat))
    39 SDL_PROC(void, glPopMatrix, (void))
    40 SDL_PROC_OES(void, glDeleteFramebuffersOES, (GLsizei, const GLuint*))
    41 
    42 /* vi: set ts=4 sw=4 expandtab: */