Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Side by Side Diff: cc/trees/layer_tree_settings.h

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 23 matching lines...) Expand all
34 void ToProtobuf(proto::LayerTreeSettings* proto) const; 34 void ToProtobuf(proto::LayerTreeSettings* proto) const;
35 void FromProtobuf(const proto::LayerTreeSettings& proto); 35 void FromProtobuf(const proto::LayerTreeSettings& proto);
36 36
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_output_surface_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 can_use_lcd_text = true; 47 bool can_use_lcd_text = true;
48 bool use_distance_field_text = false; 48 bool use_distance_field_text = false;
49 bool gpu_rasterization_enabled = false; 49 bool gpu_rasterization_enabled = false;
50 bool gpu_rasterization_forced = false; 50 bool gpu_rasterization_forced = false;
51 bool async_worker_context_enabled = false; 51 bool async_worker_context_enabled = false;
52 int gpu_rasterization_msaa_sample_count = 0; 52 int gpu_rasterization_msaa_sample_count = 0;
53 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; 53 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f;
54 bool create_low_res_tiling = false; 54 bool create_low_res_tiling = false;
(...skipping 30 matching lines...) Expand all
85 bool use_zero_copy = false; 85 bool use_zero_copy = false;
86 bool use_partial_raster = false; 86 bool use_partial_raster = false;
87 bool enable_elastic_overscroll = false; 87 bool enable_elastic_overscroll = false;
88 bool ignore_root_layer_flings = false; 88 bool ignore_root_layer_flings = false;
89 size_t scheduled_raster_task_limit = 32; 89 size_t scheduled_raster_task_limit = 32;
90 bool use_occlusion_for_tile_prioritization = false; 90 bool use_occlusion_for_tile_prioritization = false;
91 bool verify_clip_tree_calculations = false; 91 bool verify_clip_tree_calculations = false;
92 bool verify_transform_tree_calculations = false; 92 bool verify_transform_tree_calculations = false;
93 bool image_decode_tasks_enabled = false; 93 bool image_decode_tasks_enabled = false;
94 bool wait_for_beginframe_interval = true; 94 bool wait_for_beginframe_interval = true;
95 bool abort_commit_before_output_surface_creation = true; 95 bool abort_commit_before_compositor_frame_sink_creation = true;
96 bool use_layer_lists = false; 96 bool use_layer_lists = false;
97 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024; 97 int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024;
98 ManagedMemoryPolicy gpu_memory_policy; 98 ManagedMemoryPolicy gpu_memory_policy;
99 ManagedMemoryPolicy software_memory_policy; 99 ManagedMemoryPolicy software_memory_policy;
100 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024; 100 size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024;
101 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024; 101 size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024;
102 int max_preraster_distance_in_screen_pixels = 1000; 102 int max_preraster_distance_in_screen_pixels = 1000;
103 103
104 // If set to true, the display item list will internally cache a SkPicture for 104 // If set to true, the display item list will internally cache a SkPicture for
105 // raster rather than directly using the display items. 105 // raster rather than directly using the display items.
106 bool use_cached_picture_raster = true; 106 bool use_cached_picture_raster = true;
107 bool enable_color_correct_rendering = false; 107 bool enable_color_correct_rendering = false;
108 108
109 LayerTreeDebugState initial_debug_state; 109 LayerTreeDebugState initial_debug_state;
110 }; 110 };
111 111
112 } // namespace cc 112 } // namespace cc
113 113
114 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 114 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698