Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkCanvasStateUtils.cpp57 struct SkCanvasLayerState { struct
130 SkCanvasLayerState* layers;
222 SkSWriter32<3*sizeof(SkCanvasLayerState)> layerWriter; in CaptureCanvasState()
232 SkCanvasLayerState* layerState = in CaptureCanvasState()
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()
294 static SkCanvas* create_canvas_from_canvas_layer(const SkCanvasLayerState& layerState) { in create_canvas_from_canvas_layer()