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 30 matching lines...) Expand all Loading... |
41 // TODO(enne): Remove this after everything uses output surface begin frames. | 41 // TODO(enne): Remove this after everything uses output surface begin frames. |
42 bool use_external_begin_frame_source; | 42 bool use_external_begin_frame_source; |
43 // TODO(enne): Temporary staging for unified begin frame source work. | 43 // TODO(enne): Temporary staging for unified begin frame source work. |
44 bool use_output_surface_begin_frame_source; | 44 bool use_output_surface_begin_frame_source; |
45 bool main_frame_before_activation_enabled; | 45 bool main_frame_before_activation_enabled; |
46 bool using_synchronous_renderer_compositor; | 46 bool using_synchronous_renderer_compositor; |
47 bool can_use_lcd_text; | 47 bool can_use_lcd_text; |
48 bool use_distance_field_text; | 48 bool use_distance_field_text; |
49 bool gpu_rasterization_enabled; | 49 bool gpu_rasterization_enabled; |
50 bool gpu_rasterization_forced; | 50 bool gpu_rasterization_forced; |
| 51 bool async_worker_context_enabled; |
51 int gpu_rasterization_msaa_sample_count; | 52 int gpu_rasterization_msaa_sample_count; |
52 float gpu_rasterization_skewport_target_time_in_seconds; | 53 float gpu_rasterization_skewport_target_time_in_seconds; |
53 bool create_low_res_tiling; | 54 bool create_low_res_tiling; |
54 | 55 |
55 enum ScrollbarAnimator { | 56 enum ScrollbarAnimator { |
56 NO_ANIMATOR, | 57 NO_ANIMATOR, |
57 LINEAR_FADE, | 58 LINEAR_FADE, |
58 THINNING, | 59 THINNING, |
59 }; | 60 }; |
60 ScrollbarAnimator scrollbar_animator; | 61 ScrollbarAnimator scrollbar_animator; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // If set to true, the display item list will internally cache a SkPicture for | 97 // If set to true, the display item list will internally cache a SkPicture for |
97 // raster rather than directly using the display items. | 98 // raster rather than directly using the display items. |
98 bool use_cached_picture_raster; | 99 bool use_cached_picture_raster; |
99 | 100 |
100 LayerTreeDebugState initial_debug_state; | 101 LayerTreeDebugState initial_debug_state; |
101 }; | 102 }; |
102 | 103 |
103 } // namespace cc | 104 } // namespace cc |
104 | 105 |
105 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 106 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
OLD | NEW |