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

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

Issue 894913005: cc: Remove unused function ShouldDrawForced. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | no next file » | 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_STATE_MACHINE_H_ 5 #ifndef CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
6 #define CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ 6 #define CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 bool BeginFrameNeededForChildren() const; 275 bool BeginFrameNeededForChildren() const;
276 bool ProactiveBeginFrameWanted() const; 276 bool ProactiveBeginFrameWanted() const;
277 277
278 bool ShouldTriggerBeginImplFrameDeadlineImmediately() const; 278 bool ShouldTriggerBeginImplFrameDeadlineImmediately() const;
279 279
280 // True if we need to force activations to make forward progress. 280 // True if we need to force activations to make forward progress.
281 bool PendingActivationsShouldBeForced() const; 281 bool PendingActivationsShouldBeForced() const;
282 282
283 bool ShouldAnimate() const; 283 bool ShouldAnimate() const;
284 bool ShouldBeginOutputSurfaceCreation() const; 284 bool ShouldBeginOutputSurfaceCreation() const;
285 bool ShouldDrawForced() const;
286 bool ShouldDraw() const; 285 bool ShouldDraw() const;
287 bool ShouldActivatePendingTree() const; 286 bool ShouldActivatePendingTree() const;
288 bool ShouldSendBeginMainFrame() const; 287 bool ShouldSendBeginMainFrame() const;
289 bool ShouldCommit() const; 288 bool ShouldCommit() const;
290 bool ShouldPrepareTiles() const; 289 bool ShouldPrepareTiles() const;
291 290
292 void AdvanceCurrentFrameNumber(); 291 void AdvanceCurrentFrameNumber();
293 bool HasAnimatedThisFrame() const; 292 bool HasAnimatedThisFrame() const;
294 bool HasSentBeginMainFrameThisFrame() const; 293 bool HasSentBeginMainFrameThisFrame() const;
295 bool HasRequestedSwapThisFrame() const; 294 bool HasRequestedSwapThisFrame() const;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 bool children_need_begin_frames_; 344 bool children_need_begin_frames_;
346 bool defer_commits_; 345 bool defer_commits_;
347 346
348 private: 347 private:
349 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); 348 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine);
350 }; 349 };
351 350
352 } // namespace cc 351 } // namespace cc
353 352
354 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ 353 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698