| 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 CCSingleThreadProxy_h | 5 #ifndef CCSingleThreadProxy_h |
| 6 #define CCSingleThreadProxy_h | 6 #define CCSingleThreadProxy_h |
| 7 | 7 |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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 recreateContext() OVERRIDE; | 33 virtual bool recreateContext() 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 loseContext() OVERRIDE; | 36 virtual void loseContext() OVERRIDE; |
| 37 virtual void setNeedsAnimate() OVERRIDE; | 37 virtual void setNeedsAnimate() OVERRIDE; |
| 38 virtual void setNeedsCommit() OVERRIDE; | 38 virtual void setNeedsCommit() OVERRIDE; |
| 39 virtual void setNeedsRedraw() OVERRIDE; | 39 virtual void setNeedsRedraw() OVERRIDE; |
| 40 virtual void setDeferCommits(bool) OVERRIDE; |
| 40 virtual bool commitRequested() const OVERRIDE; | 41 virtual bool commitRequested() const OVERRIDE; |
| 41 virtual void didAddAnimation() OVERRIDE; | 42 virtual void didAddAnimation() OVERRIDE; |
| 42 virtual void start() OVERRIDE; | 43 virtual void start() OVERRIDE; |
| 43 virtual void stop() OVERRIDE; | 44 virtual void stop() OVERRIDE; |
| 44 virtual size_t maxPartialTextureUpdates() const OVERRIDE; | 45 virtual size_t maxPartialTextureUpdates() const OVERRIDE; |
| 45 virtual void acquireLayerTextures() OVERRIDE { } | 46 virtual void acquireLayerTextures() OVERRIDE { } |
| 46 virtual void forceSerializeOnSwapBuffers() OVERRIDE; | 47 virtual void forceSerializeOnSwapBuffers() OVERRIDE; |
| 47 | 48 |
| 48 // LayerTreeHostImplClient implementation | 49 // LayerTreeHostImplClient implementation |
| 49 virtual void didLoseContextOnImplThread() OVERRIDE { } | 50 virtual void didLoseContextOnImplThread() OVERRIDE { } |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // satisfy assertion checks | 128 // satisfy assertion checks |
| 128 class DebugScopedSetImplThreadAndMainThreadBlocked { | 129 class DebugScopedSetImplThreadAndMainThreadBlocked { |
| 129 private: | 130 private: |
| 130 DebugScopedSetImplThread m_implThread; | 131 DebugScopedSetImplThread m_implThread; |
| 131 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; | 132 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 } // namespace cc | 135 } // namespace cc |
| 135 | 136 |
| 136 #endif | 137 #endif |
| OLD | NEW |