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_SINGLE_THREAD_PROXY_H_ | 5 #ifndef CC_SINGLE_THREAD_PROXY_H_ |
6 #define CC_SINGLE_THREAD_PROXY_H_ | 6 #define CC_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 15 matching lines...) Expand all Loading... |
26 virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnc
hor, float scale, base::TimeDelta duration) OVERRIDE; | 26 virtual void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnc
hor, float scale, base::TimeDelta duration) OVERRIDE; |
27 virtual void finishAllRendering() OVERRIDE; | 27 virtual void finishAllRendering() OVERRIDE; |
28 virtual bool isStarted() const OVERRIDE; | 28 virtual bool isStarted() const OVERRIDE; |
29 virtual bool initializeOutputSurface() OVERRIDE; | 29 virtual bool initializeOutputSurface() OVERRIDE; |
30 virtual void setSurfaceReady() OVERRIDE; | 30 virtual void setSurfaceReady() OVERRIDE; |
31 virtual void setVisible(bool) OVERRIDE; | 31 virtual void setVisible(bool) OVERRIDE; |
32 virtual bool initializeRenderer() OVERRIDE; | 32 virtual bool initializeRenderer() OVERRIDE; |
33 virtual bool recreateOutputSurface() OVERRIDE; | 33 virtual bool recreateOutputSurface() OVERRIDE; |
34 virtual void renderingStats(RenderingStats*) OVERRIDE; | 34 virtual void renderingStats(RenderingStats*) OVERRIDE; |
35 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; | 35 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; |
36 virtual void loseOutputSurface() OVERRIDE; | |
37 virtual void setNeedsAnimate() OVERRIDE; | 36 virtual void setNeedsAnimate() OVERRIDE; |
38 virtual void setNeedsCommit() OVERRIDE; | 37 virtual void setNeedsCommit() OVERRIDE; |
39 virtual void setNeedsRedraw() OVERRIDE; | 38 virtual void setNeedsRedraw() OVERRIDE; |
40 virtual void setDeferCommits(bool) OVERRIDE; | 39 virtual void setDeferCommits(bool) OVERRIDE; |
41 virtual bool commitRequested() const OVERRIDE; | 40 virtual bool commitRequested() const OVERRIDE; |
42 virtual void mainThreadHasStoppedFlinging() OVERRIDE { } | 41 virtual void mainThreadHasStoppedFlinging() OVERRIDE { } |
43 virtual void start() OVERRIDE; | 42 virtual void start() OVERRIDE; |
44 virtual void stop() OVERRIDE; | 43 virtual void stop() OVERRIDE; |
45 virtual size_t maxPartialTextureUpdates() const OVERRIDE; | 44 virtual size_t maxPartialTextureUpdates() const OVERRIDE; |
46 virtual void acquireLayerTextures() OVERRIDE { } | 45 virtual void acquireLayerTextures() OVERRIDE { } |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 { | 146 { |
148 } | 147 } |
149 private: | 148 private: |
150 DebugScopedSetImplThread m_implThread; | 149 DebugScopedSetImplThread m_implThread; |
151 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; | 150 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; |
152 }; | 151 }; |
153 | 152 |
154 } // namespace cc | 153 } // namespace cc |
155 | 154 |
156 #endif // CC_SINGLE_THREAD_PROXY_H_ | 155 #endif // CC_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |