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

Side by Side Diff: cc/test/layer_tree_host_common_test.h

Issue 1387003002: cc: Make property trees support resourceless draw mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DontReparentUnclippedClipNodes
Patch Set: Rebased Created 5 years, 2 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 | « no previous file | cc/test/layer_tree_host_common_test.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ 5 #ifndef CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_
6 #define CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ 6 #define CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 float page_scale_factor, 103 float page_scale_factor,
104 LayerType* page_scale_application_layer) { 104 LayerType* page_scale_application_layer) {
105 ExecuteCalculateDrawProperties(root_layer, device_scale_factor, 105 ExecuteCalculateDrawProperties(root_layer, device_scale_factor,
106 page_scale_factor, 106 page_scale_factor,
107 page_scale_application_layer, false, false); 107 page_scale_application_layer, false, false);
108 } 108 }
109 109
110 void ExecuteCalculateDrawPropertiesWithPropertyTrees(Layer* layer); 110 void ExecuteCalculateDrawPropertiesWithPropertyTrees(Layer* layer);
111 void ExecuteCalculateDrawPropertiesWithPropertyTrees(LayerImpl* layer); 111 void ExecuteCalculateDrawPropertiesWithPropertyTrees(LayerImpl* layer);
112 112
113 void ExecuteCalculateDrawPropertiesWithoutSeparateSurfaces(
114 LayerImpl* root_layer);
115
113 LayerImplList* render_surface_layer_list_impl() const { 116 LayerImplList* render_surface_layer_list_impl() const {
114 return render_surface_layer_list_impl_.get(); 117 return render_surface_layer_list_impl_.get();
115 } 118 }
116 119
117 const LayerList& update_layer_list() const { return update_layer_list_; } 120 const LayerList& update_layer_list() const { return update_layer_list_; }
118 bool UpdateLayerListContains(int id) const; 121 bool UpdateLayerListContains(int id) const;
119 122
120 int render_surface_layer_list_count() const { 123 int render_surface_layer_list_count() const {
121 return render_surface_layer_list_count_; 124 return render_surface_layer_list_count_;
122 } 125 }
(...skipping 11 matching lines...) Expand all
134 class LayerTreeHostCommonTest : public LayerTreeHostCommonTestBase, 137 class LayerTreeHostCommonTest : public LayerTreeHostCommonTestBase,
135 public testing::Test { 138 public testing::Test {
136 public: 139 public:
137 LayerTreeHostCommonTest(); 140 LayerTreeHostCommonTest();
138 explicit LayerTreeHostCommonTest(const LayerTreeSettings& settings); 141 explicit LayerTreeHostCommonTest(const LayerTreeSettings& settings);
139 }; 142 };
140 143
141 } // namespace cc 144 } // namespace cc
142 145
143 #endif // CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_ 146 #endif // CC_TEST_LAYER_TREE_HOST_COMMON_TEST_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/layer_tree_host_common_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698