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

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

Issue 23907006: cc: Allow sending BeginMainFrame before draw or activation (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedDeadline3
Patch Set: Block main thread from state machine; remove completion event; Created 7 years, 3 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 deadline_scheduling_enabled;
28 bool start_commit_before_draw_enabled;
29 bool start_commit_before_activate_enabled;
28 bool using_synchronous_renderer_compositor; 30 bool using_synchronous_renderer_compositor;
29 bool per_tile_painting_enabled; 31 bool per_tile_painting_enabled;
30 bool partial_swap_enabled; 32 bool partial_swap_enabled;
31 bool cache_render_pass_contents; 33 bool cache_render_pass_contents;
32 bool accelerated_animation_enabled; 34 bool accelerated_animation_enabled;
33 bool background_color_instead_of_checkerboard; 35 bool background_color_instead_of_checkerboard;
34 bool show_overdraw_in_tracing; 36 bool show_overdraw_in_tracing;
35 bool can_use_lcd_text; 37 bool can_use_lcd_text;
36 bool should_clear_root_render_pass; 38 bool should_clear_root_render_pass;
37 39
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool use_map_image; 73 bool use_map_image;
72 std::string compositor_name; 74 std::string compositor_name;
73 bool ignore_root_layer_flings; 75 bool ignore_root_layer_flings;
74 76
75 LayerTreeDebugState initial_debug_state; 77 LayerTreeDebugState initial_debug_state;
76 }; 78 };
77 79
78 } // namespace cc 80 } // namespace cc
79 81
80 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 82 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698