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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 void MainThreadHasStoppedFlinging() override; | 169 void MainThreadHasStoppedFlinging() override; |
170 void Start() override; | 170 void Start() override; |
171 void Stop() override; | 171 void Stop() override; |
172 size_t MaxPartialTextureUpdates() const override; | 172 size_t MaxPartialTextureUpdates() const override; |
173 void ForceSerializeOnSwapBuffers() override; | 173 void ForceSerializeOnSwapBuffers() override; |
174 bool SupportsImplScrolling() const override; | 174 bool SupportsImplScrolling() const override; |
175 void SetDebugState(const LayerTreeDebugState& debug_state) override; | 175 void SetDebugState(const LayerTreeDebugState& debug_state) override; |
176 void AsValueInto(base::debug::TracedValue* value) const override; | 176 void AsValueInto(base::debug::TracedValue* value) const override; |
177 bool MainFrameWillHappenForTesting() override; | 177 bool MainFrameWillHappenForTesting() override; |
178 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; | 178 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; |
| 179 void SetAuthoritativeVSyncInterval(base::TimeDelta interval) override; |
179 | 180 |
180 // LayerTreeHostImplClient implementation | 181 // LayerTreeHostImplClient implementation |
181 void UpdateRendererCapabilitiesOnImplThread() override; | 182 void UpdateRendererCapabilitiesOnImplThread() override; |
182 void DidLoseOutputSurfaceOnImplThread() override; | 183 void DidLoseOutputSurfaceOnImplThread() override; |
183 void CommitVSyncParameters(base::TimeTicks timebase, | 184 void CommitVSyncParameters(base::TimeTicks timebase, |
184 base::TimeDelta interval) override; | 185 base::TimeDelta interval) override; |
185 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; | 186 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; |
186 void SetMaxSwapsPendingOnImplThread(int max) override; | 187 void SetMaxSwapsPendingOnImplThread(int max) override; |
187 void DidSwapBuffersOnImplThread() override; | 188 void DidSwapBuffersOnImplThread() override; |
188 void DidSwapBuffersCompleteOnImplThread() override; | 189 void DidSwapBuffersCompleteOnImplThread() override; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 297 |
297 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 298 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
298 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 299 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
299 | 300 |
300 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 301 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
301 }; | 302 }; |
302 | 303 |
303 } // namespace cc | 304 } // namespace cc |
304 | 305 |
305 #endif // CC_TREES_THREAD_PROXY_H_ | 306 #endif // CC_TREES_THREAD_PROXY_H_ |
OLD | NEW |