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 "CCThreadProxy.h" | 7 #include "CCThreadProxy.h" |
8 | 8 |
9 #include "CCDelayBasedTimeSource.h" | 9 #include "CCDelayBasedTimeSource.h" |
10 #include "CCDrawQuad.h" | 10 #include "CCDrawQuad.h" |
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 *capabilities = m_layerTreeHostImpl->rendererCapabilities(); | 945 *capabilities = m_layerTreeHostImpl->rendererCapabilities(); |
946 m_schedulerOnImplThread->didRecreateContext(); | 946 m_schedulerOnImplThread->didRecreateContext(); |
947 } | 947 } |
948 completion->signal(); | 948 completion->signal(); |
949 } | 949 } |
950 | 950 |
951 void CCThreadProxy::renderingStatsOnImplThread(CCCompletionEvent* completion, CC
RenderingStats* stats) | 951 void CCThreadProxy::renderingStatsOnImplThread(CCCompletionEvent* completion, CC
RenderingStats* stats) |
952 { | 952 { |
953 ASSERT(isImplThread()); | 953 ASSERT(isImplThread()); |
954 m_layerTreeHostImpl->renderingStats(stats); | 954 m_layerTreeHostImpl->renderingStats(stats); |
| 955 m_schedulerOnImplThread->renderingStats(stats); |
955 completion->signal(); | 956 completion->signal(); |
956 } | 957 } |
957 | 958 |
958 CCThreadProxy::BeginFrameAndCommitState::BeginFrameAndCommitState() | 959 CCThreadProxy::BeginFrameAndCommitState::BeginFrameAndCommitState() |
959 : monotonicFrameBeginTime(0) | 960 : monotonicFrameBeginTime(0) |
960 { | 961 { |
961 } | 962 } |
962 | 963 |
963 CCThreadProxy::BeginFrameAndCommitState::~BeginFrameAndCommitState() | 964 CCThreadProxy::BeginFrameAndCommitState::~BeginFrameAndCommitState() |
964 { | 965 { |
965 } | 966 } |
966 | 967 |
967 } // namespace cc | 968 } // namespace cc |
OLD | NEW |