Searched refs:drawEvent (Results 1 – 1 of 1) sorted by relevance
23 auto* drawEvent = fDraws.find({frame, nodeId}); in setCommand() local24 if (!drawEvent) { in setCommand()29 const int count = drawEvent->debugCanvas->getSize(); in setCommand()30 drawEvent->command = command < count ? command : count - 1; in setCommand()91 auto& drawEvent = fDraws[{frameN, nodeId}]; in getLayerAsImage() local93 if (drawEvent.image) { in getLayerAsImage()94 return drawEvent.image; in getLayerAsImage()103 auto surface = SkSurface::MakeRaster(SkImageInfo::Make(drawEvent.layerBounds, in getLayerAsImage()111 drawEvent.image = surface->makeImageSnapshot(); in getLayerAsImage()112 return drawEvent.image; in getLayerAsImage()