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

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

Issue 696413003: cc: Introduce forward_begin_frames_to_children and use_external_begin_frame_source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sep
Patch Set: rebase on master 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') | content/renderer/gpu/render_widget_compositor.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 force_antialiasing(false), 18 force_antialiasing(false),
19 force_blending_with_shaders(false), 19 force_blending_with_shaders(false),
20 throttle_frame_production(true), 20 throttle_frame_production(true),
21 single_thread_proxy_scheduler(true), 21 single_thread_proxy_scheduler(true),
22 begin_frame_scheduling_enabled(false), 22 use_external_begin_frame_source(false),
23 forward_begin_frames_to_children(false),
23 main_frame_before_activation_enabled(false), 24 main_frame_before_activation_enabled(false),
24 using_synchronous_renderer_compositor(false), 25 using_synchronous_renderer_compositor(false),
25 disable_hi_res_timer_tasks_on_battery(false), 26 disable_hi_res_timer_tasks_on_battery(false),
26 report_overscroll_only_for_scrollable_axes(false), 27 report_overscroll_only_for_scrollable_axes(false),
27 per_tile_painting_enabled(false), 28 per_tile_painting_enabled(false),
28 partial_swap_enabled(false), 29 partial_swap_enabled(false),
29 accelerated_animation_enabled(true), 30 accelerated_animation_enabled(true),
30 can_use_lcd_text(true), 31 can_use_lcd_text(true),
31 use_distance_field_text(false), 32 use_distance_field_text(false),
32 should_clear_root_render_pass(true), 33 should_clear_root_render_pass(true),
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 use_rgba_4444_textures(false), 71 use_rgba_4444_textures(false),
71 texture_id_allocation_chunk_size(64), 72 texture_id_allocation_chunk_size(64),
72 scheduled_raster_task_limit(32), 73 scheduled_raster_task_limit(32),
73 use_occlusion_for_tile_prioritization(false), 74 use_occlusion_for_tile_prioritization(false),
74 record_full_layer(false) { 75 record_full_layer(false) {
75 } 76 }
76 77
77 LayerTreeSettings::~LayerTreeSettings() {} 78 LayerTreeSettings::~LayerTreeSettings() {}
78 79
79 } // namespace cc 80 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698