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

Side by Side Diff: cc/trees/thread_proxy.h

Issue 256573003: cc: Remove the capability to give up and leave compositing mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.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_TREES_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // Called on main thread. 140 // Called on main thread.
141 void SetRendererCapabilitiesMainThreadCopy( 141 void SetRendererCapabilitiesMainThreadCopy(
142 const RendererCapabilities& capabilities); 142 const RendererCapabilities& capabilities);
143 void BeginMainFrame( 143 void BeginMainFrame(
144 scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state); 144 scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state);
145 void DidCommitAndDrawFrame(); 145 void DidCommitAndDrawFrame();
146 void DidCompleteSwapBuffers(); 146 void DidCompleteSwapBuffers();
147 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue); 147 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue);
148 void DoCreateAndInitializeOutputSurface(); 148 void DoCreateAndInitializeOutputSurface();
149 // |capabilities| is set only when |success| is true.
150 void OnOutputSurfaceInitializeAttempted(
151 bool success,
152 const RendererCapabilities& capabilities);
153 void SendCommitRequestToImplThreadIfNeeded(); 149 void SendCommitRequestToImplThreadIfNeeded();
154 150
155 // Called on impl thread. 151 // Called on impl thread.
156 struct ReadbackRequest; 152 struct ReadbackRequest;
157 struct CommitPendingRequest; 153 struct CommitPendingRequest;
158 struct SchedulerStateRequest; 154 struct SchedulerStateRequest;
159 155
160 void ForceCommitForReadbackOnImplThread( 156 void ForceCommitForReadbackOnImplThread(
161 CompletionEvent* begin_main_frame_sent_completion, 157 CompletionEvent* begin_main_frame_sent_completion,
162 ReadbackRequest* request); 158 ReadbackRequest* request);
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 297
302 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 298 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
303 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 299 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
304 300
305 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 301 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
306 }; 302 };
307 303
308 } // namespace cc 304 } // namespace cc
309 305
310 #endif // CC_TREES_THREAD_PROXY_H_ 306 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698