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(); | |
257 void HasInitializedOutputSurfaceOnImplThread( | 256 void HasInitializedOutputSurfaceOnImplThread( |
258 CompletionEvent* completion, | 257 CompletionEvent* completion, |
259 bool* has_initialized_output_surface); | 258 bool* has_initialized_output_surface); |
260 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); | 259 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); |
261 void InitializeOutputSurfaceOnImplThread( | 260 void InitializeOutputSurfaceOnImplThread( |
262 scoped_ptr<OutputSurface> output_surface); | 261 scoped_ptr<OutputSurface> output_surface); |
263 void FinishGLOnImplThread(CompletionEvent* completion); | 262 void FinishGLOnImplThread(CompletionEvent* completion); |
264 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); | 263 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); |
265 DrawResult DrawSwapInternal(bool forced_draw); | 264 DrawResult DrawSwapInternal(bool forced_draw); |
266 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); | 265 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); |
(...skipping 23 matching lines...) Expand all Loading... |
290 | 289 |
291 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 290 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
292 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 291 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
293 | 292 |
294 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 293 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
295 }; | 294 }; |
296 | 295 |
297 } // namespace cc | 296 } // namespace cc |
298 | 297 |
299 #endif // CC_TREES_THREAD_PROXY_H_ | 298 #endif // CC_TREES_THREAD_PROXY_H_ |
OLD | NEW |