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

Side by Side Diff: cc/trees/layer_tree_host_common.h

Issue 2693703010: cc: Remove support for disabling non-root render surfaces. (Closed)
Patch Set: softwaredraw-remove-no-surfaces: rebase Created 3 years, 10 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.cc ('k') | cc/trees/layer_tree_host_common.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 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 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_
6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ 6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <limits> 10 #include <limits>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const gfx::Size& device_viewport_size, 65 const gfx::Size& device_viewport_size,
66 const gfx::Transform& device_transform, 66 const gfx::Transform& device_transform,
67 float device_scale_factor, 67 float device_scale_factor,
68 float page_scale_factor, 68 float page_scale_factor,
69 const LayerImpl* page_scale_layer, 69 const LayerImpl* page_scale_layer,
70 const LayerImpl* inner_viewport_scroll_layer, 70 const LayerImpl* inner_viewport_scroll_layer,
71 const LayerImpl* outer_viewport_scroll_layer, 71 const LayerImpl* outer_viewport_scroll_layer,
72 const gfx::Vector2dF& elastic_overscroll, 72 const gfx::Vector2dF& elastic_overscroll,
73 const LayerImpl* elastic_overscroll_application_layer, 73 const LayerImpl* elastic_overscroll_application_layer,
74 int max_texture_size, 74 int max_texture_size,
75 bool can_render_to_separate_surface,
76 bool can_adjust_raster_scales, 75 bool can_adjust_raster_scales,
77 bool verify_clip_tree_calculations, 76 bool verify_clip_tree_calculations,
78 bool verify_visible_rect_calculations, 77 bool verify_visible_rect_calculations,
79 LayerImplList* render_surface_layer_list, 78 LayerImplList* render_surface_layer_list,
80 PropertyTrees* property_trees); 79 PropertyTrees* property_trees);
81 80
82 LayerImpl* root_layer; 81 LayerImpl* root_layer;
83 gfx::Size device_viewport_size; 82 gfx::Size device_viewport_size;
84 gfx::Transform device_transform; 83 gfx::Transform device_transform;
85 float device_scale_factor; 84 float device_scale_factor;
86 float page_scale_factor; 85 float page_scale_factor;
87 const LayerImpl* page_scale_layer; 86 const LayerImpl* page_scale_layer;
88 const LayerImpl* inner_viewport_scroll_layer; 87 const LayerImpl* inner_viewport_scroll_layer;
89 const LayerImpl* outer_viewport_scroll_layer; 88 const LayerImpl* outer_viewport_scroll_layer;
90 gfx::Vector2dF elastic_overscroll; 89 gfx::Vector2dF elastic_overscroll;
91 const LayerImpl* elastic_overscroll_application_layer; 90 const LayerImpl* elastic_overscroll_application_layer;
92 int max_texture_size; 91 int max_texture_size;
93 bool can_render_to_separate_surface;
94 bool can_adjust_raster_scales; 92 bool can_adjust_raster_scales;
95 bool verify_clip_tree_calculations; 93 bool verify_clip_tree_calculations;
96 bool verify_visible_rect_calculations; 94 bool verify_visible_rect_calculations;
97 LayerImplList* render_surface_layer_list; 95 LayerImplList* render_surface_layer_list;
98 PropertyTrees* property_trees; 96 PropertyTrees* property_trees;
99 }; 97 };
100 98
101 struct CC_EXPORT CalcDrawPropsImplInputsForTesting 99 struct CC_EXPORT CalcDrawPropsImplInputsForTesting
102 : public CalcDrawPropsImplInputs { 100 : public CalcDrawPropsImplInputs {
103 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer, 101 CalcDrawPropsImplInputsForTesting(LayerImpl* root_layer,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 function(tree_impl->LayerById(id)); 200 function(tree_impl->LayerById(id));
203 } 201 }
204 } 202 }
205 203
206 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer); 204 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer);
207 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer); 205 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer);
208 206
209 } // namespace cc 207 } // namespace cc
210 208
211 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ 209 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698