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

Unified Diff: cc/surfaces/display.cc

Issue 2349743004: cc: Remove things from OutputSurface and CompositorFrameSink. (Closed)
Patch Set: delete-stuff-cfs: comment-and-rebase Created 4 years, 3 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 | « cc/surfaces/direct_compositor_frame_sink.cc ('k') | cc/test/fake_compositor_frame_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 670ad22a70a54ab4de967666805e450b9cfbd168..8309f0b19cb9d3b00156763e00f82de91d985e21 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -168,13 +168,14 @@ void Display::SetOutputIsSecure(bool secure) {
}
void Display::InitializeRenderer() {
+ // Not relevant for display compositor since it's not delegated.
+ bool delegated_sync_points_required = false;
resource_provider_.reset(new ResourceProvider(
output_surface_->context_provider(), bitmap_manager_,
gpu_memory_buffer_manager_, nullptr, settings_.highp_threshold_min,
settings_.texture_id_allocation_chunk_size,
- output_surface_->capabilities().delegated_sync_points_required,
- settings_.use_gpu_memory_buffer_resources, false,
- settings_.buffer_to_texture_target_map));
+ delegated_sync_points_required, settings_.use_gpu_memory_buffer_resources,
+ false, settings_.buffer_to_texture_target_map));
if (output_surface_->context_provider()) {
DCHECK(texture_mailbox_deleter_);
« no previous file with comments | « cc/surfaces/direct_compositor_frame_sink.cc ('k') | cc/test/fake_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698