| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible); | 161 void SetVisibleOnImplThread(CompletionEvent* completion, bool visible); |
| 162 void HasInitializedOutputSurfaceOnImplThread( | 162 void HasInitializedOutputSurfaceOnImplThread( |
| 163 CompletionEvent* completion, | 163 CompletionEvent* completion, |
| 164 bool* has_initialized_output_surface); | 164 bool* has_initialized_output_surface); |
| 165 void InitializeOutputSurfaceOnImplThread( | 165 void InitializeOutputSurfaceOnImplThread( |
| 166 CompletionEvent* completion, | 166 CompletionEvent* completion, |
| 167 scoped_ptr<OutputSurface> output_surface, | 167 scoped_ptr<OutputSurface> output_surface, |
| 168 scoped_refptr<ContextProvider> offscreen_context_provider, | 168 scoped_refptr<ContextProvider> offscreen_context_provider, |
| 169 bool* success, | 169 bool* success, |
| 170 RendererCapabilities* capabilities); | 170 RendererCapabilities* capabilities); |
| 171 void FinishGLOnImplThread(CompletionEvent* completion); |
| 171 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); | 172 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); |
| 172 void ManageTilesOnImplThread(); | 173 void ManageTilesOnImplThread(); |
| 173 void AcquireLayerTexturesForMainThreadOnImplThread( | 174 void AcquireLayerTexturesForMainThreadOnImplThread( |
| 174 CompletionEvent* completion); | 175 CompletionEvent* completion); |
| 175 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal( | 176 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal( |
| 176 bool forced_draw); | 177 bool forced_draw); |
| 177 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); | 178 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); |
| 178 void SetNeedsForcedCommitOnImplThread(); | 179 void SetNeedsForcedCommitOnImplThread(); |
| 179 void CheckOutputSurfaceStatusOnImplThread(); | 180 void CheckOutputSurfaceStatusOnImplThread(); |
| 180 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); | 181 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 255 |
| 255 base::TimeTicks smoothness_takes_priority_expiration_time_; | 256 base::TimeTicks smoothness_takes_priority_expiration_time_; |
| 256 bool renew_tree_priority_on_impl_thread_pending_; | 257 bool renew_tree_priority_on_impl_thread_pending_; |
| 257 | 258 |
| 258 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 259 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 259 }; | 260 }; |
| 260 | 261 |
| 261 } // namespace cc | 262 } // namespace cc |
| 262 | 263 |
| 263 #endif // CC_TREES_THREAD_PROXY_H_ | 264 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |