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

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

Issue 17504006: GPU process clients can perform a "shallow" finish. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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
===================================================================
--- gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h (revision 207109)
+++ gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h (working copy)
@@ -267,11 +267,6 @@
gl_->Flush();
}
-void GLES2TraceImplementation::ShallowFlushCHROMIUM() {
- TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShallowFlushCHROMIUM");
- gl_->ShallowFlushCHROMIUM();
-}
-
void GLES2TraceImplementation::FramebufferRenderbuffer(
GLenum target, GLenum attachment, GLenum renderbuffertarget,
GLuint renderbuffer) {
@@ -576,6 +571,16 @@
gl_->ShaderSource(shader, count, str, length);
}
+void GLES2TraceImplementation::ShallowFinishCHROMIUM() {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShallowFinishCHROMIUM");
+ gl_->ShallowFinishCHROMIUM();
+}
+
+void GLES2TraceImplementation::ShallowFlushCHROMIUM() {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::ShallowFlushCHROMIUM");
+ gl_->ShallowFlushCHROMIUM();
+}
+
void GLES2TraceImplementation::StencilFunc(
GLenum func, GLint ref, GLuint mask) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::StencilFunc");
« 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