| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |