Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1260)

Side by Side Diff: cc/single_thread_proxy.h

Issue 11491003: Revert 171714 - Use an auxiliary list of animation controllers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/proxy.h ('k') | cc/single_thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 21 matching lines...) Expand all
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; 36 virtual void loseOutputSurface() 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 void setDeferCommits(bool) OVERRIDE;
41 virtual bool commitRequested() const OVERRIDE; 41 virtual bool commitRequested() const 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 didLoseOutputSurfaceOnImplThread() OVERRIDE { } 50 virtual void didLoseOutputSurfaceOnImplThread() OVERRIDE { }
50 virtual void onSwapBuffersCompleteOnImplThread() OVERRIDE; 51 virtual void onSwapBuffersCompleteOnImplThread() OVERRIDE;
51 virtual void onVSyncParametersChanged(base::TimeTicks timebase, base::TimeDe lta interval) OVERRIDE { } 52 virtual void onVSyncParametersChanged(base::TimeTicks timebase, base::TimeDe lta interval) OVERRIDE { }
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 { 145 {
145 } 146 }
146 private: 147 private:
147 DebugScopedSetImplThread m_implThread; 148 DebugScopedSetImplThread m_implThread;
148 DebugScopedSetMainThreadBlocked m_mainThreadBlocked; 149 DebugScopedSetMainThreadBlocked m_mainThreadBlocked;
149 }; 150 };
150 151
151 } // namespace cc 152 } // namespace cc
152 153
153 #endif // CC_SINGLE_THREAD_PROXY_H_ 154 #endif // CC_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/proxy.h ('k') | cc/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698