Searched refs:layerWriter (Results 1 – 1 of 1) sorted by relevance
222 SkSWriter32<3*sizeof(SkCanvasLayerState)> layerWriter; in CaptureCanvasState() local233 (SkCanvasLayerState*) layerWriter.reserve(sizeof(SkCanvasLayerState)); in CaptureCanvasState()258 SkASSERT(layerWriter.bytesWritten() == layerCount * sizeof(SkCanvasLayerState)); in CaptureCanvasState()260 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()261 layerWriter.flatten(canvasState->layers); in CaptureCanvasState()