| OLD | NEW |
| 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 "CCLayerTreeHost.h" | 7 #include "CCLayerTreeHost.h" |
| 8 | 8 |
| 9 #include "CCFontAtlas.h" | 9 #include "CCFontAtlas.h" |
| 10 #include "CCGraphicsContext.h" | 10 #include "CCGraphicsContext.h" |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 void CCLayerTreeHost::finishAllRendering() | 297 void CCLayerTreeHost::finishAllRendering() |
| 298 { | 298 { |
| 299 if (!m_rendererInitialized) | 299 if (!m_rendererInitialized) |
| 300 return; | 300 return; |
| 301 m_proxy->finishAllRendering(); | 301 m_proxy->finishAllRendering(); |
| 302 } | 302 } |
| 303 | 303 |
| 304 void CCLayerTreeHost::renderingStats(CCRenderingStats& stats) const | 304 void CCLayerTreeHost::renderingStats(CCRenderingStats& stats) const |
| 305 { | 305 { |
| 306 stats = m_renderingStats; | 306 stats = m_renderingStats; |
| 307 m_proxy->implSideRenderingStats(stats); | 307 m_proxy->renderingStats(stats); |
| 308 } | 308 } |
| 309 | 309 |
| 310 const RendererCapabilities& CCLayerTreeHost::rendererCapabilities() const | 310 const RendererCapabilities& CCLayerTreeHost::rendererCapabilities() const |
| 311 { | 311 { |
| 312 return m_proxy->rendererCapabilities(); | 312 return m_proxy->rendererCapabilities(); |
| 313 } | 313 } |
| 314 | 314 |
| 315 void CCLayerTreeHost::setNeedsAnimate() | 315 void CCLayerTreeHost::setNeedsAnimate() |
| 316 { | 316 { |
| 317 ASSERT(CCProxy::hasImplThread()); | 317 ASSERT(CCProxy::hasImplThread()); |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 else | 779 else |
| 780 layer->notifyAnimationFinished(wallClockTime); | 780 layer->notifyAnimationFinished(wallClockTime); |
| 781 } | 781 } |
| 782 } | 782 } |
| 783 | 783 |
| 784 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn
dex) | 784 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn
dex) |
| 785 setAnimationEventsRecursive(events, layer->children()[childIndex].get(),
wallClockTime); | 785 setAnimationEventsRecursive(events, layer->children()[childIndex].get(),
wallClockTime); |
| 786 } | 786 } |
| 787 | 787 |
| 788 } // namespace WebCore | 788 } // namespace WebCore |
| OLD | NEW |