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

Side by Side Diff: cc/scheduler.h

Issue 11784030: Revert 175275 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/layer_tree_host_unittest.cc ('k') | cc/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_H_ 5 #ifndef CC_SCHEDULER_H_
6 #define CC_SCHEDULER_H_ 6 #define CC_SCHEDULER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 void setMainThreadNeedsLayerTextures(); 71 void setMainThreadNeedsLayerTextures();
72 72
73 // Like setNeedsRedraw(), but ensures the draw will definitely happen even i f we are not visible. 73 // Like setNeedsRedraw(), but ensures the draw will definitely happen even i f we are not visible.
74 void setNeedsForcedRedraw(); 74 void setNeedsForcedRedraw();
75 75
76 void beginFrameComplete(); 76 void beginFrameComplete();
77 void beginFrameAborted(); 77 void beginFrameAborted();
78 78
79 void setMaxFramesPending(int); 79 void setMaxFramesPending(int);
80 int maxFramesPending() const;
81
82 void setSwapBuffersCompleteSupported(bool); 80 void setSwapBuffersCompleteSupported(bool);
83 void didSwapBuffersComplete(); 81 void didSwapBuffersComplete();
84 82
85 void didLoseOutputSurface(); 83 void didLoseOutputSurface();
86 void didRecreateOutputSurface(); 84 void didRecreateOutputSurface();
87 85
88 bool commitPending() const { return m_stateMachine.commitPending(); } 86 bool commitPending() const { return m_stateMachine.commitPending(); }
89 bool redrawPending() const { return m_stateMachine.redrawPending(); } 87 bool redrawPending() const { return m_stateMachine.redrawPending(); }
90 88
91 void setTimebaseAndInterval(base::TimeTicks timebase, base::TimeDelta interv al); 89 void setTimebaseAndInterval(base::TimeTicks timebase, base::TimeDelta interv al);
(...skipping 12 matching lines...) Expand all
104 scoped_ptr<FrameRateController> m_frameRateController; 102 scoped_ptr<FrameRateController> m_frameRateController;
105 SchedulerStateMachine m_stateMachine; 103 SchedulerStateMachine m_stateMachine;
106 bool m_insideProcessScheduledActions; 104 bool m_insideProcessScheduledActions;
107 105
108 DISALLOW_COPY_AND_ASSIGN(Scheduler); 106 DISALLOW_COPY_AND_ASSIGN(Scheduler);
109 }; 107 };
110 108
111 } // namespace cc 109 } // namespace cc
112 110
113 #endif // CC_SCHEDULER_H_ 111 #endif // CC_SCHEDULER_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_unittest.cc ('k') | cc/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698