| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 float top_controls_show_threshold; | 67 float top_controls_show_threshold; |
| 68 float top_controls_hide_threshold; | 68 float top_controls_hide_threshold; |
| 69 double background_animation_rate; | 69 double background_animation_rate; |
| 70 gfx::Size default_tile_size; | 70 gfx::Size default_tile_size; |
| 71 gfx::Size max_untiled_layer_size; | 71 gfx::Size max_untiled_layer_size; |
| 72 gfx::Size minimum_occlusion_tracking_size; | 72 gfx::Size minimum_occlusion_tracking_size; |
| 73 size_t tiling_interest_area_padding; | 73 size_t tiling_interest_area_padding; |
| 74 float skewport_target_time_in_seconds; | 74 float skewport_target_time_in_seconds; |
| 75 int skewport_extrapolation_limit_in_content_pixels; | 75 int skewport_extrapolation_limit_in_content_pixels; |
| 76 size_t max_memory_for_prepaint_percentage; | 76 size_t max_memory_for_prepaint_percentage; |
| 77 bool strict_layer_property_change_checking; | |
| 78 bool use_zero_copy; | 77 bool use_zero_copy; |
| 79 bool use_partial_raster; | 78 bool use_partial_raster; |
| 80 bool enable_elastic_overscroll; | 79 bool enable_elastic_overscroll; |
| 81 // An array of image texture targets for each GpuMemoryBuffer format. | 80 // An array of image texture targets for each GpuMemoryBuffer format. |
| 82 std::vector<unsigned> use_image_texture_targets; | 81 std::vector<unsigned> use_image_texture_targets; |
| 83 bool ignore_root_layer_flings; | 82 bool ignore_root_layer_flings; |
| 84 size_t scheduled_raster_task_limit; | 83 size_t scheduled_raster_task_limit; |
| 85 bool use_occlusion_for_tile_prioritization; | 84 bool use_occlusion_for_tile_prioritization; |
| 86 bool image_decode_tasks_enabled; | 85 bool image_decode_tasks_enabled; |
| 87 bool wait_for_beginframe_interval; | 86 bool wait_for_beginframe_interval; |
| 88 bool abort_commit_before_output_surface_creation; | 87 bool abort_commit_before_output_surface_creation; |
| 89 bool use_mouse_wheel_gestures; | 88 bool use_mouse_wheel_gestures; |
| 90 int max_staging_buffer_usage_in_bytes; | 89 int max_staging_buffer_usage_in_bytes; |
| 91 ManagedMemoryPolicy memory_policy_; | 90 ManagedMemoryPolicy memory_policy_; |
| 92 | 91 |
| 93 // If set to true, the display item list will internally cache a SkPicture for | 92 // If set to true, the display item list will internally cache a SkPicture for |
| 94 // raster rather than directly using the display items. | 93 // raster rather than directly using the display items. |
| 95 bool use_cached_picture_raster; | 94 bool use_cached_picture_raster; |
| 96 | 95 |
| 97 LayerTreeDebugState initial_debug_state; | 96 LayerTreeDebugState initial_debug_state; |
| 98 }; | 97 }; |
| 99 | 98 |
| 100 } // namespace cc | 99 } // namespace cc |
| 101 | 100 |
| 102 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 101 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |