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

Side by Side Diff: cc/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/layer_tree_host_impl.cc ('k') | cc/single_thread_proxy.h » ('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_PROXY_H_ 5 #ifndef CC_PROXY_H_
6 #define CC_PROXY_H_ 6 #define CC_PROXY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual const RendererCapabilities& rendererCapabilities() const = 0; 73 virtual const RendererCapabilities& rendererCapabilities() const = 0;
74 74
75 virtual void setNeedsAnimate() = 0; 75 virtual void setNeedsAnimate() = 0;
76 virtual void setNeedsCommit() = 0; 76 virtual void setNeedsCommit() = 0;
77 virtual void setNeedsRedraw() = 0; 77 virtual void setNeedsRedraw() = 0;
78 78
79 // Defers commits until it is reset. It is only supported when in threaded m ode. It's an error to make a sync call 79 // Defers commits until it is reset. It is only supported when in threaded m ode. It's an error to make a sync call
80 // like compositeAndReadback while commits are deferred. 80 // like compositeAndReadback while commits are deferred.
81 virtual void setDeferCommits(bool) = 0; 81 virtual void setDeferCommits(bool) = 0;
82 82
83 virtual void didAddAnimation() = 0;
84
83 virtual bool commitRequested() const = 0; 85 virtual bool commitRequested() const = 0;
84 86
85 virtual void start() = 0; // Must be called before using the proxy. 87 virtual void start() = 0; // Must be called before using the proxy.
86 virtual void stop() = 0; // Must be called before deleting the proxy. 88 virtual void stop() = 0; // Must be called before deleting the proxy.
87 89
88 // Forces 3D commands on all contexts to wait for all previous SwapBuffers t o finish before executing in the GPU 90 // Forces 3D commands on all contexts to wait for all previous SwapBuffers t o finish before executing in the GPU
89 // process. 91 // process.
90 virtual void forceSerializeOnSwapBuffers() = 0; 92 virtual void forceSerializeOnSwapBuffers() = 0;
91 93
92 // Maximum number of sub-region texture updates supported for each commit. 94 // Maximum number of sub-region texture updates supported for each commit.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 class DebugScopedSetMainThreadBlocked { 137 class DebugScopedSetMainThreadBlocked {
136 public: 138 public:
137 explicit DebugScopedSetMainThreadBlocked(Proxy*) { } 139 explicit DebugScopedSetMainThreadBlocked(Proxy*) { }
138 ~DebugScopedSetMainThreadBlocked() { } 140 ~DebugScopedSetMainThreadBlocked() { }
139 }; 141 };
140 #endif 142 #endif
141 143
142 } 144 }
143 145
144 #endif // CC_PROXY_H_ 146 #endif // CC_PROXY_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698