| 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 17 matching lines...) Expand all Loading... |
| 28 bool use_anchor, | 28 bool use_anchor, |
| 29 float scale, | 29 float scale, |
| 30 base::TimeDelta duration) OVERRIDE; | 30 base::TimeDelta duration) OVERRIDE; |
| 31 virtual void FinishAllRendering() OVERRIDE; | 31 virtual void FinishAllRendering() OVERRIDE; |
| 32 virtual bool IsStarted() const OVERRIDE; | 32 virtual bool IsStarted() const OVERRIDE; |
| 33 virtual bool InitializeOutputSurface() OVERRIDE; | 33 virtual bool InitializeOutputSurface() OVERRIDE; |
| 34 virtual void SetSurfaceReady() OVERRIDE; | 34 virtual void SetSurfaceReady() OVERRIDE; |
| 35 virtual void SetVisible(bool visible) OVERRIDE; | 35 virtual void SetVisible(bool visible) OVERRIDE; |
| 36 virtual bool InitializeRenderer() OVERRIDE; | 36 virtual bool InitializeRenderer() OVERRIDE; |
| 37 virtual bool RecreateOutputSurface() OVERRIDE; | 37 virtual bool RecreateOutputSurface() OVERRIDE; |
| 38 virtual void CollectRenderingStats(RenderingStats* stats) OVERRIDE; | |
| 39 virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE; | 38 virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE; |
| 40 virtual void SetNeedsAnimate() OVERRIDE; | 39 virtual void SetNeedsAnimate() OVERRIDE; |
| 41 virtual void SetNeedsCommit() OVERRIDE; | 40 virtual void SetNeedsCommit() OVERRIDE; |
| 42 virtual void SetNeedsRedraw() OVERRIDE; | 41 virtual void SetNeedsRedraw() OVERRIDE; |
| 43 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; | 42 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; |
| 44 virtual bool CommitRequested() const OVERRIDE; | 43 virtual bool CommitRequested() const OVERRIDE; |
| 45 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} | 44 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} |
| 46 virtual void Start() OVERRIDE; | 45 virtual void Start() OVERRIDE; |
| 47 virtual void Stop() OVERRIDE; | 46 virtual void Stop() OVERRIDE; |
| 48 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; | 47 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 private: | 170 private: |
| 172 DebugScopedSetImplThread impl_thread_; | 171 DebugScopedSetImplThread impl_thread_; |
| 173 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 172 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 174 | 173 |
| 175 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 174 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 176 }; | 175 }; |
| 177 | 176 |
| 178 } // namespace cc | 177 } // namespace cc |
| 179 | 178 |
| 180 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 179 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |