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

Side by Side Diff: cc/scheduler/scheduler.h

Issue 522903002: cc: Be less aggressive about scheduling for scroll handlers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed scheduler part. 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 | « no previous file | cc/scheduler/scheduler.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_SCHEDULER_SCHEDULER_H_ 5 #ifndef CC_SCHEDULER_SCHEDULER_H_
6 #define CC_SCHEDULER_SCHEDULER_H_ 6 #define CC_SCHEDULER_SCHEDULER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 void SetNeedsAnimate(); 83 void SetNeedsAnimate();
84 84
85 void SetNeedsManageTiles(); 85 void SetNeedsManageTiles();
86 86
87 void SetMaxSwapsPending(int max); 87 void SetMaxSwapsPending(int max);
88 void DidSwapBuffers(); 88 void DidSwapBuffers();
89 void SetSwapUsedIncompleteTile(bool used_incomplete_tile); 89 void SetSwapUsedIncompleteTile(bool used_incomplete_tile);
90 void DidSwapBuffersComplete(); 90 void DidSwapBuffersComplete();
91 91
92 void SetSmoothnessTakesPriority(bool smoothness_takes_priority); 92 void SetImplLatencyTakesPriority(bool impl_latency_takes_priority);
93 93
94 void NotifyReadyToCommit(); 94 void NotifyReadyToCommit();
95 void BeginMainFrameAborted(bool did_handle); 95 void BeginMainFrameAborted(bool did_handle);
96 96
97 void DidManageTiles(); 97 void DidManageTiles();
98 void DidLoseOutputSurface(); 98 void DidLoseOutputSurface();
99 void DidCreateAndInitializeOutputSurface(); 99 void DidCreateAndInitializeOutputSurface();
100 100
101 // Tests do not want to shut down until all possible BeginMainFrames have 101 // Tests do not want to shut down until all possible BeginMainFrames have
102 // occured to prevent flakiness. 102 // occured to prevent flakiness.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 } 232 }
233 233
234 base::WeakPtrFactory<Scheduler> weak_factory_; 234 base::WeakPtrFactory<Scheduler> weak_factory_;
235 235
236 DISALLOW_COPY_AND_ASSIGN(Scheduler); 236 DISALLOW_COPY_AND_ASSIGN(Scheduler);
237 }; 237 };
238 238
239 } // namespace cc 239 } // namespace cc
240 240
241 #endif // CC_SCHEDULER_SCHEDULER_H_ 241 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698