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

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

Issue 13947038: Retry tree activation if raster tasks finish during first half of vsync interval (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/single_thread_proxy.h ('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 "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 base::Time wall_clock_time) OVERRIDE; 79 base::Time wall_clock_time) OVERRIDE;
80 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, 80 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
81 int priority_cutoff) 81 int priority_cutoff)
82 OVERRIDE; 82 OVERRIDE;
83 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE; 83 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE;
84 virtual void SendManagedMemoryStats() OVERRIDE; 84 virtual void SendManagedMemoryStats() OVERRIDE;
85 virtual bool IsInsideDraw() OVERRIDE; 85 virtual bool IsInsideDraw() OVERRIDE;
86 virtual void RenewTreePriority() OVERRIDE; 86 virtual void RenewTreePriority() OVERRIDE;
87 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) 87 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay)
88 OVERRIDE; 88 OVERRIDE;
89 virtual void DidFinishTileRasterTasks() OVERRIDE;
89 90
90 // SchedulerClient implementation 91 // SchedulerClient implementation
91 virtual void ScheduledActionBeginFrame() OVERRIDE; 92 virtual void ScheduledActionBeginFrame() OVERRIDE;
92 virtual ScheduledActionDrawAndSwapResult 93 virtual ScheduledActionDrawAndSwapResult
93 ScheduledActionDrawAndSwapIfPossible() OVERRIDE; 94 ScheduledActionDrawAndSwapIfPossible() OVERRIDE;
94 virtual ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapForced() 95 virtual ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapForced()
95 OVERRIDE; 96 OVERRIDE;
96 virtual void ScheduledActionCommit() OVERRIDE; 97 virtual void ScheduledActionCommit() OVERRIDE;
97 virtual void ScheduledActionCheckForCompletedTileUploads() OVERRIDE; 98 virtual void ScheduledActionCheckForCompletedTileUploads() OVERRIDE;
98 virtual void ScheduledActionActivatePendingTreeIfNeeded() OVERRIDE; 99 virtual void ScheduledActionActivatePendingTreeIfNeeded() OVERRIDE;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 257
257 base::TimeTicks smoothness_takes_priority_expiration_time_; 258 base::TimeTicks smoothness_takes_priority_expiration_time_;
258 bool renew_tree_priority_on_impl_thread_pending_; 259 bool renew_tree_priority_on_impl_thread_pending_;
259 260
260 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 261 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
261 }; 262 };
262 263
263 } // namespace cc 264 } // namespace cc
264 265
265 #endif // CC_TREES_THREAD_PROXY_H_ 266 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698