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.h" | 10 #include "base/time.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual void Stop() OVERRIDE; | 46 virtual void Stop() OVERRIDE; |
47 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; | 47 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; |
48 virtual void AcquireLayerTextures() OVERRIDE {} | 48 virtual void AcquireLayerTextures() OVERRIDE {} |
49 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; | 49 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; |
50 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; | 50 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; |
51 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; | 51 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; |
52 virtual bool CommitPendingForTesting() OVERRIDE; | 52 virtual bool CommitPendingForTesting() OVERRIDE; |
53 | 53 |
54 // LayerTreeHostImplClient implementation | 54 // LayerTreeHostImplClient implementation |
55 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; | 55 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; |
56 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; | 56 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE {} |
57 virtual void OnVSyncParametersChanged(base::TimeTicks timebase, | 57 virtual void OnVSyncParametersChanged(base::TimeTicks timebase, |
58 base::TimeDelta interval) OVERRIDE {} | 58 base::TimeDelta interval) OVERRIDE {} |
59 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE {} | 59 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE {} |
60 virtual void OnHasPendingTreeStateChanged(bool have_pending_tree) OVERRIDE; | 60 virtual void OnHasPendingTreeStateChanged(bool have_pending_tree) OVERRIDE; |
61 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; | 61 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; |
62 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; | 62 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; |
63 virtual void SetNeedsCommitOnImplThread() OVERRIDE; | 63 virtual void SetNeedsCommitOnImplThread() OVERRIDE; |
64 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; | 64 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; |
65 virtual void PostAnimationEventsToMainThreadOnImplThread( | 65 virtual void PostAnimationEventsToMainThreadOnImplThread( |
66 scoped_ptr<AnimationEventsVector> events, | 66 scoped_ptr<AnimationEventsVector> events, |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 private: | 170 private: |
171 DebugScopedSetImplThread impl_thread_; | 171 DebugScopedSetImplThread impl_thread_; |
172 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 172 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
173 | 173 |
174 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 174 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
175 }; | 175 }; |
176 | 176 |
177 } // namespace cc | 177 } // namespace cc |
178 | 178 |
179 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 179 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |