| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_PROXY_IMPL_H_ | 5 #ifndef CC_TREES_PROXY_IMPL_H_ |
| 6 #define CC_TREES_PROXY_IMPL_H_ | 6 #define CC_TREES_PROXY_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 116 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
| 117 void DidFinishImplFrame() override; | 117 void DidFinishImplFrame() override; |
| 118 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 118 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
| 119 DrawResult ScheduledActionDrawAndSwapIfPossible() override; | 119 DrawResult ScheduledActionDrawAndSwapIfPossible() override; |
| 120 DrawResult ScheduledActionDrawAndSwapForced() override; | 120 DrawResult ScheduledActionDrawAndSwapForced() override; |
| 121 void ScheduledActionCommit() override; | 121 void ScheduledActionCommit() override; |
| 122 void ScheduledActionActivateSyncTree() override; | 122 void ScheduledActionActivateSyncTree() override; |
| 123 void ScheduledActionBeginOutputSurfaceCreation() override; | 123 void ScheduledActionBeginOutputSurfaceCreation() override; |
| 124 void ScheduledActionPrepareTiles() override; | 124 void ScheduledActionPrepareTiles() override; |
| 125 void ScheduledActionInvalidateOutputSurface() override; | 125 void ScheduledActionInvalidateOutputSurface() override; |
| 126 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; | |
| 127 void SendBeginMainFrameNotExpectedSoon() override; | 126 void SendBeginMainFrameNotExpectedSoon() override; |
| 128 | 127 |
| 129 DrawResult DrawAndSwapInternal(bool forced_draw); | 128 DrawResult DrawAndSwapInternal(bool forced_draw); |
| 130 | 129 |
| 131 bool IsImplThread() const; | 130 bool IsImplThread() const; |
| 132 bool IsMainThreadBlocked() const; | 131 bool IsMainThreadBlocked() const; |
| 133 | 132 |
| 134 const int layer_tree_host_id_; | 133 const int layer_tree_host_id_; |
| 135 | 134 |
| 136 std::unique_ptr<Scheduler> scheduler_; | 135 std::unique_ptr<Scheduler> scheduler_; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // Use accessors instead of this variable directly. | 169 // Use accessors instead of this variable directly. |
| 171 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; | 170 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; |
| 172 BlockedMainCommitOnly& blocked_main_commit(); | 171 BlockedMainCommitOnly& blocked_main_commit(); |
| 173 | 172 |
| 174 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); | 173 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); |
| 175 }; | 174 }; |
| 176 | 175 |
| 177 } // namespace cc | 176 } // namespace cc |
| 178 | 177 |
| 179 #endif // CC_TREES_PROXY_IMPL_H_ | 178 #endif // CC_TREES_PROXY_IMPL_H_ |
| OLD | NEW |