Searched refs:getLayerSurface (Results 1 – 3 of 3) sorted by relevance
101 if (CC_LIKELY(layerNode->getLayerSurface() != nullptr)) { in renderLayersImpl()102 SkASSERT(layerNode->getLayerSurface()); in renderLayersImpl()111 SkCanvas* layerCanvas = layerNode->getLayerSurface()->getCanvas(); in renderLayersImpl()141 GrContext* currentContext = layerNode->getLayerSurface()->getCanvas()->getGrContext(); in renderLayersImpl()164 SkSurface* layer = node->getLayerSurface(); in createOrUpdateLayer()174 if (node->getLayerSurface()) { in createOrUpdateLayer()
229 if (renderNode->getLayerSurface() && mComposeLayer) { in drawContent()236 SkASSERT(renderNode->getLayerSurface()->width() >= bounds.width()); in drawContent()237 SkASSERT(renderNode->getLayerSurface()->height() >= bounds.height()); in drawContent()238 canvas->drawImageRect(renderNode->getLayerSurface()->makeImageSnapshot().get(), bounds, in drawContent()
330 SkSurface* getLayerSurface() const { in getLayerSurface() function