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

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

Issue 1821863002: Hook up ui::Compositor to Display's BeginFrameSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really revert task runner changes Created 4 years, 8 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 20 matching lines...) Expand all
31 31
32 bool operator==(const LayerTreeSettings& other) const; 32 bool operator==(const LayerTreeSettings& other) const;
33 33
34 void ToProtobuf(proto::LayerTreeSettings* proto) const; 34 void ToProtobuf(proto::LayerTreeSettings* proto) const;
35 void FromProtobuf(const proto::LayerTreeSettings& proto); 35 void FromProtobuf(const proto::LayerTreeSettings& proto);
36 36
37 SchedulerSettings ToSchedulerSettings() const; 37 SchedulerSettings ToSchedulerSettings() const;
38 38
39 RendererSettings renderer_settings; 39 RendererSettings renderer_settings;
40 bool single_thread_proxy_scheduler; 40 bool single_thread_proxy_scheduler;
41 // TODO(enne): Remove this after everything uses output surface begin frames.
41 bool use_external_begin_frame_source; 42 bool use_external_begin_frame_source;
43 // TODO(enne): Temporary staging for unified begin frame source work.
44 bool use_output_surface_begin_frame_source;
no sievers 2016/04/06 21:40:19 obsolete again in latest ps?
42 bool main_frame_before_activation_enabled; 45 bool main_frame_before_activation_enabled;
43 bool using_synchronous_renderer_compositor; 46 bool using_synchronous_renderer_compositor;
44 bool can_use_lcd_text; 47 bool can_use_lcd_text;
45 bool use_distance_field_text; 48 bool use_distance_field_text;
46 bool gpu_rasterization_enabled; 49 bool gpu_rasterization_enabled;
47 bool gpu_rasterization_forced; 50 bool gpu_rasterization_forced;
48 int gpu_rasterization_msaa_sample_count; 51 int gpu_rasterization_msaa_sample_count;
49 float gpu_rasterization_skewport_target_time_in_seconds; 52 float gpu_rasterization_skewport_target_time_in_seconds;
50 bool create_low_res_tiling; 53 bool create_low_res_tiling;
51 54
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // If set to true, the display item list will internally cache a SkPicture for 95 // If set to true, the display item list will internally cache a SkPicture for
93 // raster rather than directly using the display items. 96 // raster rather than directly using the display items.
94 bool use_cached_picture_raster; 97 bool use_cached_picture_raster;
95 98
96 LayerTreeDebugState initial_debug_state; 99 LayerTreeDebugState initial_debug_state;
97 }; 100 };
98 101
99 } // namespace cc 102 } // namespace cc
100 103
101 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 104 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698