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

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

Issue 713783002: Revert of Moving background animation ticking from LayerTreeHostImpl into the Scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler-timesource-refactor
Patch Set: Created 6 years, 1 month 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 | « 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // Called on impl thread. 246 // Called on impl thread.
247 struct SchedulerStateRequest; 247 struct SchedulerStateRequest;
248 248
249 void StartCommitOnImplThread(CompletionEvent* completion, 249 void StartCommitOnImplThread(CompletionEvent* completion,
250 ResourceUpdateQueue* queue); 250 ResourceUpdateQueue* queue);
251 void BeginMainFrameAbortedOnImplThread(bool did_handle); 251 void BeginMainFrameAbortedOnImplThread(bool did_handle);
252 void FinishAllRenderingOnImplThread(CompletionEvent* completion); 252 void FinishAllRenderingOnImplThread(CompletionEvent* completion);
253 void InitializeImplOnImplThread(CompletionEvent* completion); 253 void InitializeImplOnImplThread(CompletionEvent* completion);
254 void SetLayerTreeHostClientReadyOnImplThread(); 254 void SetLayerTreeHostClientReadyOnImplThread();
255 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible); 255 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible);
256 void UpdateBackgroundAnimateTicking();
256 void HasInitializedOutputSurfaceOnImplThread( 257 void HasInitializedOutputSurfaceOnImplThread(
257 CompletionEvent* completion, 258 CompletionEvent* completion,
258 bool* has_initialized_output_surface); 259 bool* has_initialized_output_surface);
259 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); 260 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion);
260 void InitializeOutputSurfaceOnImplThread( 261 void InitializeOutputSurfaceOnImplThread(
261 scoped_ptr<OutputSurface> output_surface); 262 scoped_ptr<OutputSurface> output_surface);
262 void FinishGLOnImplThread(CompletionEvent* completion); 263 void FinishGLOnImplThread(CompletionEvent* completion);
263 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); 264 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion);
264 DrawResult DrawSwapInternal(bool forced_draw); 265 DrawResult DrawSwapInternal(bool forced_draw);
265 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); 266 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
(...skipping 23 matching lines...) Expand all
289 290
290 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 291 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
291 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 292 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
292 293
293 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 294 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
294 }; 295 };
295 296
296 } // namespace cc 297 } // namespace cc
297 298
298 #endif // CC_TREES_THREAD_PROXY_H_ 299 #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