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

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

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: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
===================================================================
--- content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc (revision 207109)
+++ content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc (working copy)
@@ -910,13 +910,13 @@
DELEGATE_TO_GL_1(enableVertexAttribArray, EnableVertexAttribArray,
WGC3Duint)
+//
+//void WebGraphicsContext3DCommandBufferImpl::finish() {
+// gl_->Finish();
+// if (!visible_ && free_command_buffer_when_invisible_)
+// real_gl_->FreeEverything();
+//}
-void WebGraphicsContext3DCommandBufferImpl::finish() {
- gl_->Finish();
- if (!visible_ && free_command_buffer_when_invisible_)
- real_gl_->FreeEverything();
-}
-
void WebGraphicsContext3DCommandBufferImpl::flush() {
gl_->Flush();
if (!visible_ && free_command_buffer_when_invisible_)

Powered by Google App Engine
This is Rietveld 408576698