summaryrefslogtreecommitdiffstats
path: root/chromium/cc/trees/layer_tree_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/trees/layer_tree_settings.h')
-rw-r--r--chromium/cc/trees/layer_tree_settings.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/chromium/cc/trees/layer_tree_settings.h b/chromium/cc/trees/layer_tree_settings.h
index ce1e19e2915..182eb5f6873 100644
--- a/chromium/cc/trees/layer_tree_settings.h
+++ b/chromium/cc/trees/layer_tree_settings.h
@@ -43,6 +43,7 @@ class CC_EXPORT LayerTreeSettings {
bool enable_latency_recovery = true;
bool can_use_lcd_text = true;
bool gpu_rasterization_forced = false;
+ bool gpu_rasterization_disabled = false;
int gpu_rasterization_msaa_sample_count = 0;
float gpu_rasterization_skewport_target_time_in_seconds = 0.2f;
bool create_low_res_tiling = false;
@@ -109,10 +110,6 @@ class CC_EXPORT LayerTreeSettings {
LayerTreeDebugState initial_debug_state;
- // Indicates that the LayerTreeHost should defer commits unless it has a valid
- // viz::LocalSurfaceId set.
- bool enable_surface_synchronization = true;
-
// Indicates the case when a sub-frame gets its own LayerTree because it's
// rendered in a different process from its ancestor frames.
bool is_layer_tree_for_subframe = false;
@@ -128,6 +125,9 @@ class CC_EXPORT LayerTreeSettings {
// deadlines.
bool wait_for_all_pipeline_stages_before_draw = false;
+ // Determines whether the zoom needs to be applied to the device scale factor.
+ bool use_zoom_for_dsf = false;
+
// Determines whether mouse interactions on composited scrollbars are handled
// on the compositor thread.
bool compositor_threaded_scrollbar_scrolling = false;
@@ -177,6 +177,11 @@ class CC_EXPORT LayerTreeSettings {
bool allow_de_jelly_effect = false;
};
+class CC_EXPORT LayerListSettings : public LayerTreeSettings {
+ public:
+ LayerListSettings() { use_layer_lists = true; }
+};
+
} // namespace cc
#endif // CC_TREES_LAYER_TREE_SETTINGS_H_