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_THREAD_PROXY_H_ | 5 #ifndef CC_THREAD_PROXY_H_ |
6 #define CC_THREAD_PROXY_H_ | 6 #define CC_THREAD_PROXY_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "cc/animation_events.h" | 10 #include "cc/animation_events.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual bool recreateOutputSurface() OVERRIDE; | 41 virtual bool recreateOutputSurface() OVERRIDE; |
42 virtual void renderingStats(RenderingStats*) OVERRIDE; | 42 virtual void renderingStats(RenderingStats*) OVERRIDE; |
43 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; | 43 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; |
44 virtual void loseOutputSurface() OVERRIDE; | 44 virtual void loseOutputSurface() OVERRIDE; |
45 virtual void setNeedsAnimate() OVERRIDE; | 45 virtual void setNeedsAnimate() OVERRIDE; |
46 virtual void setNeedsCommit() OVERRIDE; | 46 virtual void setNeedsCommit() OVERRIDE; |
47 virtual void setNeedsRedraw() OVERRIDE; | 47 virtual void setNeedsRedraw() OVERRIDE; |
48 virtual void setDeferCommits(bool) OVERRIDE; | 48 virtual void setDeferCommits(bool) OVERRIDE; |
49 virtual bool commitRequested() const OVERRIDE; | 49 virtual bool commitRequested() const OVERRIDE; |
50 virtual void didAddAnimation() OVERRIDE { } | 50 virtual void didAddAnimation() OVERRIDE { } |
| 51 virtual void mainThreadHasStoppedFlinging() OVERRIDE; |
51 virtual void start() OVERRIDE; | 52 virtual void start() OVERRIDE; |
52 virtual void stop() OVERRIDE; | 53 virtual void stop() OVERRIDE; |
53 virtual size_t maxPartialTextureUpdates() const OVERRIDE; | 54 virtual size_t maxPartialTextureUpdates() const OVERRIDE; |
54 virtual void acquireLayerTextures() OVERRIDE; | 55 virtual void acquireLayerTextures() OVERRIDE; |
55 virtual void forceSerializeOnSwapBuffers() OVERRIDE; | 56 virtual void forceSerializeOnSwapBuffers() OVERRIDE; |
56 | 57 |
57 // LayerTreeHostImplClient implementation | 58 // LayerTreeHostImplClient implementation |
58 virtual void didLoseOutputSurfaceOnImplThread() OVERRIDE; | 59 virtual void didLoseOutputSurfaceOnImplThread() OVERRIDE; |
59 virtual void onSwapBuffersCompleteOnImplThread() OVERRIDE; | 60 virtual void onSwapBuffersCompleteOnImplThread() OVERRIDE; |
60 virtual void onVSyncParametersChanged(base::TimeTicks timebase, base::TimeDe
lta interval) OVERRIDE; | 61 virtual void onVSyncParametersChanged(base::TimeTicks timebase, base::TimeDe
lta interval) OVERRIDE; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 base::TimeDelta m_totalCommitTime; | 175 base::TimeDelta m_totalCommitTime; |
175 size_t m_totalCommitCount; | 176 size_t m_totalCommitCount; |
176 | 177 |
177 bool m_deferCommits; | 178 bool m_deferCommits; |
178 scoped_ptr<BeginFrameAndCommitState> m_pendingDeferredCommit; | 179 scoped_ptr<BeginFrameAndCommitState> m_pendingDeferredCommit; |
179 }; | 180 }; |
180 | 181 |
181 } // namespace cc | 182 } // namespace cc |
182 | 183 |
183 #endif // CC_THREAD_PROXY_H_ | 184 #endif // CC_THREAD_PROXY_H_ |
OLD | NEW |