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

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

Issue 2920893003: Revert of cc: Don't use StreamVideoDrawQuad on any platform but Android. (Closed)
Patch Set: Fix merge conflict. Created 3 years, 6 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 27 matching lines...) Expand all
38 bool main_frame_before_activation_enabled = false; 38 bool main_frame_before_activation_enabled = false;
39 bool using_synchronous_renderer_compositor = false; 39 bool using_synchronous_renderer_compositor = false;
40 bool enable_latency_recovery = true; 40 bool enable_latency_recovery = true;
41 bool can_use_lcd_text = true; 41 bool can_use_lcd_text = true;
42 bool use_distance_field_text = false; 42 bool use_distance_field_text = false;
43 bool gpu_rasterization_forced = false; 43 bool gpu_rasterization_forced = false;
44 bool async_worker_context_enabled = false; 44 bool async_worker_context_enabled = false;
45 int gpu_rasterization_msaa_sample_count = 0; 45 int gpu_rasterization_msaa_sample_count = 0;
46 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; 46 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f;
47 bool create_low_res_tiling = false; 47 bool create_low_res_tiling = false;
48 bool use_stream_video_draw_quad = false;
49 48
50 enum ScrollbarAnimator { 49 enum ScrollbarAnimator {
51 NO_ANIMATOR, 50 NO_ANIMATOR,
52 ANDROID_OVERLAY, 51 ANDROID_OVERLAY,
53 AURA_OVERLAY, 52 AURA_OVERLAY,
54 }; 53 };
55 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; 54 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR;
56 base::TimeDelta scrollbar_fade_delay; 55 base::TimeDelta scrollbar_fade_delay;
57 base::TimeDelta scrollbar_fade_duration; 56 base::TimeDelta scrollbar_fade_duration;
58 base::TimeDelta scrollbar_thinning_duration; 57 base::TimeDelta scrollbar_thinning_duration;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 113
115 // Determines whether we disallow non-exact matches when finding resources 114 // Determines whether we disallow non-exact matches when finding resources
116 // in ResourcePool. Only used for layout or pixel tests, as non-deterministic 115 // in ResourcePool. Only used for layout or pixel tests, as non-deterministic
117 // resource sizes can lead to floating point error and noise in these tests. 116 // resource sizes can lead to floating point error and noise in these tests.
118 bool disallow_non_exact_resource_reuse = false; 117 bool disallow_non_exact_resource_reuse = false;
119 }; 118 };
120 119
121 } // namespace cc 120 } // namespace cc
122 121
123 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 122 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/resources/video_resource_updater_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698