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

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

Issue 1452353002: Turn off computation of the interest rect in cc in synchronized paint mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 <GLES2/gl2.h> 7 #include <GLES2/gl2.h>
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 15 matching lines...) Expand all
26 main_frame_before_activation_enabled(false), 26 main_frame_before_activation_enabled(false),
27 using_synchronous_renderer_compositor(false), 27 using_synchronous_renderer_compositor(false),
28 accelerated_animation_enabled(true), 28 accelerated_animation_enabled(true),
29 can_use_lcd_text(true), 29 can_use_lcd_text(true),
30 use_distance_field_text(false), 30 use_distance_field_text(false),
31 gpu_rasterization_enabled(false), 31 gpu_rasterization_enabled(false),
32 gpu_rasterization_forced(false), 32 gpu_rasterization_forced(false),
33 gpu_rasterization_msaa_sample_count(0), 33 gpu_rasterization_msaa_sample_count(0),
34 gpu_rasterization_skewport_target_time_in_seconds(0.2f), 34 gpu_rasterization_skewport_target_time_in_seconds(0.2f),
35 create_low_res_tiling(false), 35 create_low_res_tiling(false),
36 blink_synchronized_painting_enabled(false),
36 scrollbar_animator(NO_ANIMATOR), 37 scrollbar_animator(NO_ANIMATOR),
37 scrollbar_fade_delay_ms(0), 38 scrollbar_fade_delay_ms(0),
38 scrollbar_fade_resize_delay_ms(0), 39 scrollbar_fade_resize_delay_ms(0),
39 scrollbar_fade_duration_ms(0), 40 scrollbar_fade_duration_ms(0),
40 solid_color_scrollbar_color(SK_ColorWHITE), 41 solid_color_scrollbar_color(SK_ColorWHITE),
41 timeout_and_draw_when_animation_checkerboards(true), 42 timeout_and_draw_when_animation_checkerboards(true),
42 layer_transforms_should_scale_layer_contents(false), 43 layer_transforms_should_scale_layer_contents(false),
43 layers_always_allowed_lcd_text(false), 44 layers_always_allowed_lcd_text(false),
44 minimum_contents_scale(0.0625f), 45 minimum_contents_scale(0.0625f),
45 low_res_contents_scale_factor(0.25f), 46 low_res_contents_scale_factor(0.25f),
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 timeout_and_draw_when_animation_checkerboards; 88 timeout_and_draw_when_animation_checkerboards;
88 scheduler_settings.using_synchronous_renderer_compositor = 89 scheduler_settings.using_synchronous_renderer_compositor =
89 using_synchronous_renderer_compositor; 90 using_synchronous_renderer_compositor;
90 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; 91 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval;
91 scheduler_settings.background_frame_interval = 92 scheduler_settings.background_frame_interval =
92 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); 93 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate);
93 return scheduler_settings; 94 return scheduler_settings;
94 } 95 }
95 96
96 } // namespace cc 97 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698