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

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

Issue 2763223003: Reland of cc: Don't use StreamVideoDrawQuad on any platform but Android. (Closed)
Patch Set: Fix tests. 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 26 matching lines...) Expand all
37 bool main_frame_before_activation_enabled = false; 37 bool main_frame_before_activation_enabled = false;
38 bool using_synchronous_renderer_compositor = false; 38 bool using_synchronous_renderer_compositor = false;
39 bool enable_latency_recovery = true; 39 bool enable_latency_recovery = true;
40 bool can_use_lcd_text = true; 40 bool can_use_lcd_text = true;
41 bool use_distance_field_text = false; 41 bool use_distance_field_text = false;
42 bool gpu_rasterization_forced = false; 42 bool gpu_rasterization_forced = false;
43 bool async_worker_context_enabled = false; 43 bool async_worker_context_enabled = false;
44 int gpu_rasterization_msaa_sample_count = 0; 44 int gpu_rasterization_msaa_sample_count = 0;
45 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; 45 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f;
46 bool create_low_res_tiling = false; 46 bool create_low_res_tiling = false;
47 bool use_stream_video_draw_quad = false;
47 48
48 enum ScrollbarAnimator { 49 enum ScrollbarAnimator {
49 NO_ANIMATOR, 50 NO_ANIMATOR,
50 ANDROID_OVERLAY, 51 ANDROID_OVERLAY,
51 AURA_OVERLAY, 52 AURA_OVERLAY,
52 }; 53 };
53 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; 54 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR;
54 base::TimeDelta scrollbar_fade_delay; 55 base::TimeDelta scrollbar_fade_delay;
55 base::TimeDelta scrollbar_fade_duration; 56 base::TimeDelta scrollbar_fade_duration;
56 base::TimeDelta scrollbar_thinning_duration; 57 base::TimeDelta scrollbar_thinning_duration;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 113
113 // Determines whether we disallow non-exact matches when finding resources 114 // Determines whether we disallow non-exact matches when finding resources
114 // 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
115 // 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.
116 bool disallow_non_exact_resource_reuse = false; 117 bool disallow_non_exact_resource_reuse = false;
117 }; 118 };
118 119
119 } // namespace cc 120 } // namespace cc
120 121
121 #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