| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 void HasInitializedOutputSurfaceOnImplThread( | 265 void HasInitializedOutputSurfaceOnImplThread( |
| 266 CompletionEvent* completion, | 266 CompletionEvent* completion, |
| 267 bool* has_initialized_output_surface); | 267 bool* has_initialized_output_surface); |
| 268 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); | 268 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); |
| 269 void InitializeOutputSurfaceOnImplThread( | 269 void InitializeOutputSurfaceOnImplThread( |
| 270 scoped_ptr<OutputSurface> output_surface); | 270 scoped_ptr<OutputSurface> output_surface); |
| 271 void FinishGLOnImplThread(CompletionEvent* completion); | 271 void FinishGLOnImplThread(CompletionEvent* completion); |
| 272 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); | 272 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); |
| 273 DrawResult DrawSwapInternal(bool forced_draw); | 273 DrawResult DrawSwapInternal(bool forced_draw); |
| 274 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); | 274 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); |
| 275 void CheckOutputSurfaceStatusOnImplThread(); | |
| 276 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); | 275 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); |
| 277 void AsValueOnImplThread(CompletionEvent* completion, | 276 void AsValueOnImplThread(CompletionEvent* completion, |
| 278 base::debug::TracedValue* state) const; | 277 base::debug::TracedValue* state) const; |
| 279 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile); | 278 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile); |
| 280 void MainThreadHasStoppedFlingingOnImplThread(); | 279 void MainThreadHasStoppedFlingingOnImplThread(); |
| 281 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); | 280 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); |
| 282 void SetDebugStateOnImplThread(const LayerTreeDebugState& debug_state); | 281 void SetDebugStateOnImplThread(const LayerTreeDebugState& debug_state); |
| 283 | 282 |
| 284 LayerTreeHost* layer_tree_host(); | 283 LayerTreeHost* layer_tree_host(); |
| 285 const LayerTreeHost* layer_tree_host() const; | 284 const LayerTreeHost* layer_tree_host() const; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 298 | 297 |
| 299 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 298 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
| 300 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 299 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
| 301 | 300 |
| 302 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 301 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 303 }; | 302 }; |
| 304 | 303 |
| 305 } // namespace cc | 304 } // namespace cc |
| 306 | 305 |
| 307 #endif // CC_TREES_THREAD_PROXY_H_ | 306 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |