| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 void FinishAllRenderingOnImplThread(CompletionEvent* completion); | 155 void FinishAllRenderingOnImplThread(CompletionEvent* completion); |
| 156 void InitializeImplOnImplThread(CompletionEvent* completion, | 156 void InitializeImplOnImplThread(CompletionEvent* completion, |
| 157 InputHandler* input_handler); | 157 InputHandler* input_handler); |
| 158 void SetSurfaceReadyOnImplThread(); | 158 void SetSurfaceReadyOnImplThread(); |
| 159 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible); | 159 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible); |
| 160 void InitializeOutputSurfaceOnImplThread( | 160 void InitializeOutputSurfaceOnImplThread( |
| 161 scoped_ptr<OutputSurface> output_surface); | 161 scoped_ptr<OutputSurface> output_surface); |
| 162 void InitializeRendererOnImplThread(CompletionEvent* completion, | 162 void InitializeRendererOnImplThread(CompletionEvent* completion, |
| 163 bool* initialize_succeeded, | 163 bool* initialize_succeeded, |
| 164 RendererCapabilities* capabilities); | 164 RendererCapabilities* capabilities); |
| 165 void FinishGLOnImplThread(CompletionEvent* completion); |
| 165 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); | 166 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); |
| 166 void ManageTilesOnImplThread(); | 167 void ManageTilesOnImplThread(); |
| 167 void AcquireLayerTexturesForMainThreadOnImplThread( | 168 void AcquireLayerTexturesForMainThreadOnImplThread( |
| 168 CompletionEvent* completion); | 169 CompletionEvent* completion); |
| 169 void RecreateOutputSurfaceOnImplThread( | 170 void RecreateOutputSurfaceOnImplThread( |
| 170 CompletionEvent* completion, | 171 CompletionEvent* completion, |
| 171 scoped_ptr<OutputSurface> output_surface, | 172 scoped_ptr<OutputSurface> output_surface, |
| 172 scoped_refptr<cc::ContextProvider> offscreen_context_provider, | 173 scoped_refptr<cc::ContextProvider> offscreen_context_provider, |
| 173 bool* recreate_succeeded, | 174 bool* recreate_succeeded, |
| 174 RendererCapabilities* capabilities); | 175 RendererCapabilities* capabilities); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 | 259 |
| 259 base::TimeTicks smoothness_takes_priority_expiration_time_; | 260 base::TimeTicks smoothness_takes_priority_expiration_time_; |
| 260 bool renew_tree_priority_on_impl_thread_pending_; | 261 bool renew_tree_priority_on_impl_thread_pending_; |
| 261 | 262 |
| 262 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 263 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 263 }; | 264 }; |
| 264 | 265 |
| 265 } // namespace cc | 266 } // namespace cc |
| 266 | 267 |
| 267 #endif // CC_TREES_THREAD_PROXY_H_ | 268 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |