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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc

Issue 10782005: Add a shallow command buffer flush that doesn't glFlush (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
index 2c26f2a827fa49c1e8b18c5dd60f3071a291fa0f..3c2d04e81385a0557d15aa60b5f599b42404442e 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
@@ -939,6 +939,10 @@ void WebGraphicsContext3DCommandBufferImpl::flush() {
gl_->FreeEverything();
}
+void WebGraphicsContext3DCommandBufferImpl::shallowFlushCHROMIUM() {
+ gl_->ShallowFlushCHROMIUM();
nduca 2012/07/18 06:13:06 Was there a reason you couldn't say gl_->helper()-
brianderson 2012/07/19 03:29:44 In each of the wgc3d implementations I copied the
+}
+
DELEGATE_TO_GL_4(framebufferRenderbuffer, FramebufferRenderbuffer,
nduca 2012/07/18 06:13:06 Who is advertising the extension as being supporte
brianderson 2012/07/19 03:29:44 It is advertised with other client-side-only exten
WGC3Denum, WGC3Denum, WGC3Denum, WebGLId)

Powered by Google App Engine
This is Rietveld 408576698