| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 void StartCommitOnImplThread( | 145 void StartCommitOnImplThread( |
| 146 CompletionEvent* completion, | 146 CompletionEvent* completion, |
| 147 ResourceUpdateQueue* queue, | 147 ResourceUpdateQueue* queue, |
| 148 scoped_refptr<cc::ContextProvider> offscreen_context_provider); | 148 scoped_refptr<cc::ContextProvider> offscreen_context_provider); |
| 149 void BeginFrameAbortedByMainThreadOnImplThread(bool did_handle); | 149 void BeginFrameAbortedByMainThreadOnImplThread(bool did_handle); |
| 150 void RequestReadbackOnImplThread(ReadbackRequest* request); | 150 void RequestReadbackOnImplThread(ReadbackRequest* request); |
| 151 void FinishAllRenderingOnImplThread(CompletionEvent* completion); | 151 void FinishAllRenderingOnImplThread(CompletionEvent* completion); |
| 152 void InitializeImplOnImplThread(CompletionEvent* completion); | 152 void InitializeImplOnImplThread(CompletionEvent* completion); |
| 153 void SetLayerTreeHostClientReadyOnImplThread(); | 153 void SetLayerTreeHostClientReadyOnImplThread(); |
| 154 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible); | 154 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible); |
| 155 void UpdateBackgroundAnimateTicking(); |
| 155 void HasInitializedOutputSurfaceOnImplThread( | 156 void HasInitializedOutputSurfaceOnImplThread( |
| 156 CompletionEvent* completion, | 157 CompletionEvent* completion, |
| 157 bool* has_initialized_output_surface); | 158 bool* has_initialized_output_surface); |
| 158 void InitializeOutputSurfaceOnImplThread( | 159 void InitializeOutputSurfaceOnImplThread( |
| 159 CompletionEvent* completion, | 160 CompletionEvent* completion, |
| 160 scoped_ptr<OutputSurface> output_surface, | 161 scoped_ptr<OutputSurface> output_surface, |
| 161 scoped_refptr<ContextProvider> offscreen_context_provider, | 162 scoped_refptr<ContextProvider> offscreen_context_provider, |
| 162 bool* success, | 163 bool* success, |
| 163 RendererCapabilities* capabilities); | 164 RendererCapabilities* capabilities); |
| 164 void FinishGLOnImplThread(CompletionEvent* completion); | 165 void FinishGLOnImplThread(CompletionEvent* completion); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 // activation_duration_history_. | 261 // activation_duration_history_. |
| 261 base::TimeTicks begin_frame_sent_to_main_thread_time_; | 262 base::TimeTicks begin_frame_sent_to_main_thread_time_; |
| 262 base::TimeTicks commit_complete_time_; | 263 base::TimeTicks commit_complete_time_; |
| 263 | 264 |
| 264 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 265 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 265 }; | 266 }; |
| 266 | 267 |
| 267 } // namespace cc | 268 } // namespace cc |
| 268 | 269 |
| 269 #endif // CC_TREES_THREAD_PROXY_H_ | 270 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |