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

Side by Side Diff: cc/single_thread_proxy.cc

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/single_thread_proxy.h ('k') | cc/test/animation_test_common.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 #include "cc/single_thread_proxy.h" 5 #include "cc/single_thread_proxy.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "cc/draw_quad.h" 8 #include "cc/draw_quad.h"
9 #include "cc/layer_tree_host.h" 9 #include "cc/layer_tree_host.h"
10 #include "cc/output_surface.h" 10 #include "cc/output_surface.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 { 234 {
235 // Thread-only feature. 235 // Thread-only feature.
236 NOTREACHED(); 236 NOTREACHED();
237 } 237 }
238 238
239 bool SingleThreadProxy::commitRequested() const 239 bool SingleThreadProxy::commitRequested() const
240 { 240 {
241 return false; 241 return false;
242 } 242 }
243 243
244 void SingleThreadProxy::didAddAnimation()
245 {
246 }
247
244 size_t SingleThreadProxy::maxPartialTextureUpdates() const 248 size_t SingleThreadProxy::maxPartialTextureUpdates() const
245 { 249 {
246 return std::numeric_limits<size_t>::max(); 250 return std::numeric_limits<size_t>::max();
247 } 251 }
248 252
249 void SingleThreadProxy::stop() 253 void SingleThreadProxy::stop()
250 { 254 {
251 TRACE_EVENT0("cc", "SingleThreadProxy::stop"); 255 TRACE_EVENT0("cc", "SingleThreadProxy::stop");
252 DCHECK(Proxy::isMainThread()); 256 DCHECK(Proxy::isMainThread());
253 { 257 {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 392
389 void SingleThreadProxy::didSwapFrame() 393 void SingleThreadProxy::didSwapFrame()
390 { 394 {
391 if (m_nextFrameIsNewlyCommittedFrame) { 395 if (m_nextFrameIsNewlyCommittedFrame) {
392 m_nextFrameIsNewlyCommittedFrame = false; 396 m_nextFrameIsNewlyCommittedFrame = false;
393 m_layerTreeHost->didCommitAndDrawFrame(); 397 m_layerTreeHost->didCommitAndDrawFrame();
394 } 398 }
395 } 399 }
396 400
397 } // namespace cc 401 } // namespace cc
OLDNEW
« no previous file with comments | « cc/single_thread_proxy.h ('k') | cc/test/animation_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698