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

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

Issue 340743002: cc: Removing base::TimeTicks argument to DrawLayers as it isn't used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase onto master for landing. Created 5 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 LayerTreeHostSingleThreadClient* client, 127 LayerTreeHostSingleThreadClient* client,
128 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 128 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
129 scoped_ptr<BeginFrameSource> external_begin_frame_source); 129 scoped_ptr<BeginFrameSource> external_begin_frame_source);
130 130
131 private: 131 private:
132 void BeginMainFrame(const BeginFrameArgs& begin_frame_args); 132 void BeginMainFrame(const BeginFrameArgs& begin_frame_args);
133 void BeginMainFrameAbortedOnImplThread(CommitEarlyOutReason reason); 133 void BeginMainFrameAbortedOnImplThread(CommitEarlyOutReason reason);
134 void DoAnimate(); 134 void DoAnimate();
135 void DoBeginMainFrame(const BeginFrameArgs& begin_frame_args); 135 void DoBeginMainFrame(const BeginFrameArgs& begin_frame_args);
136 void DoCommit(); 136 void DoCommit();
137 DrawResult DoComposite(base::TimeTicks frame_begin_time, 137 DrawResult DoComposite(LayerTreeHostImpl::FrameData* frame);
138 LayerTreeHostImpl::FrameData* frame);
139 void DoSwap(); 138 void DoSwap();
140 void DidCommitAndDrawFrame(); 139 void DidCommitAndDrawFrame();
141 void CommitComplete(); 140 void CommitComplete();
142 141
143 bool ShouldComposite() const; 142 bool ShouldComposite() const;
144 void ScheduleRequestNewOutputSurface(); 143 void ScheduleRequestNewOutputSurface();
145 144
146 // Accessed on main thread only. 145 // Accessed on main thread only.
147 LayerTreeHost* layer_tree_host_; 146 LayerTreeHost* layer_tree_host_;
148 LayerTreeHostSingleThreadClient* client_; 147 LayerTreeHostSingleThreadClient* client_;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 private: 235 private:
237 DebugScopedSetImplThread impl_thread_; 236 DebugScopedSetImplThread impl_thread_;
238 DebugScopedSetMainThreadBlocked main_thread_blocked_; 237 DebugScopedSetMainThreadBlocked main_thread_blocked_;
239 238
240 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 239 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
241 }; 240 };
242 241
243 } // namespace cc 242 } // namespace cc
244 243
245 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 244 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698