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

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

Issue 2918263002: Revert of cc: Don't use StreamVideoDrawQuad on any platform but Android. (patchset #3 id:40001 of h… (Closed)
Patch Set: 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 24 matching lines...) Expand all
35 bool main_frame_before_activation_enabled = false; 35 bool main_frame_before_activation_enabled = false;
36 bool using_synchronous_renderer_compositor = false; 36 bool using_synchronous_renderer_compositor = false;
37 bool enable_latency_recovery = true; 37 bool enable_latency_recovery = true;
38 bool can_use_lcd_text = true; 38 bool can_use_lcd_text = true;
39 bool use_distance_field_text = false; 39 bool use_distance_field_text = false;
40 bool gpu_rasterization_forced = false; 40 bool gpu_rasterization_forced = false;
41 bool async_worker_context_enabled = false; 41 bool async_worker_context_enabled = false;
42 int gpu_rasterization_msaa_sample_count = 0; 42 int gpu_rasterization_msaa_sample_count = 0;
43 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f; 43 float gpu_rasterization_skewport_target_time_in_seconds = 0.2f;
44 bool create_low_res_tiling = false; 44 bool create_low_res_tiling = false;
45 bool use_stream_video_draw_quad = false;
46 45
47 enum ScrollbarAnimator { 46 enum ScrollbarAnimator {
48 NO_ANIMATOR, 47 NO_ANIMATOR,
49 ANDROID_OVERLAY, 48 ANDROID_OVERLAY,
50 AURA_OVERLAY, 49 AURA_OVERLAY,
51 }; 50 };
52 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; 51 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR;
53 base::TimeDelta scrollbar_fade_delay; 52 base::TimeDelta scrollbar_fade_delay;
54 base::TimeDelta scrollbar_fade_duration; 53 base::TimeDelta scrollbar_fade_duration;
55 base::TimeDelta scrollbar_thinning_duration; 54 base::TimeDelta scrollbar_thinning_duration;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 109
111 // Determines whether we disallow non-exact matches when finding resources 110 // Determines whether we disallow non-exact matches when finding resources
112 // in ResourcePool. Only used for layout or pixel tests, as non-deterministic 111 // in ResourcePool. Only used for layout or pixel tests, as non-deterministic
113 // resource sizes can lead to floating point error and noise in these tests. 112 // resource sizes can lead to floating point error and noise in these tests.
114 bool disallow_non_exact_resource_reuse = false; 113 bool disallow_non_exact_resource_reuse = false;
115 }; 114 };
116 115
117 } // namespace cc 116 } // namespace cc
118 117
119 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 118 #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