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

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: Address Dana's comments. Fix unittest. Created 3 years, 9 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;
45 46
46 enum ScrollbarAnimator { 47 enum ScrollbarAnimator {
47 NO_ANIMATOR, 48 NO_ANIMATOR,
48 ANDROID_OVERLAY, 49 ANDROID_OVERLAY,
49 AURA_OVERLAY, 50 AURA_OVERLAY,
50 }; 51 };
51 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR; 52 ScrollbarAnimator scrollbar_animator = NO_ANIMATOR;
52 base::TimeDelta scrollbar_show_delay; 53 base::TimeDelta scrollbar_show_delay;
53 base::TimeDelta scrollbar_fade_out_delay; 54 base::TimeDelta scrollbar_fade_out_delay;
54 base::TimeDelta scrollbar_fade_out_resize_delay; 55 base::TimeDelta scrollbar_fade_out_resize_delay;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 LayerTreeDebugState initial_debug_state; 108 LayerTreeDebugState initial_debug_state;
108 109
109 // Indicates that the LayerTreeHost should defer commits unless it has a valid 110 // Indicates that the LayerTreeHost should defer commits unless it has a valid
110 // LocalSurfaceId set. 111 // LocalSurfaceId set.
111 bool needs_valid_local_surface_id = false; 112 bool needs_valid_local_surface_id = false;
112 }; 113 };
113 114
114 } // namespace cc 115 } // namespace cc
115 116
116 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ 117 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698