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/time/time.h" | 10 #include "base/time/time.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual void Stop() OVERRIDE; | 49 virtual void Stop() OVERRIDE; |
50 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; | 50 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; |
51 virtual void AcquireLayerTextures() OVERRIDE {} | 51 virtual void AcquireLayerTextures() OVERRIDE {} |
52 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; | 52 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; |
53 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; | 53 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; |
54 virtual bool CommitPendingForTesting() OVERRIDE; | 54 virtual bool CommitPendingForTesting() OVERRIDE; |
55 | 55 |
56 // LayerTreeHostImplClient implementation | 56 // LayerTreeHostImplClient implementation |
57 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; | 57 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; |
58 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; | 58 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; |
| 59 virtual void CommitVSyncParameters(base::TimeTicks timebase, |
| 60 base::TimeDelta interval) OVERRIDE {} |
| 61 virtual void SetEstimatedParentDrawTime(base::TimeDelta draw_time) OVERRIDE {} |
59 virtual void SetMaxSwapsPending(int max) OVERRIDE {} | 62 virtual void SetMaxSwapsPending(int max) OVERRIDE {} |
60 virtual void DidSwapBuffersOnImplThread() OVERRIDE; | 63 virtual void DidSwapBuffersOnImplThread() OVERRIDE; |
61 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; | 64 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; |
62 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE {} | 65 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE {} |
63 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; | 66 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; |
64 virtual void NotifyReadyToActivate() OVERRIDE; | 67 virtual void NotifyReadyToActivate() OVERRIDE; |
65 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; | 68 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; |
66 virtual void SetNeedsRedrawRectOnImplThread( | 69 virtual void SetNeedsRedrawRectOnImplThread( |
67 const gfx::Rect& dirty_rect) OVERRIDE; | 70 const gfx::Rect& dirty_rect) OVERRIDE; |
68 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; | 71 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 private: | 182 private: |
180 DebugScopedSetImplThread impl_thread_; | 183 DebugScopedSetImplThread impl_thread_; |
181 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 184 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
182 | 185 |
183 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 186 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
184 }; | 187 }; |
185 | 188 |
186 } // namespace cc | 189 } // namespace cc |
187 | 190 |
188 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 191 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |