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

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

Issue 1435133004: cc: Clean up max frames/swaps pending usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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/output/output_surface.h ('k') | 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Requests a single impl frame (after the current frame if there is one 88 // Requests a single impl frame (after the current frame if there is one
89 // active). 89 // active).
90 void SetNeedsOneBeginImplFrame(); 90 void SetNeedsOneBeginImplFrame();
91 91
92 void SetNeedsRedraw(); 92 void SetNeedsRedraw();
93 93
94 void SetNeedsAnimate(); 94 void SetNeedsAnimate();
95 95
96 void SetNeedsPrepareTiles(); 96 void SetNeedsPrepareTiles();
97 97
98 void SetMaxSwapsPending(int max);
99 void DidSwapBuffers(); 98 void DidSwapBuffers();
100 void DidSwapBuffersComplete(); 99 void DidSwapBuffersComplete();
101 100
102 void SetImplLatencyTakesPriority(bool impl_latency_takes_priority); 101 void SetImplLatencyTakesPriority(bool impl_latency_takes_priority);
103 102
104 void NotifyReadyToCommit(); 103 void NotifyReadyToCommit();
105 void BeginMainFrameAborted(CommitEarlyOutReason reason); 104 void BeginMainFrameAborted(CommitEarlyOutReason reason);
106 void DidCommit(); 105 void DidCommit();
107 106
108 void WillPrepareTiles(); 107 void WillPrepareTiles();
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 } 230 }
232 231
233 base::WeakPtrFactory<Scheduler> weak_factory_; 232 base::WeakPtrFactory<Scheduler> weak_factory_;
234 233
235 DISALLOW_COPY_AND_ASSIGN(Scheduler); 234 DISALLOW_COPY_AND_ASSIGN(Scheduler);
236 }; 235 };
237 236
238 } // namespace cc 237 } // namespace cc
239 238
240 #endif // CC_SCHEDULER_SCHEDULER_H_ 239 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « cc/output/output_surface.h ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698