Index: cc/layer_tree_host_impl.cc |
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc |
index e357999dcb264deb268a5c190e8f2662127359c6..716937a7469a973295c1f47010a7ce4e7355e970 100644 |
--- a/cc/layer_tree_host_impl.cc |
+++ b/cc/layer_tree_host_impl.cc |
@@ -720,12 +720,24 @@ void LayerTreeHostImpl::ScheduleManageTiles() |
m_client->setNeedsManageTilesOnImplThread(); |
} |
+void LayerTreeHostImpl::ScheduleCheckForCompletedRasterTasks() |
+{ |
+ if (m_client) |
+ m_client->setNeedsCheckForCompletedRasterTasksOnImplThread(); |
+} |
+ |
void LayerTreeHostImpl::DidUploadVisibleHighResolutionTile() |
{ |
if (m_client) |
m_client->didUploadVisibleHighResolutionTileOnImplThread(); |
} |
+void LayerTreeHostImpl::DidDetectIdleRaster() |
+{ |
+ if (m_client) |
+ m_client->didDetectIdleRasterOnImplThread(); |
+} |
+ |
bool LayerTreeHostImpl::shouldClearRootRenderPass() const |
{ |
return m_settings.shouldClearRootRenderPass; |
@@ -1724,6 +1736,14 @@ scoped_ptr<base::Value> LayerTreeHostImpl::frameStateAsValue() const |
return state.PassAs<base::Value>(); |
} |
+void LayerTreeHostImpl::checkForCompletedRasterTasks() |
+{ |
+ if (!m_tileManager) |
+ return; |
+ |
+ m_tileManager->CheckForCompletedRasterTasks(); |
+} |
+ |
// static |
LayerImpl* LayerTreeHostImpl::getNonCompositedContentLayerRecursive(LayerImpl* layer) |
{ |