Minor changes to ES3 functions inherited from ES2
With the addition of float framebuffer support in ES3, some parameters to ES2 functions are now GLfloat instead of GLclampf. Both are typedefs for 'float', so this is a source and binary compatible change. Bug: 8566953 Change-Id: I0b5acc78da7799a04053fdb568205f793792cad9
This commit is contained in:
parent
63ed38dc52
commit
439bc1614d
@ -5,7 +5,7 @@ void glBindBuffer ( GLenum target, GLuint buffer )
|
||||
void glBindFramebuffer ( GLenum target, GLuint framebuffer )
|
||||
void glBindRenderbuffer ( GLenum target, GLuint renderbuffer )
|
||||
void glBindTexture ( GLenum target, GLuint texture )
|
||||
void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
|
||||
void glBlendColor ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
|
||||
void glBlendEquation ( GLenum mode )
|
||||
void glBlendEquationSeparate ( GLenum modeRGB, GLenum modeAlpha )
|
||||
void glBlendFunc ( GLenum sfactor, GLenum dfactor )
|
||||
@ -14,8 +14,8 @@ void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum u
|
||||
void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data )
|
||||
GLenum glCheckFramebufferStatus ( GLenum target )
|
||||
void glClear ( GLbitfield mask )
|
||||
void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
|
||||
void glClearDepthf ( GLclampf depth )
|
||||
void glClearColor ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
|
||||
void glClearDepthf ( GLfloat depth )
|
||||
void glClearStencil ( GLint s )
|
||||
void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|
||||
void glCompileShader ( GLuint shader )
|
||||
@ -34,7 +34,7 @@ void glDeleteShader ( GLuint shader )
|
||||
void glDeleteTextures ( GLsizei n, const GLuint *textures )
|
||||
void glDepthFunc ( GLenum func )
|
||||
void glDepthMask ( GLboolean flag )
|
||||
void glDepthRangef ( GLclampf zNear, GLclampf zFar )
|
||||
void glDepthRangef ( GLfloat n, GLfloat f )
|
||||
void glDetachShader ( GLuint program, GLuint shader )
|
||||
void glDisable ( GLenum cap )
|
||||
void glDisableVertexAttribArray ( GLuint index )
|
||||
@ -94,7 +94,7 @@ void glPolygonOffset ( GLfloat factor, GLfloat units )
|
||||
void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
|
||||
void glReleaseShaderCompiler ( void )
|
||||
void glRenderbufferStorage ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height )
|
||||
void glSampleCoverage ( GLclampf value, GLboolean invert )
|
||||
void glSampleCoverage ( GLfloat value, GLboolean invert )
|
||||
void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height )
|
||||
void glShaderBinary ( GLsizei n, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length )
|
||||
void glShaderSource ( GLuint shader )
|
||||
|
Loading…
Reference in New Issue
Block a user