summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-03-29 15:21:09 -0700
committerJesse Hall <jessehall@google.com>2013-04-10 08:34:54 -0700
commit439bc1614dba5694cd10476c0238ddd1f77fc94e (patch)
treeda232abc40a825f82059b000050bd6bf35152883 /opengl
parent63ed38dc52b27c5b39b11717d0c7736e1756db42 (diff)
downloadframeworks_native-439bc1614dba5694cd10476c0238ddd1f77fc94e.tar.gz
frameworks_native-439bc1614dba5694cd10476c0238ddd1f77fc94e.tar.bz2
frameworks_native-439bc1614dba5694cd10476c0238ddd1f77fc94e.zip
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
Diffstat (limited to 'opengl')
-rw-r--r--opengl/tools/glgen/specs/gles11/GLES30.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/opengl/tools/glgen/specs/gles11/GLES30.spec b/opengl/tools/glgen/specs/gles11/GLES30.spec
index 68d146e48..a02e6f761 100644
--- a/opengl/tools/glgen/specs/gles11/GLES30.spec
+++ b/opengl/tools/glgen/specs/gles11/GLES30.spec
@@ -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 )