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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 28e6f4334372556d435a43a4e054b3318e406955..70729c3d56cfb7a4d8cba715a6f3545dff27bc11 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -577,6 +577,27 @@ void GLES2TraceImplementation::Hint(GLenum target, GLenum mode) {
gl_->Hint(target, mode);
}
+void GLES2TraceImplementation::InvalidateFramebuffer(
+ GLenum target,
+ GLsizei count,
+ const GLenum* attachments) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::InvalidateFramebuffer");
+ gl_->InvalidateFramebuffer(target, count, attachments);
+}
+
+void GLES2TraceImplementation::InvalidateSubFramebuffer(
+ GLenum target,
+ GLsizei count,
+ const GLenum* attachments,
+ GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::InvalidateSubFramebuffer");
+ gl_->InvalidateSubFramebuffer(target, count, attachments, x, y, width,
+ height);
+}
+
GLboolean GLES2TraceImplementation::IsBuffer(GLuint buffer) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::IsBuffer");
return gl_->IsBuffer(buffer);
@@ -632,6 +653,11 @@ void GLES2TraceImplementation::PolygonOffset(GLfloat factor, GLfloat units) {
gl_->PolygonOffset(factor, units);
}
+void GLES2TraceImplementation::ReadBuffer(GLenum src) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ReadBuffer");
+ gl_->ReadBuffer(src);
+}
+
void GLES2TraceImplementation::ReadPixels(GLint x,
GLint y,
GLsizei width,
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_autogen.h ('k') | gpu/command_buffer/client/share_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698