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

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: OSX compile fix. Created 8 years, 1 month 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.h ('k') | cc/layer_tree_host_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 #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 "Region.h" 9 #include "Region.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 return ret; 338 return ret;
339 } 339 }
340 340
341 void LayerTreeHost::finishAllRendering() 341 void LayerTreeHost::finishAllRendering()
342 { 342 {
343 if (!m_rendererInitialized) 343 if (!m_rendererInitialized)
344 return; 344 return;
345 m_proxy->finishAllRendering(); 345 m_proxy->finishAllRendering();
346 } 346 }
347 347
348 void LayerTreeHost::setDeferCommits(bool deferCommits)
349 {
350 m_proxy->setDeferCommits(deferCommits);
351 }
352
353 void LayerTreeHost::didDeferCommit()
354 {
355 }
356
348 void LayerTreeHost::renderingStats(RenderingStats* stats) const 357 void LayerTreeHost::renderingStats(RenderingStats* stats) const
349 { 358 {
350 *stats = m_renderingStats; 359 *stats = m_renderingStats;
351 m_proxy->renderingStats(stats); 360 m_proxy->renderingStats(stats);
352 } 361 }
353 362
354 const RendererCapabilities& LayerTreeHost::rendererCapabilities() const 363 const RendererCapabilities& LayerTreeHost::rendererCapabilities() const
355 { 364 {
356 return m_proxy->rendererCapabilities(); 365 return m_proxy->rendererCapabilities();
357 } 366 }
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 else 811 else
803 layer->notifyAnimationFinished(wallClockTime); 812 layer->notifyAnimationFinished(wallClockTime);
804 } 813 }
805 } 814 }
806 815
807 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex) 816 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex)
808 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime); 817 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime);
809 } 818 }
810 819
811 } // namespace cc 820 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698