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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 size_t max_memory_for_prepaint_percentage; | 64 size_t max_memory_for_prepaint_percentage; |
65 bool strict_layer_property_change_checking; | 65 bool strict_layer_property_change_checking; |
66 bool use_zero_copy; | 66 bool use_zero_copy; |
67 bool use_partial_raster; | 67 bool use_partial_raster; |
68 bool enable_elastic_overscroll; | 68 bool enable_elastic_overscroll; |
69 // An array of image texture targets for each GpuMemoryBuffer format. | 69 // An array of image texture targets for each GpuMemoryBuffer format. |
70 std::vector<unsigned> use_image_texture_targets; | 70 std::vector<unsigned> use_image_texture_targets; |
71 bool ignore_root_layer_flings; | 71 bool ignore_root_layer_flings; |
72 size_t scheduled_raster_task_limit; | 72 size_t scheduled_raster_task_limit; |
73 bool use_occlusion_for_tile_prioritization; | 73 bool use_occlusion_for_tile_prioritization; |
74 bool record_full_layer; | |
75 bool verify_property_trees; | 74 bool verify_property_trees; |
76 bool use_property_trees; | 75 bool use_property_trees; |
77 bool image_decode_tasks_enabled; | 76 bool image_decode_tasks_enabled; |
78 bool use_compositor_animation_timelines; | 77 bool use_compositor_animation_timelines; |
79 bool wait_for_beginframe_interval; | 78 bool wait_for_beginframe_interval; |
80 int max_staging_buffer_usage_in_bytes; | 79 int max_staging_buffer_usage_in_bytes; |
81 ManagedMemoryPolicy memory_policy_; | 80 ManagedMemoryPolicy memory_policy_; |
82 | 81 |
83 LayerTreeDebugState initial_debug_state; | 82 LayerTreeDebugState initial_debug_state; |
84 | 83 |
85 SchedulerSettings ToSchedulerSettings() const; | 84 SchedulerSettings ToSchedulerSettings() const; |
86 }; | 85 }; |
87 | 86 |
88 } // namespace cc | 87 } // namespace cc |
89 | 88 |
90 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 89 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |