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

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

Issue 2270533002: cc: Remove the software compositing bool from PrepareTextureMailbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@softwarerendering
Patch Set: remove-prepare-mailbox-param: bad-merge Created 4 years, 4 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') | components/test_runner/test_plugin.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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 PropertyTreeBuilder::BuildPropertyTrees( 741 PropertyTreeBuilder::BuildPropertyTrees(
742 layer_tree_->root_layer(), layer_tree_->page_scale_layer(), 742 layer_tree_->root_layer(), layer_tree_->page_scale_layer(),
743 layer_tree_->inner_viewport_scroll_layer(), 743 layer_tree_->inner_viewport_scroll_layer(),
744 layer_tree_->outer_viewport_scroll_layer(), 744 layer_tree_->outer_viewport_scroll_layer(),
745 layer_tree_->overscroll_elasticity_layer(), elastic_overscroll_, 745 layer_tree_->overscroll_elasticity_layer(), elastic_overscroll_,
746 layer_tree_->page_scale_factor(), layer_tree_->device_scale_factor(), 746 layer_tree_->page_scale_factor(), layer_tree_->device_scale_factor(),
747 gfx::Rect(layer_tree_->device_viewport_size()), identity_transform, 747 gfx::Rect(layer_tree_->device_viewport_size()), identity_transform,
748 layer_tree_->property_trees()); 748 layer_tree_->property_trees());
749 } 749 }
750 750
751 bool LayerTreeHost::UsingSharedMemoryResources() {
752 return GetRendererCapabilities().using_shared_memory_resources;
753 }
754
755 bool LayerTreeHost::DoUpdateLayers(Layer* root_layer) { 751 bool LayerTreeHost::DoUpdateLayers(Layer* root_layer) {
756 TRACE_EVENT1("cc", "LayerTreeHost::DoUpdateLayers", "source_frame_number", 752 TRACE_EVENT1("cc", "LayerTreeHost::DoUpdateLayers", "source_frame_number",
757 source_frame_number()); 753 source_frame_number());
758 754
759 layer_tree_->UpdateHudLayer(debug_state_.ShowHudInfo()); 755 layer_tree_->UpdateHudLayer(debug_state_.ShowHudInfo());
760 UpdateHudLayer(); 756 UpdateHudLayer();
761 757
762 Layer* root_scroll = 758 Layer* root_scroll =
763 PropertyTreeBuilder::FindFirstScrollableLayer(root_layer); 759 PropertyTreeBuilder::FindFirstScrollableLayer(root_layer);
764 Layer* page_scale_layer = layer_tree_->page_scale_layer(); 760 Layer* page_scale_layer = layer_tree_->page_scale_layer();
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 1130
1135 surface_client_id_ = proto.surface_client_id(); 1131 surface_client_id_ = proto.surface_client_id();
1136 next_surface_sequence_ = proto.next_surface_sequence(); 1132 next_surface_sequence_ = proto.next_surface_sequence();
1137 } 1133 }
1138 1134
1139 AnimationHost* LayerTreeHost::animation_host() const { 1135 AnimationHost* LayerTreeHost::animation_host() const {
1140 return layer_tree_->animation_host(); 1136 return layer_tree_->animation_host();
1141 } 1137 }
1142 1138
1143 } // namespace cc 1139 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | components/test_runner/test_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698