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

Side by Side Diff: cc/layer_tree_host.cc

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With a unittest (and minor compile fixes for other platforms). Created 8 years, 2 months 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
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 "config.h" 5 #include "config.h"
6 6
7 #include "cc/layer_tree_host.h" 7 #include "cc/layer_tree_host.h"
8 8
9 #include "CCFontAtlas.h" 9 #include "CCFontAtlas.h"
10 #include "CCGraphicsContext.h" 10 #include "CCGraphicsContext.h"
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 return ret; 336 return ret;
337 } 337 }
338 338
339 void LayerTreeHost::finishAllRendering() 339 void LayerTreeHost::finishAllRendering()
340 { 340 {
341 if (!m_rendererInitialized) 341 if (!m_rendererInitialized)
342 return; 342 return;
343 m_proxy->finishAllRendering(); 343 m_proxy->finishAllRendering();
344 } 344 }
345 345
346 void LayerTreeHost::setDeferCommits(bool deferCommits)
347 {
348 m_proxy->setDeferCommits(deferCommits);
349 }
350
351 void LayerTreeHost::didDeferCommit()
352 {
353 }
354
346 void LayerTreeHost::renderingStats(RenderingStats* stats) const 355 void LayerTreeHost::renderingStats(RenderingStats* stats) const
347 { 356 {
348 *stats = m_renderingStats; 357 *stats = m_renderingStats;
349 m_proxy->renderingStats(stats); 358 m_proxy->renderingStats(stats);
350 } 359 }
351 360
352 const RendererCapabilities& LayerTreeHost::rendererCapabilities() const 361 const RendererCapabilities& LayerTreeHost::rendererCapabilities() const
353 { 362 {
354 return m_proxy->rendererCapabilities(); 363 return m_proxy->rendererCapabilities();
355 } 364 }
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 else 826 else
818 layer->notifyAnimationFinished(wallClockTime); 827 layer->notifyAnimationFinished(wallClockTime);
819 } 828 }
820 } 829 }
821 830
822 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex) 831 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex)
823 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime); 832 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime);
824 } 833 }
825 834
826 } // namespace cc 835 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/layer_tree_host_unittest.cc » ('j') | cc/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698