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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 bool enable_elastic_overscroll = false; | 87 bool enable_elastic_overscroll = false; |
88 // An array of image texture targets for each GpuMemoryBuffer format. | 88 // An array of image texture targets for each GpuMemoryBuffer format. |
89 std::vector<unsigned> use_image_texture_targets; | 89 std::vector<unsigned> use_image_texture_targets; |
90 bool ignore_root_layer_flings = false; | 90 bool ignore_root_layer_flings = false; |
91 size_t scheduled_raster_task_limit = 32; | 91 size_t scheduled_raster_task_limit = 32; |
92 bool use_occlusion_for_tile_prioritization = false; | 92 bool use_occlusion_for_tile_prioritization = false; |
93 bool verify_clip_tree_calculations = false; | 93 bool verify_clip_tree_calculations = false; |
94 bool image_decode_tasks_enabled = false; | 94 bool image_decode_tasks_enabled = false; |
95 bool wait_for_beginframe_interval = true; | 95 bool wait_for_beginframe_interval = true; |
96 bool abort_commit_before_output_surface_creation = true; | 96 bool abort_commit_before_output_surface_creation = true; |
| 97 bool use_mouse_wheel_gestures = false; |
97 bool use_layer_lists = false; | 98 bool use_layer_lists = false; |
98 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; | 99 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; |
99 ManagedMemoryPolicy memory_policy_; | 100 ManagedMemoryPolicy memory_policy_; |
100 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; | 101 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; |
101 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; | 102 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; |
102 | 103 |
103 // If set to true, the display item list will internally cache a SkPicture for | 104 // If set to true, the display item list will internally cache a SkPicture for |
104 // raster rather than directly using the display items. | 105 // raster rather than directly using the display items. |
105 bool use_cached_picture_raster = true; | 106 bool use_cached_picture_raster = true; |
106 | 107 |
107 LayerTreeDebugState initial_debug_state; | 108 LayerTreeDebugState initial_debug_state; |
108 }; | 109 }; |
109 | 110 |
110 } // namespace cc | 111 } // namespace cc |
111 | 112 |
112 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 113 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |