| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 float skewport_target_time_in_seconds = 1.0f; | 79 float skewport_target_time_in_seconds = 1.0f; |
| 80 int skewport_extrapolation_limit_in_screen_pixels = 2000; | 80 int skewport_extrapolation_limit_in_screen_pixels = 2000; |
| 81 size_t max_memory_for_prepaint_percentage = 100; | 81 size_t max_memory_for_prepaint_percentage = 100; |
| 82 bool use_zero_copy = false; | 82 bool use_zero_copy = false; |
| 83 bool use_partial_raster = false; | 83 bool use_partial_raster = false; |
| 84 bool enable_elastic_overscroll = false; | 84 bool enable_elastic_overscroll = false; |
| 85 bool ignore_root_layer_flings = false; | 85 bool ignore_root_layer_flings = false; |
| 86 size_t scheduled_raster_task_limit = 32; | 86 size_t scheduled_raster_task_limit = 32; |
| 87 bool use_occlusion_for_tile_prioritization = false; | 87 bool use_occlusion_for_tile_prioritization = false; |
| 88 bool verify_clip_tree_calculations = false; | 88 bool verify_clip_tree_calculations = false; |
| 89 bool verify_transform_tree_calculations = false; | |
| 90 bool image_decode_tasks_enabled = false; | 89 bool image_decode_tasks_enabled = false; |
| 91 bool abort_commit_before_compositor_frame_sink_creation = true; | 90 bool abort_commit_before_compositor_frame_sink_creation = true; |
| 92 bool use_layer_lists = false; | 91 bool use_layer_lists = false; |
| 93 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; | 92 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; |
| 94 ManagedMemoryPolicy gpu_memory_policy; | 93 ManagedMemoryPolicy gpu_memory_policy; |
| 95 ManagedMemoryPolicy software_memory_policy; | 94 ManagedMemoryPolicy software_memory_policy; |
| 96 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; | 95 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; |
| 97 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; | 96 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; |
| 98 int max_preraster_distance_in_screen_pixels = 1000; | 97 int max_preraster_distance_in_screen_pixels = 1000; |
| 99 | 98 |
| 100 // If set to true, the display item list will internally cache a SkPicture for | 99 // If set to true, the display item list will internally cache a SkPicture for |
| 101 // raster rather than directly using the display items. | 100 // raster rather than directly using the display items. |
| 102 bool use_cached_picture_raster = true; | 101 bool use_cached_picture_raster = true; |
| 103 bool enable_color_correct_rendering = false; | 102 bool enable_color_correct_rendering = false; |
| 104 | 103 |
| 105 LayerTreeDebugState initial_debug_state; | 104 LayerTreeDebugState initial_debug_state; |
| 106 }; | 105 }; |
| 107 | 106 |
| 108 } // namespace cc | 107 } // namespace cc |
| 109 | 108 |
| 110 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 109 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |