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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (Closed)
Patch Set: Rebase Created 3 years, 9 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/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 6266020394b9c38dc5f81004bb00d63d139d0dad..5a8aa66715f56c3e41d3a560ee3618b78555a081 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -1428,6 +1428,7 @@ void RenderWidgetHostViewMac::FocusedNodeChanged(
void RenderWidgetHostViewMac::OnSwapCompositorFrame(
uint32_t compositor_frame_sink_id,
+ cc::LocalSurfaceId local_surface_id,
Fady Samuel 2017/03/15 12:05:48 const cc::LocalSurfaceId&
Saman Sami 2017/03/16 18:33:07 Done.
cc::CompositorFrame frame) {
TRACE_EVENT0("browser", "RenderWidgetHostViewMac::OnSwapCompositorFrame");
@@ -1436,7 +1437,7 @@ void RenderWidgetHostViewMac::OnSwapCompositorFrame(
page_at_minimum_scale_ =
frame.metadata.page_scale_factor == frame.metadata.min_page_scale_factor;
browser_compositor_->SwapCompositorFrame(compositor_frame_sink_id,
- std::move(frame));
+ local_surface_id, std::move(frame));
UpdateDisplayVSyncParameters();
}

Powered by Google App Engine
This is Rietveld 408576698