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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 bool strict_layer_property_change_checking; | 78 bool strict_layer_property_change_checking; |
79 bool use_zero_copy; | 79 bool use_zero_copy; |
80 bool use_partial_raster; | 80 bool use_partial_raster; |
81 bool enable_elastic_overscroll; | 81 bool enable_elastic_overscroll; |
82 // An array of image texture targets for each GpuMemoryBuffer format. | 82 // An array of image texture targets for each GpuMemoryBuffer format. |
83 std::vector<unsigned> use_image_texture_targets; | 83 std::vector<unsigned> use_image_texture_targets; |
84 bool ignore_root_layer_flings; | 84 bool ignore_root_layer_flings; |
85 size_t scheduled_raster_task_limit; | 85 size_t scheduled_raster_task_limit; |
86 bool use_occlusion_for_tile_prioritization; | 86 bool use_occlusion_for_tile_prioritization; |
87 bool image_decode_tasks_enabled; | 87 bool image_decode_tasks_enabled; |
88 bool use_compositor_animation_timelines; | |
89 bool wait_for_beginframe_interval; | 88 bool wait_for_beginframe_interval; |
90 bool abort_commit_before_output_surface_creation; | 89 bool abort_commit_before_output_surface_creation; |
91 bool use_mouse_wheel_gestures; | 90 bool use_mouse_wheel_gestures; |
92 int max_staging_buffer_usage_in_bytes; | 91 int max_staging_buffer_usage_in_bytes; |
93 ManagedMemoryPolicy memory_policy_; | 92 ManagedMemoryPolicy memory_policy_; |
94 | 93 |
95 LayerTreeDebugState initial_debug_state; | 94 LayerTreeDebugState initial_debug_state; |
96 }; | 95 }; |
97 | 96 |
98 } // namespace cc | 97 } // namespace cc |
99 | 98 |
100 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 99 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |