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

Unified Diff: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc

Issue 7253052: Execute all GL commands up to the put offset reported by a flush. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc
===================================================================
--- content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc (revision 92051)
+++ content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc (working copy)
@@ -367,17 +367,11 @@
void WebGraphicsContext3DCommandBufferImpl::waitLatchCHROMIUM(
WGC3Duint latch_id)
{
- TRACE_EVENT1("gpu", "WebGfxCtx3DCmdBfrImpl::WaitLatch", "latch_id", latch_id);
- gl_->WaitLatchCHROMIUM(latch_id);
}
void WebGraphicsContext3DCommandBufferImpl::setLatchCHROMIUM(
WGC3Duint latch_id)
{
- TRACE_EVENT1("gpu", "WebGfxCtx3DCmdBfrImpl::SetLatch", "latch_id", latch_id);
- gl_->SetLatchCHROMIUM(latch_id);
- // required to ensure set command is sent to GPU process
- gl_->Flush();
}
void WebGraphicsContext3DCommandBufferImpl::

Powered by Google App Engine
This is Rietveld 408576698