| 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_SINGLE_THREAD_PROXY_H_ | 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_ |
| 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ | 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ |
| 7 | 7 |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // SchedulerClient implementation | 65 // SchedulerClient implementation |
| 66 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 66 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
| 67 void ScheduledActionSendBeginMainFrame() override; | 67 void ScheduledActionSendBeginMainFrame() override; |
| 68 DrawResult ScheduledActionDrawAndSwapIfPossible() override; | 68 DrawResult ScheduledActionDrawAndSwapIfPossible() override; |
| 69 DrawResult ScheduledActionDrawAndSwapForced() override; | 69 DrawResult ScheduledActionDrawAndSwapForced() override; |
| 70 void ScheduledActionCommit() override; | 70 void ScheduledActionCommit() override; |
| 71 void ScheduledActionAnimate() override; | 71 void ScheduledActionAnimate() override; |
| 72 void ScheduledActionActivateSyncTree() override; | 72 void ScheduledActionActivateSyncTree() override; |
| 73 void ScheduledActionBeginOutputSurfaceCreation() override; | 73 void ScheduledActionBeginOutputSurfaceCreation() override; |
| 74 void ScheduledActionPrepareTiles() override; | 74 void ScheduledActionPrepareTiles() override; |
| 75 void ScheduledActionInvalidateOutputSurface() override; |
| 75 void DidAnticipatedDrawTimeChange(base::TimeTicks time) override; | 76 void DidAnticipatedDrawTimeChange(base::TimeTicks time) override; |
| 76 base::TimeDelta DrawDurationEstimate() override; | 77 base::TimeDelta DrawDurationEstimate() override; |
| 77 base::TimeDelta BeginMainFrameToCommitDurationEstimate() override; | 78 base::TimeDelta BeginMainFrameToCommitDurationEstimate() override; |
| 78 base::TimeDelta CommitToActivateDurationEstimate() override; | 79 base::TimeDelta CommitToActivateDurationEstimate() override; |
| 79 void DidBeginImplFrameDeadline() override; | 80 void DidBeginImplFrameDeadline() override; |
| 80 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; | 81 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; |
| 81 | 82 |
| 82 // LayerTreeHostImplClient implementation | 83 // LayerTreeHostImplClient implementation |
| 83 void UpdateRendererCapabilitiesOnImplThread() override; | 84 void UpdateRendererCapabilitiesOnImplThread() override; |
| 84 void DidLoseOutputSurfaceOnImplThread() override; | 85 void DidLoseOutputSurfaceOnImplThread() override; |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 private: | 230 private: |
| 230 DebugScopedSetImplThread impl_thread_; | 231 DebugScopedSetImplThread impl_thread_; |
| 231 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 232 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 232 | 233 |
| 233 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 234 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 234 }; | 235 }; |
| 235 | 236 |
| 236 } // namespace cc | 237 } // namespace cc |
| 237 | 238 |
| 238 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 239 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |