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

Unified Diff: content/renderer/android/synchronous_compositor_frame_sink.cc

Issue 2696743002: Prepare CompositorFrameSinkSupport To Be Used By DirectCompositorFrameSink (Closed)
Patch Set: rebase android Created 3 years, 10 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/renderer_host/offscreen_canvas_compositor_frame_sink.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/synchronous_compositor_frame_sink.cc
diff --git a/content/renderer/android/synchronous_compositor_frame_sink.cc b/content/renderer/android/synchronous_compositor_frame_sink.cc
index 580924cc989b5e194546c89a0f7b9462287c584f..8ec613aa4a0550f4180ebbd9b1512de2bb2cb305 100644
--- a/content/renderer/android/synchronous_compositor_frame_sink.cc
+++ b/content/renderer/android/synchronous_compositor_frame_sink.cc
@@ -168,12 +168,18 @@ bool SynchronousCompositorFrameSink::BindToClient(
base::Unretained(this)));
registry_->RegisterCompositorFrameSink(routing_id_, this);
+ const bool root_submits_to_display_compositor = true;
danakj 2017/02/14 16:54:01 We were talking about names with fsamuel the other
+ const bool child_submits_to_display_compositor = false;
+ const bool handles_frame_sink_id_invalidation = true;
+ const bool needs_sync_points = true;
root_support_.reset(new cc::CompositorFrameSinkSupport(
this, surface_manager_.get(), kRootFrameSinkId,
- true /* submits_to_display_compositor */));
+ root_submits_to_display_compositor, handles_frame_sink_id_invalidation,
+ needs_sync_points));
child_support_.reset(new cc::CompositorFrameSinkSupport(
this, surface_manager_.get(), kChildFrameSinkId,
- false /* submits_to_display_compositor */));
+ child_submits_to_display_compositor, handles_frame_sink_id_invalidation,
+ needs_sync_points));
cc::RendererSettings software_renderer_settings;
« no previous file with comments | « content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698