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

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

Issue 2888043004: [cc] Add and plumb CFS::DidNotProduceFrame. (Closed)
Patch Set: Created 3 years, 7 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
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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 29 matching lines...) Expand all
40 const BeginFrameArgs& args) = 0; 40 const BeginFrameArgs& args) = 0;
41 virtual DrawResult ScheduledActionDrawIfPossible() = 0; 41 virtual DrawResult ScheduledActionDrawIfPossible() = 0;
42 virtual DrawResult ScheduledActionDrawForced() = 0; 42 virtual DrawResult ScheduledActionDrawForced() = 0;
43 virtual void ScheduledActionCommit() = 0; 43 virtual void ScheduledActionCommit() = 0;
44 virtual void ScheduledActionActivateSyncTree() = 0; 44 virtual void ScheduledActionActivateSyncTree() = 0;
45 virtual void ScheduledActionBeginCompositorFrameSinkCreation() = 0; 45 virtual void ScheduledActionBeginCompositorFrameSinkCreation() = 0;
46 virtual void ScheduledActionPrepareTiles() = 0; 46 virtual void ScheduledActionPrepareTiles() = 0;
47 virtual void ScheduledActionInvalidateCompositorFrameSink() = 0; 47 virtual void ScheduledActionInvalidateCompositorFrameSink() = 0;
48 virtual void ScheduledActionPerformImplSideInvalidation() = 0; 48 virtual void ScheduledActionPerformImplSideInvalidation() = 0;
49 virtual void DidFinishImplFrame() = 0; 49 virtual void DidFinishImplFrame() = 0;
50 virtual void BeginFrameDidNotProduceFrame(const BeginFrameAck& ack) = 0;
50 virtual void SendBeginMainFrameNotExpectedSoon() = 0; 51 virtual void SendBeginMainFrameNotExpectedSoon() = 0;
51 virtual void ScheduledActionBeginMainFrameNotExpectedUntil( 52 virtual void ScheduledActionBeginMainFrameNotExpectedUntil(
52 base::TimeTicks time) = 0; 53 base::TimeTicks time) = 0;
53 54
54 protected: 55 protected:
55 virtual ~SchedulerClient() {} 56 virtual ~SchedulerClient() {}
56 }; 57 };
57 58
58 class CC_EXPORT Scheduler : public BeginFrameObserverBase { 59 class CC_EXPORT Scheduler : public BeginFrameObserverBase {
59 public: 60 public:
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 } 230 }
230 231
231 base::WeakPtrFactory<Scheduler> weak_factory_; 232 base::WeakPtrFactory<Scheduler> weak_factory_;
232 233
233 DISALLOW_COPY_AND_ASSIGN(Scheduler); 234 DISALLOW_COPY_AND_ASSIGN(Scheduler);
234 }; 235 };
235 236
236 } // namespace cc 237 } // namespace cc
237 238
238 #endif // CC_SCHEDULER_SCHEDULER_H_ 239 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698