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