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

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

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: rebase Created 4 years, 3 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 #include "cc/trees/layer_tree_settings.h" 5 #include "cc/trees/layer_tree_settings.h"
6 6
7 #include "cc/proto/gfx_conversions.h" 7 #include "cc/proto/gfx_conversions.h"
8 #include "third_party/khronos/GLES2/gl2.h" 8 #include "third_party/khronos/GLES2/gl2.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 use_external_begin_frame_source; 95 use_external_begin_frame_source;
96 scheduler_settings.main_frame_before_activation_enabled = 96 scheduler_settings.main_frame_before_activation_enabled =
97 main_frame_before_activation_enabled; 97 main_frame_before_activation_enabled;
98 scheduler_settings.timeout_and_draw_when_animation_checkerboards = 98 scheduler_settings.timeout_and_draw_when_animation_checkerboards =
99 timeout_and_draw_when_animation_checkerboards; 99 timeout_and_draw_when_animation_checkerboards;
100 scheduler_settings.using_synchronous_renderer_compositor = 100 scheduler_settings.using_synchronous_renderer_compositor =
101 using_synchronous_renderer_compositor; 101 using_synchronous_renderer_compositor;
102 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; 102 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval;
103 scheduler_settings.background_frame_interval = 103 scheduler_settings.background_frame_interval =
104 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); 104 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate);
105 scheduler_settings.abort_commit_before_output_surface_creation = 105 scheduler_settings.abort_commit_before_compositor_frame_sink_creation =
106 abort_commit_before_output_surface_creation; 106 abort_commit_before_compositor_frame_sink_creation;
107 return scheduler_settings; 107 return scheduler_settings;
108 } 108 }
109 109
110 } // namespace cc 110 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698