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

Unified Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_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
Index: gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
index 567dace8013f605c938a33b470ff25bfbe56cec4..fd58cf8d8a3340157cc7338cb19f72327d8243e0 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -34,6 +34,13 @@ void GLES2TraceImplementation::BindBuffer(GLenum target, GLuint buffer) {
gl_->BindBuffer(target, buffer);
}
+void GLES2TraceImplementation::BindBufferBase(GLenum target,
+ GLuint index,
+ GLuint buffer) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindBufferBase");
+ gl_->BindBufferBase(target, index, buffer);
+}
+
void GLES2TraceImplementation::BindFramebuffer(GLenum target,
GLuint framebuffer) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::BindFramebuffer");
@@ -873,6 +880,21 @@ void GLES2TraceImplementation::TexImage2D(GLenum target,
type, pixels);
}
+void GLES2TraceImplementation::TexImage3D(GLenum target,
+ GLint level,
+ GLint internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth,
+ GLint border,
+ GLenum format,
+ GLenum type,
+ const void* pixels) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexImage3D");
+ gl_->TexImage3D(target, level, internalformat, width, height, depth, border,
+ format, type, pixels);
+}
+
void GLES2TraceImplementation::TexParameterf(GLenum target,
GLenum pname,
GLfloat param) {
@@ -925,6 +947,22 @@ void GLES2TraceImplementation::TexSubImage2D(GLenum target,
type, pixels);
}
+void GLES2TraceImplementation::TexSubImage3D(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLint zoffset,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth,
+ GLenum format,
+ GLenum type,
+ const void* pixels) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TexSubImage3D");
+ gl_->TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height,
+ depth, format, type, pixels);
+}
+
void GLES2TraceImplementation::Uniform1f(GLint location, GLfloat x) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::Uniform1f");
gl_->Uniform1f(location, x);
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_autogen.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698