OLD | NEW |
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_SETTINGS_H_ | 5 #ifndef CC_TREES_LAYER_TREE_SETTINGS_H_ |
6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ | 6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 LayerTreeDebugState initial_debug_state; | 101 LayerTreeDebugState initial_debug_state; |
102 | 102 |
103 // Indicates that the LayerTreeHost should defer commits unless it has a valid | 103 // Indicates that the LayerTreeHost should defer commits unless it has a valid |
104 // LocalSurfaceId set. | 104 // LocalSurfaceId set. |
105 bool enable_surface_synchronization = false; | 105 bool enable_surface_synchronization = false; |
106 | 106 |
107 // Indicates the case when a sub-frame gets its own LayerTree because it's | 107 // Indicates the case when a sub-frame gets its own LayerTree because it's |
108 // rendered in a different process from its ancestor frames. | 108 // rendered in a different process from its ancestor frames. |
109 bool is_layer_tree_for_subframe = false; | 109 bool is_layer_tree_for_subframe = false; |
| 110 |
| 111 // Determines whether we disallow non-exact matches when finding resources |
| 112 // in ResourcePool. Only used for layout or pixel tests, as non-deterministic |
| 113 // resource sizes can lead to floating point error and noise in these tests. |
| 114 bool disallow_non_exact_resource_reuse = false; |
110 }; | 115 }; |
111 | 116 |
112 } // namespace cc | 117 } // namespace cc |
113 | 118 |
114 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 119 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |