Searched refs:getLayerSurface (Results 1 – 4 of 4) sorted by relevance
101 if (CC_UNLIKELY(layerNode->getLayerSurface() == nullptr)) { in renderLayersImpl()104 SkASSERT(layerNode->getLayerSurface()); in renderLayersImpl()113 SkCanvas* layerCanvas = layerNode->getLayerSurface()->getCanvas(); in renderLayersImpl()150 GrAsDirectContext(layerNode->getLayerSurface()->getCanvas()->recordingContext()); in renderLayersImpl()172 SkSurface* layer = node->getLayerSurface(); in createOrUpdateLayer()182 if (node->getLayerSurface()) { in createOrUpdateLayer()
234 if (renderNode->getLayerSurface() && mComposeLayer) { in drawContent()250 snapshotImage = renderNode->getLayerSurface()->makeImageSnapshot(); in drawContent()273 SkASSERT(renderNode->getLayerSurface()->width() >= bounds.width()); in drawContent()274 SkASSERT(renderNode->getLayerSurface()->height() >= bounds.height()); in drawContent()
351 SkSurface* getLayerSurface() const { in getLayerSurface() function
336 auto* layerSurface = getLayerSurface(); in updateSnapshotIfRequired()