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

Side by Side Diff: cc/thread_proxy.h

Issue 11598005: Ref count layer animation controllers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/test/layer_tree_test_common.cc ('k') | cc/tree_synchronizer_unittest.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_THREAD_PROXY_H_ 5 #ifndef CC_THREAD_PROXY_H_
6 #define CC_THREAD_PROXY_H_ 6 #define CC_THREAD_PROXY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 30 matching lines...) Expand all
41 virtual bool initializeRenderer() OVERRIDE; 41 virtual bool initializeRenderer() OVERRIDE;
42 virtual bool recreateOutputSurface() OVERRIDE; 42 virtual bool recreateOutputSurface() OVERRIDE;
43 virtual void renderingStats(RenderingStats*) OVERRIDE; 43 virtual void renderingStats(RenderingStats*) OVERRIDE;
44 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; 44 virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE;
45 virtual void loseOutputSurface() OVERRIDE; 45 virtual void loseOutputSurface() OVERRIDE;
46 virtual void setNeedsAnimate() OVERRIDE; 46 virtual void setNeedsAnimate() OVERRIDE;
47 virtual void setNeedsCommit() OVERRIDE; 47 virtual void setNeedsCommit() OVERRIDE;
48 virtual void setNeedsRedraw() OVERRIDE; 48 virtual void setNeedsRedraw() OVERRIDE;
49 virtual void setDeferCommits(bool) OVERRIDE; 49 virtual void setDeferCommits(bool) OVERRIDE;
50 virtual bool commitRequested() const OVERRIDE; 50 virtual bool commitRequested() const OVERRIDE;
51 virtual void didAddAnimation() OVERRIDE { }
52 virtual void mainThreadHasStoppedFlinging() OVERRIDE; 51 virtual void mainThreadHasStoppedFlinging() OVERRIDE;
53 virtual void start() OVERRIDE; 52 virtual void start() OVERRIDE;
54 virtual void stop() OVERRIDE; 53 virtual void stop() OVERRIDE;
55 virtual size_t maxPartialTextureUpdates() const OVERRIDE; 54 virtual size_t maxPartialTextureUpdates() const OVERRIDE;
56 virtual void acquireLayerTextures() OVERRIDE; 55 virtual void acquireLayerTextures() OVERRIDE;
57 virtual void forceSerializeOnSwapBuffers() OVERRIDE; 56 virtual void forceSerializeOnSwapBuffers() OVERRIDE;
58 virtual bool commitPendingForTesting() OVERRIDE; 57 virtual bool commitPendingForTesting() OVERRIDE;
59 58
60 // LayerTreeHostImplClient implementation 59 // LayerTreeHostImplClient implementation
61 virtual void didLoseOutputSurfaceOnImplThread() OVERRIDE; 60 virtual void didLoseOutputSurfaceOnImplThread() OVERRIDE;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 base::TimeDelta m_totalCommitTime; 185 base::TimeDelta m_totalCommitTime;
187 size_t m_totalCommitCount; 186 size_t m_totalCommitCount;
188 187
189 bool m_deferCommits; 188 bool m_deferCommits;
190 scoped_ptr<BeginFrameAndCommitState> m_pendingDeferredCommit; 189 scoped_ptr<BeginFrameAndCommitState> m_pendingDeferredCommit;
191 }; 190 };
192 191
193 } // namespace cc 192 } // namespace cc
194 193
195 #endif // CC_THREAD_PROXY_H_ 194 #endif // CC_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test_common.cc ('k') | cc/tree_synchronizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698