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

Unified Diff: content/common/gpu/image_transport_surface_win.cc

Issue 10825066: Don't allow processing of a command buffer to overlap with a previous swap. (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface_win.cc
diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc
index a5f731aeb5ff513c0fd0084562246a5619293072..03f64d43fce73aa332c8aaa0fbc3cbe87f6416d9 100644
--- a/content/common/gpu/image_transport_surface_win.cc
+++ b/content/common/gpu/image_transport_surface_win.cc
@@ -199,6 +199,9 @@ void PbufferImageTransportSurface::SendBuffersSwapped() {
DCHECK(!is_swap_buffers_pending_);
is_swap_buffers_pending_ = true;
+
+ // Pause all processing of this command buffer.
jbates 2012/07/27 21:39:57 better put the bug number here just in case it sit
+ DeferDraws();
}
void PbufferImageTransportSurface::OnBufferPresented(uint32 sync_point) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698