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

Side by Side Diff: cc/layers/layer_impl_test_properties.h

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Rebased to resolve conflict. Created 3 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/layers/layer_impl.cc ('k') | cc/layers/layer_impl_test_properties.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 18 matching lines...) Expand all
29 struct CC_EXPORT LayerImplTestProperties { 29 struct CC_EXPORT LayerImplTestProperties {
30 explicit LayerImplTestProperties(LayerImpl* owning_layer); 30 explicit LayerImplTestProperties(LayerImpl* owning_layer);
31 ~LayerImplTestProperties(); 31 ~LayerImplTestProperties();
32 32
33 void AddChild(std::unique_ptr<LayerImpl> child); 33 void AddChild(std::unique_ptr<LayerImpl> child);
34 std::unique_ptr<LayerImpl> RemoveChild(LayerImpl* child); 34 std::unique_ptr<LayerImpl> RemoveChild(LayerImpl* child);
35 void SetMaskLayer(std::unique_ptr<LayerImpl> mask); 35 void SetMaskLayer(std::unique_ptr<LayerImpl> mask);
36 36
37 LayerImpl* owning_layer; 37 LayerImpl* owning_layer;
38 bool double_sided; 38 bool double_sided;
39 bool cache_render_surface;
39 bool force_render_surface; 40 bool force_render_surface;
40 bool is_container_for_fixed_position_layers; 41 bool is_container_for_fixed_position_layers;
41 bool should_flatten_transform; 42 bool should_flatten_transform;
42 bool hide_layer_and_subtree; 43 bool hide_layer_and_subtree;
43 bool opacity_can_animate; 44 bool opacity_can_animate;
44 bool subtree_has_copy_request; 45 bool subtree_has_copy_request;
45 int sorting_context_id; 46 int sorting_context_id;
46 float opacity; 47 float opacity;
47 FilterOperations filters; 48 FilterOperations filters;
48 FilterOperations background_filters; 49 FilterOperations background_filters;
(...skipping 12 matching lines...) Expand all
61 LayerImpl* mask_layer; 62 LayerImpl* mask_layer;
62 LayerImpl* parent; 63 LayerImpl* parent;
63 bool user_scrollable_horizontal = true; 64 bool user_scrollable_horizontal = true;
64 bool user_scrollable_vertical = true; 65 bool user_scrollable_vertical = true;
65 ScrollBoundaryBehavior scroll_boundary_behavior; 66 ScrollBoundaryBehavior scroll_boundary_behavior;
66 }; 67 };
67 68
68 } // namespace cc 69 } // namespace cc
69 70
70 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 71 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/layer_impl_test_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698