Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkCanvasStateUtils.cpp222 SkSWriter32<3*sizeof(SkCanvasLayerState)> layerWriter; in CaptureCanvasState() local
233 (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()