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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // If set to true, the compositor may selectively defer image decodes to the | 103 // If set to true, the compositor may selectively defer image decodes to the |
104 // Image Decode Service and raster tiles without images until the decode is | 104 // Image Decode Service and raster tiles without images until the decode is |
105 // ready. | 105 // ready. |
106 bool enable_checker_imaging = false; | 106 bool enable_checker_imaging = false; |
107 | 107 |
108 LayerTreeDebugState initial_debug_state; | 108 LayerTreeDebugState initial_debug_state; |
109 | 109 |
110 // Indicates that the LayerTreeHost should defer commits unless it has a valid | 110 // Indicates that the LayerTreeHost should defer commits unless it has a valid |
111 // LocalSurfaceId set. | 111 // LocalSurfaceId set. |
112 bool enable_surface_synchronization = false; | 112 bool enable_surface_synchronization = false; |
| 113 |
| 114 // Indicates the case when a sub-frame gets its own LayerTree because it's |
| 115 // rendered in a different process from its ancestor frames. |
| 116 bool is_layer_tree_for_subframe = false; |
113 }; | 117 }; |
114 | 118 |
115 } // namespace cc | 119 } // namespace cc |
116 | 120 |
117 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 121 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |