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

Unified Diff: cc/trees/layer_tree_settings.cc

Issue 675083002: Add cc::RendererSettings for use in with cc::Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_settings.cc
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc
index 1d5cf1bb2ebbc5976f4ebfe7dfd7e2b25b85a8ec..13376e296268468c48d3fed2a2185b84fdbf605d 100644
--- a/cc/trees/layer_tree_settings.cc
+++ b/cc/trees/layer_tree_settings.cc
@@ -14,8 +14,6 @@ namespace cc {
LayerTreeSettings::LayerTreeSettings()
: impl_side_painting(false),
- allow_antialiasing(true),
- force_antialiasing(false),
throttle_frame_production(true),
single_thread_proxy_scheduler(true),
begin_frame_scheduling_enabled(false),
@@ -24,11 +22,9 @@ LayerTreeSettings::LayerTreeSettings()
disable_hi_res_timer_tasks_on_battery(false),
report_overscroll_only_for_scrollable_axes(false),
per_tile_painting_enabled(false),
- partial_swap_enabled(false),
accelerated_animation_enabled(true),
can_use_lcd_text(true),
use_distance_field_text(false),
- should_clear_root_render_pass(true),
gpu_rasterization_enabled(false),
gpu_rasterization_forced(false),
create_low_res_tiling(false),
@@ -46,7 +42,6 @@ LayerTreeSettings::LayerTreeSettings()
top_controls_height(0.f),
top_controls_show_threshold(0.5f),
top_controls_hide_threshold(0.5f),
- refresh_rate(60.0),
max_partial_texture_updates(std::numeric_limits<size_t>::max()),
default_tile_size(gfx::Size(256, 256)),
max_untiled_layer_size(gfx::Size(512, 512)),
@@ -60,13 +55,10 @@ LayerTreeSettings::LayerTreeSettings()
skewport_extrapolation_limit_in_content_pixels(2000),
max_unused_resource_memory_percentage(100),
max_memory_for_prepaint_percentage(100),
- highp_threshold_min(0),
strict_layer_property_change_checking(false),
use_one_copy(false),
use_zero_copy(false),
ignore_root_layer_flings(false),
- use_rgba_4444_textures(false),
- texture_id_allocation_chunk_size(64),
scheduled_raster_task_limit(32),
use_occlusion_for_tile_prioritization(false),
record_full_layer(false) {

Powered by Google App Engine
This is Rietveld 408576698