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

Unified Diff: content/browser/compositor/software_browser_compositor_output_surface.cc

Issue 629293004: Call DidPostSwapBuffers and SwapBuffersComplete for browser software surface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 6 years, 2 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/browser/compositor/software_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/software_browser_compositor_output_surface.cc b/content/browser/compositor/software_browser_compositor_output_surface.cc
index 369fe930dbdc31522d0c2139a1fab429a3498945..306137e8520c160ea21d380637d5cdb1daf6ecfd 100644
--- a/content/browser/compositor/software_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/software_browser_compositor_output_surface.cc
@@ -8,6 +8,7 @@
#include "base/message_loop/message_loop.h"
#include "base/time/time.h"
#include "cc/output/compositor_frame.h"
+#include "cc/output/output_surface_client.h"
#include "cc/output/software_output_device.h"
#include "content/browser/compositor/browser_compositor_output_surface_proxy.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
@@ -51,6 +52,8 @@ void SoftwareBrowserCompositorOutputSurface::SwapBuffers(
output_surface_proxy_,
surface_id_));
}
+ client_->DidSwapBuffers();
danakj 2014/10/08 19:32:29 Ooh this seems really important if we're going to
no sievers 2014/10/08 19:59:00 Currently in compositor.cc without DidSwapBuffers(
+ PostSwapBuffersComplete();
danakj 2014/10/08 19:32:29 can you post first before DidSwap like we do in ot
no sievers 2014/10/08 19:59:00 Done.
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698