Lines Matching defs:drawEvent
23 auto* drawEvent = fDraws.find({frame, nodeId});
24 if (!drawEvent) {
29 const int count = drawEvent->debugCanvas->getSize();
30 drawEvent->command = command < count ? command : count - 1;
91 auto& drawEvent = fDraws[{frameN, nodeId}];
93 if (drawEvent.image) {
94 return drawEvent.image;
99 // The correct layer bounds can be obtained from any drawEvent on this layer.
103 auto surface = SkSurface::MakeRaster(SkImageInfo::Make(drawEvent.layerBounds,
111 drawEvent.image = surface->makeImageSnapshot();
112 return drawEvent.image;