Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Unified Diff: gpu/command_buffer/client/gles2_implementation_autogen.h

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no ozone Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/gles2_implementation_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_autogen.h b/gpu/command_buffer/client/gles2_implementation_autogen.h
index 302132eee640ee71897ea337f3d420f7b3d9f0e7..b24819bbc5144e65b6d093ed6304967c8a678de6 100644
--- a/gpu/command_buffer/client/gles2_implementation_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_autogen.h
@@ -397,8 +397,10 @@ virtual void Uniform2i(GLint location, GLint x, GLint y) OVERRIDE;
virtual void Uniform2iv(GLint location, GLsizei count, const GLint* v) OVERRIDE;
-virtual void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z)
- OVERRIDE;
+virtual void Uniform3f(GLint location,
+ GLfloat x,
+ GLfloat y,
+ GLfloat z) OVERRIDE;
virtual void Uniform3fv(GLint location,
GLsizei count,
@@ -418,8 +420,11 @@ virtual void Uniform4fv(GLint location,
GLsizei count,
const GLfloat* v) OVERRIDE;
-virtual void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w)
- OVERRIDE;
+virtual void Uniform4i(GLint location,
+ GLint x,
+ GLint y,
+ GLint z,
+ GLint w) OVERRIDE;
virtual void Uniform4iv(GLint location, GLsizei count, const GLint* v) OVERRIDE;
@@ -450,8 +455,10 @@ virtual void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) OVERRIDE;
virtual void VertexAttrib2fv(GLuint indx, const GLfloat* values) OVERRIDE;
-virtual void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z)
- OVERRIDE;
+virtual void VertexAttrib3f(GLuint indx,
+ GLfloat x,
+ GLfloat y,
+ GLfloat z) OVERRIDE;
virtual void VertexAttrib3fv(GLuint indx, const GLfloat* values) OVERRIDE;
@@ -565,7 +572,7 @@ virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) OVERRIDE;
virtual GLboolean UnmapBufferCHROMIUM(GLuint target) OVERRIDE;
-virtual void* MapImageCHROMIUM(GLuint image_id, GLenum access) OVERRIDE;
+virtual void* MapImageCHROMIUM(GLuint image_id) OVERRIDE;
virtual void UnmapImageCHROMIUM(GLuint image_id) OVERRIDE;
@@ -612,7 +619,8 @@ virtual GLuint CreateStreamTextureCHROMIUM(GLuint texture) OVERRIDE;
virtual GLuint CreateImageCHROMIUM(GLsizei width,
GLsizei height,
- GLenum internalformat) OVERRIDE;
+ GLenum internalformat,
+ GLenum usage) OVERRIDE;
virtual void DestroyImageCHROMIUM(GLuint image_id) OVERRIDE;
@@ -625,8 +633,10 @@ virtual void GetTranslatedShaderSourceANGLE(GLuint shader,
GLsizei* length,
char* source) OVERRIDE;
-virtual void PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height)
- OVERRIDE;
+virtual void PostSubBufferCHROMIUM(GLint x,
+ GLint y,
+ GLint width,
+ GLint height) OVERRIDE;
virtual void TexImageIOSurface2DCHROMIUM(GLenum target,
GLsizei width,

Powered by Google App Engine
This is Rietveld 408576698