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/time.h" | 10 #include "base/time/time.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE; | 33 virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE; |
34 virtual void SetNeedsAnimate() OVERRIDE; | 34 virtual void SetNeedsAnimate() OVERRIDE; |
35 virtual void SetNeedsUpdateLayers() OVERRIDE; | 35 virtual void SetNeedsUpdateLayers() OVERRIDE; |
36 virtual void SetNeedsCommit() OVERRIDE; | 36 virtual void SetNeedsCommit() OVERRIDE; |
37 virtual void SetNeedsRedraw(gfx::Rect damage_rect) OVERRIDE; | 37 virtual void SetNeedsRedraw(gfx::Rect damage_rect) OVERRIDE; |
38 virtual void SetNextCommitWaitsForActivation() OVERRIDE; | 38 virtual void SetNextCommitWaitsForActivation() OVERRIDE; |
39 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {} | 39 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {} |
40 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; | 40 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; |
41 virtual bool CommitRequested() const OVERRIDE; | 41 virtual bool CommitRequested() const OVERRIDE; |
42 virtual bool BeginMainFrameRequested() const OVERRIDE; | 42 virtual bool BeginMainFrameRequested() const OVERRIDE; |
43 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} | |
44 virtual void Start(scoped_ptr<OutputSurface> first_output_surface) OVERRIDE; | 43 virtual void Start(scoped_ptr<OutputSurface> first_output_surface) OVERRIDE; |
45 virtual void Stop() OVERRIDE; | 44 virtual void Stop() OVERRIDE; |
46 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; | 45 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; |
47 virtual void AcquireLayerTextures() OVERRIDE {} | 46 virtual void AcquireLayerTextures() OVERRIDE {} |
48 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; | 47 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; |
49 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; | 48 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; |
50 virtual bool CommitPendingForTesting() OVERRIDE; | 49 virtual bool CommitPendingForTesting() OVERRIDE; |
51 | 50 |
52 // LayerTreeHostImplClient implementation | 51 // LayerTreeHostImplClient implementation |
53 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; | 52 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 private: | 173 private: |
175 DebugScopedSetImplThread impl_thread_; | 174 DebugScopedSetImplThread impl_thread_; |
176 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 175 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
177 | 176 |
178 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 177 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
179 }; | 178 }; |
180 | 179 |
181 } // namespace cc | 180 } // namespace cc |
182 | 181 |
183 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 182 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |