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

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

Issue 16871016: cc: Use BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@bfargs2
Patch Set: Add an --enable-deadline-scheduler commandline flag. Created 7 years, 4 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
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 #ifndef CC_TREES_LAYER_TREE_SETTINGS_H_ 5 #ifndef CC_TREES_LAYER_TREE_SETTINGS_H_
6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ 6 #define CC_TREES_LAYER_TREE_SETTINGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
12 #include "cc/debug/layer_tree_debug_state.h" 12 #include "cc/debug/layer_tree_debug_state.h"
13 #include "third_party/skia/include/core/SkColor.h" 13 #include "third_party/skia/include/core/SkColor.h"
14 #include "ui/gfx/size.h" 14 #include "ui/gfx/size.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 class CC_EXPORT LayerTreeSettings { 18 class CC_EXPORT LayerTreeSettings {
19 public: 19 public:
20 LayerTreeSettings(); 20 LayerTreeSettings();
21 ~LayerTreeSettings(); 21 ~LayerTreeSettings();
22 22
23 bool impl_side_painting; 23 bool impl_side_painting;
24 bool allow_antialiasing; 24 bool allow_antialiasing;
25 bool throttle_frame_production; 25 bool throttle_frame_production;
26 bool begin_frame_scheduling_enabled; 26 bool begin_frame_scheduling_enabled;
27 bool deadline_scheduling_enabled;
27 bool using_synchronous_renderer_compositor; 28 bool using_synchronous_renderer_compositor;
28 bool per_tile_painting_enabled; 29 bool per_tile_painting_enabled;
29 bool partial_swap_enabled; 30 bool partial_swap_enabled;
30 bool cache_render_pass_contents; 31 bool cache_render_pass_contents;
31 bool accelerated_animation_enabled; 32 bool accelerated_animation_enabled;
32 bool background_color_instead_of_checkerboard; 33 bool background_color_instead_of_checkerboard;
33 bool show_overdraw_in_tracing; 34 bool show_overdraw_in_tracing;
34 bool can_use_lcd_text; 35 bool can_use_lcd_text;
35 bool should_clear_root_render_pass; 36 bool should_clear_root_render_pass;
36 bool use_linear_fade_scrollbar_animator; 37 bool use_linear_fade_scrollbar_animator;
(...skipping 27 matching lines...) Expand all
64 bool use_map_image; 65 bool use_map_image;
65 std::string compositor_name; 66 std::string compositor_name;
66 bool ignore_root_layer_flings; 67 bool ignore_root_layer_flings;
67 68
68 LayerTreeDebugState initial_debug_state; 69 LayerTreeDebugState initial_debug_state;
69 }; 70 };
70 71
71 } // namespace cc 72 } // namespace cc
72 73
73 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 74 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698