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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; | 89 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; |
90 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; | 90 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; |
91 int max_preraster_distance_in_screen_pixels = 1000; | 91 int max_preraster_distance_in_screen_pixels = 1000; |
92 | 92 |
93 bool enable_color_correct_rendering = false; | 93 bool enable_color_correct_rendering = false; |
94 | 94 |
95 // If set to true, this causes TileManager to verify that all required and NOW | 95 // If set to true, this causes TileManager to verify that all required and NOW |
96 // tiles come before lower priority tiles. | 96 // tiles come before lower priority tiles. |
97 bool check_tile_priority_inversion = false; | 97 bool check_tile_priority_inversion = false; |
98 | 98 |
| 99 // If set to true, the compositor may selectively defer image decodes to the |
| 100 // Image Decode Service and raster tiles without images until the decode is |
| 101 // ready. |
| 102 bool enable_checker_imaging = false; |
| 103 |
99 LayerTreeDebugState initial_debug_state; | 104 LayerTreeDebugState initial_debug_state; |
100 }; | 105 }; |
101 | 106 |
102 } // namespace cc | 107 } // namespace cc |
103 | 108 |
104 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 109 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |