| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 int tiling_interest_area_padding = 3000; | 73 int tiling_interest_area_padding = 3000; |
| 74 float skewport_target_time_in_seconds = 1.0f; | 74 float skewport_target_time_in_seconds = 1.0f; |
| 75 int skewport_extrapolation_limit_in_screen_pixels = 2000; | 75 int skewport_extrapolation_limit_in_screen_pixels = 2000; |
| 76 size_t max_memory_for_prepaint_percentage = 100; | 76 size_t max_memory_for_prepaint_percentage = 100; |
| 77 bool use_zero_copy = false; | 77 bool use_zero_copy = false; |
| 78 bool use_partial_raster = false; | 78 bool use_partial_raster = false; |
| 79 bool enable_elastic_overscroll = false; | 79 bool enable_elastic_overscroll = false; |
| 80 bool ignore_root_layer_flings = false; | 80 bool ignore_root_layer_flings = false; |
| 81 size_t scheduled_raster_task_limit = 32; | 81 size_t scheduled_raster_task_limit = 32; |
| 82 bool use_occlusion_for_tile_prioritization = false; | 82 bool use_occlusion_for_tile_prioritization = false; |
| 83 | |
| 84 // TODO(khushalsagar): Enable for all client and remove this flag if possible. | |
| 85 // See crbug/com/696864. | |
| 86 bool image_decode_tasks_enabled = false; | |
| 87 | |
| 88 bool use_layer_lists = false; | 83 bool use_layer_lists = false; |
| 89 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; | 84 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; |
| 90 ManagedMemoryPolicy gpu_memory_policy; | 85 ManagedMemoryPolicy gpu_memory_policy; |
| 91 ManagedMemoryPolicy software_memory_policy; | 86 ManagedMemoryPolicy software_memory_policy; |
| 92 size_t decoded_image_cache_budget_bytes = 128 * 1024 * 1024; | 87 size_t decoded_image_cache_budget_bytes = 128 * 1024 * 1024; |
| 93 size_t decoded_image_working_set_budget_bytes = 128 * 1024 * 1024; | 88 size_t decoded_image_working_set_budget_bytes = 128 * 1024 * 1024; |
| 94 int max_preraster_distance_in_screen_pixels = 1000; | 89 int max_preraster_distance_in_screen_pixels = 1000; |
| 95 | 90 |
| 96 bool enable_color_correct_rasterization = false; | 91 bool enable_color_correct_rasterization = false; |
| 97 | 92 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 111 bool enable_surface_synchronization = false; | 106 bool enable_surface_synchronization = false; |
| 112 | 107 |
| 113 // Indicates the case when a sub-frame gets its own LayerTree because it's | 108 // Indicates the case when a sub-frame gets its own LayerTree because it's |
| 114 // rendered in a different process from its ancestor frames. | 109 // rendered in a different process from its ancestor frames. |
| 115 bool is_layer_tree_for_subframe = false; | 110 bool is_layer_tree_for_subframe = false; |
| 116 }; | 111 }; |
| 117 | 112 |
| 118 } // namespace cc | 113 } // namespace cc |
| 119 | 114 |
| 120 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 115 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |