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

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

Issue 713783002: Revert of Moving background animation ticking from LayerTreeHostImpl into the Scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler-timesource-refactor
Patch Set: Created 6 years, 1 month 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_settings.h ('k') | cc/trees/single_thread_proxy.h » ('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 #include "cc/trees/layer_tree_settings.h" 5 #include "cc/trees/layer_tree_settings.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 29 matching lines...) Expand all
40 calculate_top_controls_position(false), 40 calculate_top_controls_position(false),
41 timeout_and_draw_when_animation_checkerboards(true), 41 timeout_and_draw_when_animation_checkerboards(true),
42 maximum_number_of_failed_draws_before_draw_is_forced_(3), 42 maximum_number_of_failed_draws_before_draw_is_forced_(3),
43 layer_transforms_should_scale_layer_contents(false), 43 layer_transforms_should_scale_layer_contents(false),
44 minimum_contents_scale(0.0625f), 44 minimum_contents_scale(0.0625f),
45 low_res_contents_scale_factor(0.25f), 45 low_res_contents_scale_factor(0.25f),
46 top_controls_height(0.f), 46 top_controls_height(0.f),
47 top_controls_show_threshold(0.5f), 47 top_controls_show_threshold(0.5f),
48 top_controls_hide_threshold(0.5f), 48 top_controls_hide_threshold(0.5f),
49 refresh_rate(60.0), 49 refresh_rate(60.0),
50 background_animation_rate(1.0),
51 max_partial_texture_updates(std::numeric_limits<size_t>::max()), 50 max_partial_texture_updates(std::numeric_limits<size_t>::max()),
52 default_tile_size(gfx::Size(256, 256)), 51 default_tile_size(gfx::Size(256, 256)),
53 max_untiled_layer_size(gfx::Size(512, 512)), 52 max_untiled_layer_size(gfx::Size(512, 512)),
54 default_tile_grid_size(gfx::Size(256, 256)), 53 default_tile_grid_size(gfx::Size(256, 256)),
55 minimum_occlusion_tracking_size(gfx::Size(160, 160)), 54 minimum_occlusion_tracking_size(gfx::Size(160, 160)),
56 use_pinch_zoom_scrollbars(false), 55 use_pinch_zoom_scrollbars(false),
57 use_pinch_virtual_viewport(false), 56 use_pinch_virtual_viewport(false),
58 // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels. 57 // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels.
59 max_tiles_for_interest_area(128), 58 max_tiles_for_interest_area(128),
60 skewport_target_time_multiplier(1.0f), 59 skewport_target_time_multiplier(1.0f),
61 skewport_extrapolation_limit_in_content_pixels(2000), 60 skewport_extrapolation_limit_in_content_pixels(2000),
62 max_unused_resource_memory_percentage(100), 61 max_unused_resource_memory_percentage(100),
63 max_memory_for_prepaint_percentage(100), 62 max_memory_for_prepaint_percentage(100),
64 highp_threshold_min(0), 63 highp_threshold_min(0),
65 strict_layer_property_change_checking(false), 64 strict_layer_property_change_checking(false),
66 use_one_copy(false), 65 use_one_copy(false),
67 use_zero_copy(false), 66 use_zero_copy(false),
68 ignore_root_layer_flings(false), 67 ignore_root_layer_flings(false),
69 use_rgba_4444_textures(false), 68 use_rgba_4444_textures(false),
70 texture_id_allocation_chunk_size(64), 69 texture_id_allocation_chunk_size(64),
71 scheduled_raster_task_limit(32), 70 scheduled_raster_task_limit(32),
72 use_occlusion_for_tile_prioritization(false), 71 use_occlusion_for_tile_prioritization(false),
73 record_full_layer(false) { 72 record_full_layer(false) {
74 } 73 }
75 74
76 LayerTreeSettings::~LayerTreeSettings() {} 75 LayerTreeSettings::~LayerTreeSettings() {}
77 76
78 } // namespace cc 77 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698