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

Side by Side Diff: cc/trees/layer_tree_impl.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_impl.h ('k') | cc/trees/proxy.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_impl.h" 5 #include "cc/trees/layer_tree_impl.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 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 } 1256 }
1257 1257
1258 const LayerTreeSettings& LayerTreeImpl::settings() const { 1258 const LayerTreeSettings& LayerTreeImpl::settings() const {
1259 return layer_tree_host_impl_->settings(); 1259 return layer_tree_host_impl_->settings();
1260 } 1260 }
1261 1261
1262 const LayerTreeDebugState& LayerTreeImpl::debug_state() const { 1262 const LayerTreeDebugState& LayerTreeImpl::debug_state() const {
1263 return layer_tree_host_impl_->debug_state(); 1263 return layer_tree_host_impl_->debug_state();
1264 } 1264 }
1265 1265
1266 const RendererCapabilitiesImpl& LayerTreeImpl::GetRendererCapabilities() const {
1267 return layer_tree_host_impl_->GetRendererCapabilities();
1268 }
1269
1266 ContextProvider* LayerTreeImpl::context_provider() const { 1270 ContextProvider* LayerTreeImpl::context_provider() const {
1267 return output_surface()->context_provider(); 1271 return output_surface()->context_provider();
1268 } 1272 }
1269 1273
1270 OutputSurface* LayerTreeImpl::output_surface() const { 1274 OutputSurface* LayerTreeImpl::output_surface() const {
1271 return layer_tree_host_impl_->output_surface(); 1275 return layer_tree_host_impl_->output_surface();
1272 } 1276 }
1273 1277
1274 ResourceProvider* LayerTreeImpl::resource_provider() const { 1278 ResourceProvider* LayerTreeImpl::resource_provider() const {
1275 return layer_tree_host_impl_->resource_provider(); 1279 return layer_tree_host_impl_->resource_provider();
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
2073 2077
2074 void LayerTreeImpl::ResetAllChangeTracking() { 2078 void LayerTreeImpl::ResetAllChangeTracking() {
2075 layers_that_should_push_properties_.clear(); 2079 layers_that_should_push_properties_.clear();
2076 // Iterate over all layers, including masks and replicas. 2080 // Iterate over all layers, including masks and replicas.
2077 for (auto& layer : *layers_) 2081 for (auto& layer : *layers_)
2078 layer->ResetChangeTracking(); 2082 layer->ResetChangeTracking();
2079 property_trees_.ResetAllChangeTracking(); 2083 property_trees_.ResetAllChangeTracking();
2080 } 2084 }
2081 2085
2082 } // namespace cc 2086 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698