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

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

Issue 14772021: cc::OutputSurfaceClient::InitializeForGL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile by including ContextProvider from output_surface_client.h Created 7 years, 6 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/scheduler/frame_rate_controller.cc ('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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 void DidSwapUseIncompleteTile(); 84 void DidSwapUseIncompleteTile();
85 85
86 void FinishCommit(); 86 void FinishCommit();
87 void BeginFrameAbortedByMainThread(); 87 void BeginFrameAbortedByMainThread();
88 88
89 void SetMaxFramesPending(int max); 89 void SetMaxFramesPending(int max);
90 int MaxFramesPending() const; 90 int MaxFramesPending() const;
91 int NumFramesPendingForTesting() const; 91 int NumFramesPendingForTesting() const;
92 92
93 bool swap_buffers_complete_supported() const;
93 void SetSwapBuffersCompleteSupported(bool supported); 94 void SetSwapBuffersCompleteSupported(bool supported);
94 void DidSwapBuffersComplete(); 95 void DidSwapBuffersComplete();
95 96
96 void DidLoseOutputSurface(); 97 void DidLoseOutputSurface();
97 void DidCreateAndInitializeOutputSurface(); 98 void DidCreateAndInitializeOutputSurface();
98 bool HasInitializedOutputSurface() const { 99 bool HasInitializedOutputSurface() const {
99 return state_machine_.HasInitializedOutputSurface(); 100 return state_machine_.HasInitializedOutputSurface();
100 } 101 }
101 102
102 bool CommitPending() const { return state_machine_.CommitPending(); } 103 bool CommitPending() const { return state_machine_.CommitPending(); }
(...skipping 25 matching lines...) Expand all
128 scoped_ptr<FrameRateController> frame_rate_controller_; 129 scoped_ptr<FrameRateController> frame_rate_controller_;
129 SchedulerStateMachine state_machine_; 130 SchedulerStateMachine state_machine_;
130 bool inside_process_scheduled_actions_; 131 bool inside_process_scheduled_actions_;
131 132
132 DISALLOW_COPY_AND_ASSIGN(Scheduler); 133 DISALLOW_COPY_AND_ASSIGN(Scheduler);
133 }; 134 };
134 135
135 } // namespace cc 136 } // namespace cc
136 137
137 #endif // CC_SCHEDULER_SCHEDULER_H_ 138 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « cc/scheduler/frame_rate_controller.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698