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

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

Issue 548153004: Unified BeginFrame scheduling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 6 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
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/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_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 virtual void ScheduledActionCommit() OVERRIDE; 219 virtual void ScheduledActionCommit() OVERRIDE;
220 virtual void ScheduledActionUpdateVisibleTiles() OVERRIDE; 220 virtual void ScheduledActionUpdateVisibleTiles() OVERRIDE;
221 virtual void ScheduledActionActivateSyncTree() OVERRIDE; 221 virtual void ScheduledActionActivateSyncTree() OVERRIDE;
222 virtual void ScheduledActionBeginOutputSurfaceCreation() OVERRIDE; 222 virtual void ScheduledActionBeginOutputSurfaceCreation() OVERRIDE;
223 virtual void ScheduledActionManageTiles() OVERRIDE; 223 virtual void ScheduledActionManageTiles() OVERRIDE;
224 virtual void DidAnticipatedDrawTimeChange(base::TimeTicks time) OVERRIDE; 224 virtual void DidAnticipatedDrawTimeChange(base::TimeTicks time) OVERRIDE;
225 virtual base::TimeDelta DrawDurationEstimate() OVERRIDE; 225 virtual base::TimeDelta DrawDurationEstimate() OVERRIDE;
226 virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() OVERRIDE; 226 virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() OVERRIDE;
227 virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE; 227 virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE;
228 virtual void DidBeginImplFrameDeadline() OVERRIDE; 228 virtual void DidBeginImplFrameDeadline() OVERRIDE;
229 virtual void SendBeginFrameToChildren(const BeginFrameArgs& args) OVERRIDE;
229 230
230 // ResourceUpdateControllerClient implementation 231 // ResourceUpdateControllerClient implementation
231 virtual void ReadyToFinalizeTextureUpdates() OVERRIDE; 232 virtual void ReadyToFinalizeTextureUpdates() OVERRIDE;
232 233
233 protected: 234 protected:
234 ThreadProxy(LayerTreeHost* layer_tree_host, 235 ThreadProxy(LayerTreeHost* layer_tree_host,
235 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 236 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
236 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); 237 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner);
237 238
238 private: 239 private:
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 298
298 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 299 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
299 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 300 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
300 301
301 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 302 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
302 }; 303 };
303 304
304 } // namespace cc 305 } // namespace cc
305 306
306 #endif // CC_TREES_THREAD_PROXY_H_ 307 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698