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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 17971002: Make RenderWidgetHostViewAura::CopyFromCompositingSurface readback layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tabcapture-aura: SpellingIsHardLetsGoShopping 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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index 8732e30a2f8bb19d18f885a77c447c824301a2fd..2d0c4255db9441528954ce2e9da10c82e4edfeb8 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -336,6 +336,7 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceBuffersSwapped(
// View must send ACK message after next composite.
view->AcceleratedSurfaceBuffersSwapped(params, host_id_);
+ view->DidReceiveRendererFrame();
}
void GpuProcessHostUIShim::OnFrameDrawn(const ui::LatencyInfo& latency_info) {
@@ -368,6 +369,7 @@ void GpuProcessHostUIShim::OnAcceleratedSurfacePostSubBuffer(
// View must send ACK message after next composite.
view->AcceleratedSurfacePostSubBuffer(params, host_id_);
+ view->DidReceiveRendererFrame();
}
void GpuProcessHostUIShim::OnAcceleratedSurfaceSuspend(int32 surface_id) {
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698