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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "cc/debug/layer_tree_debug_state.h" | 10 #include "cc/debug/layer_tree_debug_state.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 bool accelerated_animation_enabled; | 30 bool accelerated_animation_enabled; |
31 bool background_color_instead_of_checkerboard; | 31 bool background_color_instead_of_checkerboard; |
32 bool show_overdraw_in_tracing; | 32 bool show_overdraw_in_tracing; |
33 bool can_use_lcd_text; | 33 bool can_use_lcd_text; |
34 bool should_clear_root_render_pass; | 34 bool should_clear_root_render_pass; |
35 bool use_linear_fade_scrollbar_animator; | 35 bool use_linear_fade_scrollbar_animator; |
36 bool solid_color_scrollbars; | 36 bool solid_color_scrollbars; |
37 SkColor solid_color_scrollbar_color; | 37 SkColor solid_color_scrollbar_color; |
38 int solid_color_scrollbar_thickness_dip; | 38 int solid_color_scrollbar_thickness_dip; |
39 bool calculate_top_controls_position; | 39 bool calculate_top_controls_position; |
40 bool use_cheapness_estimator; | |
41 bool use_color_estimator; | 40 bool use_color_estimator; |
42 bool use_memory_management; | 41 bool use_memory_management; |
43 bool prediction_benchmarking; | 42 bool prediction_benchmarking; |
44 bool timeout_and_draw_when_animation_checkerboards; | 43 bool timeout_and_draw_when_animation_checkerboards; |
45 float minimum_contents_scale; | 44 float minimum_contents_scale; |
46 float low_res_contents_scale_factor; | 45 float low_res_contents_scale_factor; |
47 float top_controls_height; | 46 float top_controls_height; |
48 float top_controls_show_threshold; | 47 float top_controls_show_threshold; |
49 float top_controls_hide_threshold; | 48 float top_controls_hide_threshold; |
50 double refresh_rate; | 49 double refresh_rate; |
51 size_t max_partial_texture_updates; | 50 size_t max_partial_texture_updates; |
52 size_t num_raster_threads; | 51 size_t num_raster_threads; |
53 gfx::Size default_tile_size; | 52 gfx::Size default_tile_size; |
54 gfx::Size max_untiled_layer_size; | 53 gfx::Size max_untiled_layer_size; |
55 gfx::Size minimum_occlusion_tracking_size; | 54 gfx::Size minimum_occlusion_tracking_size; |
56 bool use_pinch_zoom_scrollbars; | 55 bool use_pinch_zoom_scrollbars; |
57 size_t max_tiles_for_interest_area; | 56 size_t max_tiles_for_interest_area; |
58 size_t max_unused_resource_memory_percentage; | 57 size_t max_unused_resource_memory_percentage; |
59 int highp_threshold_min; | 58 int highp_threshold_min; |
60 bool strict_layer_property_change_checking; | 59 bool strict_layer_property_change_checking; |
61 | 60 |
62 LayerTreeDebugState initial_debug_state; | 61 LayerTreeDebugState initial_debug_state; |
63 }; | 62 }; |
64 | 63 |
65 } // namespace cc | 64 } // namespace cc |
66 | 65 |
67 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 66 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |