Searched refs:getLayerSurface (Results 1 – 4 of 4) sorted by relevance
112 if (CC_UNLIKELY(layerNode->getLayerSurface() == nullptr)) { in renderLayersImpl()115 SkASSERT(layerNode->getLayerSurface()); in renderLayersImpl()124 SkCanvas* layerCanvas = layerNode->getLayerSurface()->getCanvas(); in renderLayersImpl()161 GrAsDirectContext(layerNode->getLayerSurface()->getCanvas()->recordingContext()); in renderLayersImpl()183 SkSurface* layer = node->getLayerSurface(); in createOrUpdateLayer()193 if (node->getLayerSurface()) { in createOrUpdateLayer()
239 if (renderNode->getLayerSurface() && mComposeLayer) { in drawContent()255 snapshotImage = renderNode->getLayerSurface()->makeImageSnapshot(); in drawContent()278 SkASSERT(renderNode->getLayerSurface()->width() >= bounds.width()); in drawContent()279 SkASSERT(renderNode->getLayerSurface()->height() >= bounds.height()); in drawContent()
354 SkSurface* getLayerSurface() const { in getLayerSurface() function
339 auto* layerSurface = getLayerSurface(); in updateSnapshotIfRequired()