Home
last modified time | relevance | path

Searched refs:layerWriter (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/utils/
DSkCanvasStateUtils.cpp184 SkSWriter32<sizeof(SkCanvasLayerState)> layerWriter; in CaptureCanvasState() local
198 (SkCanvasLayerState*) layerWriter.reserve(sizeof(SkCanvasLayerState)); in CaptureCanvasState()
221 SkASSERT(layerWriter.bytesWritten() == sizeof(SkCanvasLayerState)); in CaptureCanvasState()
223 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()
224 layerWriter.flatten(canvasState->layers); in CaptureCanvasState()