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

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

Issue 609003002: cc:: Remove main_frame_before_draw_enabled from scheduler settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DCHECK 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.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 #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"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 LayerTreeSettings::LayerTreeSettings() 15 LayerTreeSettings::LayerTreeSettings()
16 : impl_side_painting(false), 16 : impl_side_painting(false),
17 allow_antialiasing(true), 17 allow_antialiasing(true),
18 throttle_frame_production(true), 18 throttle_frame_production(true),
19 single_thread_proxy_scheduler(true), 19 single_thread_proxy_scheduler(true),
20 begin_frame_scheduling_enabled(false), 20 begin_frame_scheduling_enabled(false),
21 main_frame_before_draw_enabled(true),
22 main_frame_before_activation_enabled(false), 21 main_frame_before_activation_enabled(false),
23 using_synchronous_renderer_compositor(false), 22 using_synchronous_renderer_compositor(false),
24 report_overscroll_only_for_scrollable_axes(false), 23 report_overscroll_only_for_scrollable_axes(false),
25 per_tile_painting_enabled(false), 24 per_tile_painting_enabled(false),
26 partial_swap_enabled(false), 25 partial_swap_enabled(false),
27 accelerated_animation_enabled(true), 26 accelerated_animation_enabled(true),
28 can_use_lcd_text(true), 27 can_use_lcd_text(true),
29 use_distance_field_text(false), 28 use_distance_field_text(false),
30 should_clear_root_render_pass(true), 29 should_clear_root_render_pass(true),
31 gpu_rasterization_enabled(false), 30 gpu_rasterization_enabled(false),
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 ignore_root_layer_flings(false), 64 ignore_root_layer_flings(false),
66 use_rgba_4444_textures(false), 65 use_rgba_4444_textures(false),
67 texture_id_allocation_chunk_size(64), 66 texture_id_allocation_chunk_size(64),
68 use_occlusion_for_tile_prioritization(false), 67 use_occlusion_for_tile_prioritization(false),
69 record_full_layer(false) { 68 record_full_layer(false) {
70 } 69 }
71 70
72 LayerTreeSettings::~LayerTreeSettings() {} 71 LayerTreeSettings::~LayerTreeSettings() {}
73 72
74 } // namespace cc 73 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698