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

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

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://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 26233392005a5dc30a5e8fb97f6cf764dda856ed..33bc3aec5b5a8413641137855148b411fbcb4244 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -258,6 +258,20 @@ void GLES2TraceImplementation::CopyTexSubImage2D(GLenum target,
gl_->CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
}
+void GLES2TraceImplementation::CopyTexSubImage3D(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLint zoffset,
+ GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTexSubImage3D");
+ gl_->CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width,
+ height);
+}
+
GLuint GLES2TraceImplementation::CreateProgram() {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CreateProgram");
return gl_->CreateProgram();
@@ -1022,6 +1036,15 @@ void GLES2TraceImplementation::TexSubImage3D(GLenum target,
depth, format, type, pixels);
}
+void GLES2TraceImplementation::TransformFeedbackVaryings(
+ GLuint program,
+ GLsizei count,
+ const char* const* varyings,
+ GLenum buffermode) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::TransformFeedbackVaryings");
+ gl_->TransformFeedbackVaryings(program, count, varyings, buffermode);
+}
+
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/client/mapped_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698