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

Side by Side Diff: cc/trees/layer_tree_host.cc

Issue 2282433002: Revert of cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 return; 560 return;
561 561
562 output_surface_lost_ = true; 562 output_surface_lost_ = true;
563 SetNeedsCommit(); 563 SetNeedsCommit();
564 } 564 }
565 565
566 void LayerTreeHost::SetDeferCommits(bool defer_commits) { 566 void LayerTreeHost::SetDeferCommits(bool defer_commits) {
567 proxy_->SetDeferCommits(defer_commits); 567 proxy_->SetDeferCommits(defer_commits);
568 } 568 }
569 569
570 const RendererCapabilities& LayerTreeHost::GetRendererCapabilities() const {
571 return proxy_->GetRendererCapabilities();
572 }
573
570 void LayerTreeHost::SetNeedsAnimate() { 574 void LayerTreeHost::SetNeedsAnimate() {
571 proxy_->SetNeedsAnimate(); 575 proxy_->SetNeedsAnimate();
572 NotifySwapPromiseMonitorsOfSetNeedsCommit(); 576 NotifySwapPromiseMonitorsOfSetNeedsCommit();
573 } 577 }
574 578
575 void LayerTreeHost::SetNeedsUpdateLayers() { 579 void LayerTreeHost::SetNeedsUpdateLayers() {
576 proxy_->SetNeedsUpdateLayers(); 580 proxy_->SetNeedsUpdateLayers();
577 NotifySwapPromiseMonitorsOfSetNeedsCommit(); 581 NotifySwapPromiseMonitorsOfSetNeedsCommit();
578 } 582 }
579 583
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 1131
1128 surface_client_id_ = proto.surface_client_id(); 1132 surface_client_id_ = proto.surface_client_id();
1129 next_surface_sequence_ = proto.next_surface_sequence(); 1133 next_surface_sequence_ = proto.next_surface_sequence();
1130 } 1134 }
1131 1135
1132 AnimationHost* LayerTreeHost::animation_host() const { 1136 AnimationHost* LayerTreeHost::animation_host() const {
1133 return layer_tree_->animation_host(); 1137 return layer_tree_->animation_host();
1134 } 1138 }
1135 1139
1136 } // namespace cc 1140 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698