| 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 int skewport_extrapolation_limit_in_screen_pixels; | 79 int skewport_extrapolation_limit_in_screen_pixels; |
| 80 size_t max_memory_for_prepaint_percentage; | 80 size_t max_memory_for_prepaint_percentage; |
| 81 bool use_zero_copy; | 81 bool use_zero_copy; |
| 82 bool use_partial_raster; | 82 bool use_partial_raster; |
| 83 bool enable_elastic_overscroll; | 83 bool enable_elastic_overscroll; |
| 84 // An array of image texture targets for each GpuMemoryBuffer format. | 84 // An array of image texture targets for each GpuMemoryBuffer format. |
| 85 std::vector<unsigned> use_image_texture_targets; | 85 std::vector<unsigned> use_image_texture_targets; |
| 86 bool ignore_root_layer_flings; | 86 bool ignore_root_layer_flings; |
| 87 size_t scheduled_raster_task_limit; | 87 size_t scheduled_raster_task_limit; |
| 88 bool use_occlusion_for_tile_prioritization; | 88 bool use_occlusion_for_tile_prioritization; |
| 89 bool verify_clip_tree_calculations; |
| 89 bool image_decode_tasks_enabled; | 90 bool image_decode_tasks_enabled; |
| 90 bool wait_for_beginframe_interval; | 91 bool wait_for_beginframe_interval; |
| 91 bool abort_commit_before_output_surface_creation; | 92 bool abort_commit_before_output_surface_creation; |
| 92 bool use_mouse_wheel_gestures; | 93 bool use_mouse_wheel_gestures; |
| 93 bool use_layer_lists; | 94 bool use_layer_lists; |
| 94 int max_staging_buffer_usage_in_bytes; | 95 int max_staging_buffer_usage_in_bytes; |
| 95 ManagedMemoryPolicy memory_policy_; | 96 ManagedMemoryPolicy memory_policy_; |
| 96 | 97 |
| 97 // If set to true, the display item list will internally cache a SkPicture for | 98 // If set to true, the display item list will internally cache a SkPicture for |
| 98 // raster rather than directly using the display items. | 99 // raster rather than directly using the display items. |
| 99 bool use_cached_picture_raster; | 100 bool use_cached_picture_raster; |
| 100 | 101 |
| 101 LayerTreeDebugState initial_debug_state; | 102 LayerTreeDebugState initial_debug_state; |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 } // namespace cc | 105 } // namespace cc |
| 105 | 106 |
| 106 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 107 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |