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/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnc
hor, float scale, base::TimeDelta duration) OVERRIDE; | 35 virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnc
hor, float scale, base::TimeDelta duration) OVERRIDE; |
36 virtual void finishAllRendering() OVERRIDE; | 36 virtual void finishAllRendering() OVERRIDE; |
37 virtual bool isStarted() const OVERRIDE; | 37 virtual bool isStarted() const OVERRIDE; |
38 virtual bool initializeOutputSurface() OVERRIDE; | 38 virtual bool initializeOutputSurface() OVERRIDE; |
39 virtual void setSurfaceReady() OVERRIDE; | 39 virtual void setSurfaceReady() OVERRIDE; |
40 virtual void setVisible(bool) OVERRIDE; | 40 virtual void setVisible(bool) OVERRIDE; |
41 virtual bool initializeRenderer() OVERRIDE; | 41 virtual bool initializeRenderer() OVERRIDE; |
42 virtual bool recreateOutputSurface() OVERRIDE; | 42 virtual bool recreateOutputSurface() OVERRIDE; |
43 virtual void renderingStats(RenderingStats*) OVERRIDE; | 43 virtual void renderingStats(RenderingStats*) OVERRIDE; |
44 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; | 44 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; |
45 virtual void loseOutputSurface() OVERRIDE; | |
46 virtual void setNeedsAnimate() OVERRIDE; | 45 virtual void setNeedsAnimate() OVERRIDE; |
47 virtual void setNeedsCommit() OVERRIDE; | 46 virtual void setNeedsCommit() OVERRIDE; |
48 virtual void setNeedsRedraw() OVERRIDE; | 47 virtual void setNeedsRedraw() OVERRIDE; |
49 virtual void setDeferCommits(bool) OVERRIDE; | 48 virtual void setDeferCommits(bool) OVERRIDE; |
50 virtual bool commitRequested() const OVERRIDE; | 49 virtual bool commitRequested() const OVERRIDE; |
51 virtual void mainThreadHasStoppedFlinging() OVERRIDE; | 50 virtual void mainThreadHasStoppedFlinging() OVERRIDE; |
52 virtual void start() OVERRIDE; | 51 virtual void start() OVERRIDE; |
53 virtual void stop() OVERRIDE; | 52 virtual void stop() OVERRIDE; |
54 virtual size_t maxPartialTextureUpdates() const OVERRIDE; | 53 virtual size_t maxPartialTextureUpdates() const OVERRIDE; |
55 virtual void acquireLayerTextures() OVERRIDE; | 54 virtual void acquireLayerTextures() OVERRIDE; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 base::TimeDelta m_totalCommitTime; | 186 base::TimeDelta m_totalCommitTime; |
188 size_t m_totalCommitCount; | 187 size_t m_totalCommitCount; |
189 | 188 |
190 bool m_deferCommits; | 189 bool m_deferCommits; |
191 scoped_ptr<BeginFrameAndCommitState> m_pendingDeferredCommit; | 190 scoped_ptr<BeginFrameAndCommitState> m_pendingDeferredCommit; |
192 }; | 191 }; |
193 | 192 |
194 } // namespace cc | 193 } // namespace cc |
195 | 194 |
196 #endif // CC_THREAD_PROXY_H_ | 195 #endif // CC_THREAD_PROXY_H_ |
OLD | NEW |