| 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 26 matching lines...) Expand all Loading... |
| 37 SchedulerSettings ToSchedulerSettings() const; | 37 SchedulerSettings ToSchedulerSettings() const; |
| 38 | 38 |
| 39 RendererSettings renderer_settings; | 39 RendererSettings renderer_settings; |
| 40 bool single_thread_proxy_scheduler = true; | 40 bool single_thread_proxy_scheduler = true; |
| 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 = false; | 42 bool use_external_begin_frame_source = false; |
| 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_compositor_frame_sink_begin_frame_source = true; | 44 bool use_compositor_frame_sink_begin_frame_source = true; |
| 45 bool main_frame_before_activation_enabled = false; | 45 bool main_frame_before_activation_enabled = false; |
| 46 bool using_synchronous_renderer_compositor = false; | 46 bool using_synchronous_renderer_compositor = false; |
| 47 bool enable_latency_recovery = true; |
| 47 bool can_use_lcd_text = true; | 48 bool can_use_lcd_text = true; |
| 48 bool use_distance_field_text = false; | 49 bool use_distance_field_text = false; |
| 49 bool gpu_rasterization_enabled = false; | 50 bool gpu_rasterization_enabled = false; |
| 50 bool gpu_rasterization_forced = false; | 51 bool gpu_rasterization_forced = false; |
| 51 bool async_worker_context_enabled = false; | 52 bool async_worker_context_enabled = false; |
| 52 int gpu_rasterization_msaa_sample_count = 0; | 53 int gpu_rasterization_msaa_sample_count = 0; |
| 53 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; | 54 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; |
| 54 bool create_low_res_tiling = false; | 55 bool create_low_res_tiling = false; |
| 55 | 56 |
| 56 enum ScrollbarAnimator { | 57 enum ScrollbarAnimator { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 // raster rather than directly using the display items. | 105 // raster rather than directly using the display items. |
| 105 bool use_cached_picture_raster = true; | 106 bool use_cached_picture_raster = true; |
| 106 bool enable_color_correct_rendering = false; | 107 bool enable_color_correct_rendering = false; |
| 107 | 108 |
| 108 LayerTreeDebugState initial_debug_state; | 109 LayerTreeDebugState initial_debug_state; |
| 109 }; | 110 }; |
| 110 | 111 |
| 111 } // namespace cc | 112 } // namespace cc |
| 112 | 113 |
| 113 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 114 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |