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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index 8d4553a0de840a787119ee7793ab516580212d4f..6a0acad3cecdccc269ab92f1617cc678b5a4304b 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -42,6 +42,13 @@ void BindBuffer(GLenum target, GLuint buffer) {
}
}
+void BindBufferBase(GLenum target, GLuint index, GLuint buffer) {
+ gles2::cmds::BindBufferBase* c = GetCmdSpace<gles2::cmds::BindBufferBase>();
+ if (c) {
+ c->Init(target, index, buffer);
+ }
+}
+
void BindFramebuffer(GLenum target, GLuint framebuffer) {
gles2::cmds::BindFramebuffer* c = GetCmdSpace<gles2::cmds::BindFramebuffer>();
if (c) {
@@ -1225,6 +1232,23 @@ void TexImage2D(GLenum target,
}
}
+void TexImage3D(GLenum target,
+ GLint level,
+ GLint internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth,
+ GLenum format,
+ GLenum type,
+ uint32_t pixels_shm_id,
+ uint32_t pixels_shm_offset) {
+ gles2::cmds::TexImage3D* c = GetCmdSpace<gles2::cmds::TexImage3D>();
+ if (c) {
+ c->Init(target, level, internalformat, width, height, depth, format, type,
+ pixels_shm_id, pixels_shm_offset);
+ }
+}
+
void TexParameterf(GLenum target, GLenum pname, GLfloat param) {
gles2::cmds::TexParameterf* c = GetCmdSpace<gles2::cmds::TexParameterf>();
if (c) {
@@ -1289,6 +1313,26 @@ void TexSubImage2D(GLenum target,
}
}
+void TexSubImage3D(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLint zoffset,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth,
+ GLenum format,
+ GLenum type,
+ uint32_t pixels_shm_id,
+ uint32_t pixels_shm_offset,
+ GLboolean internal) {
+ gles2::cmds::TexSubImage3D* c = GetCmdSpace<gles2::cmds::TexSubImage3D>();
+ if (c) {
+ c->Init(target, level, xoffset, yoffset, zoffset, width, height, depth,
+ format, type, pixels_shm_id, pixels_shm_offset, internal);
+ }
+}
+
void Uniform1f(GLint location, GLfloat x) {
gles2::cmds::Uniform1f* c = GetCmdSpace<gles2::cmds::Uniform1f>();
if (c) {
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698