src/render/opengles/SDL_glesfuncs.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 23 Jul 2013 08:06:49 -0700
changeset 7502 6ff02ff3cf06
parent 7160 bfb5f8f4f006
child 7642 303214c66577
permissions -rw-r--r--
Updated blend semantics so blending uses the following formula:
dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA))
dstA = srcA + (dstA * (1-srcA))
This allows proper compositing semantics without requiring premultiplied alpha.

Needs full unit test coverage and bug fixes!
     1 SDL_PROC(void, glBindTexture, (GLenum, GLuint))
     2 SDL_PROC(void, glBlendFunc, (GLenum, GLenum))
     3 SDL_PROC(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(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(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(void, glBindFramebufferOES, (GLenum, GLuint))
    34 SDL_PROC(void, glFramebufferTexture2DOES, (GLenum, GLenum, GLenum, GLuint, GLint))
    35 SDL_PROC(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(void, glDeleteFramebuffersOES, (GLsizei, const GLuint*))
    41 
    42 /* vi: set ts=4 sw=4 expandtab: */