Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/utils/
DSkCanvasStateUtils.cpp58 struct SkCanvasLayerState { struct
125 SkCanvasLayerState* layers;
179 SkSWriter32<3*sizeof(SkCanvasLayerState)> layerWriter; in CaptureCanvasState()
189 SkCanvasLayerState* layerState = in CaptureCanvasState()
190 (SkCanvasLayerState*) layerWriter.reserve(sizeof(SkCanvasLayerState)); in CaptureCanvasState()
215 SkASSERT(layerWriter.bytesWritten() == layerCount * sizeof(SkCanvasLayerState)); in CaptureCanvasState()
217 canvasState->layers = (SkCanvasLayerState*) sk_malloc_throw(layerWriter.bytesWritten()); in CaptureCanvasState()
253 make_canvas_from_canvas_layer(const SkCanvasLayerState& layerState) { in make_canvas_from_canvas_layer()
/third_party/skia/src/utils/
DSkCanvasStateUtils.cpp58 struct SkCanvasLayerState { struct
133 SkCanvasLayerState* layers;
184 SkSWriter32<sizeof(SkCanvasLayerState)> layerWriter; in CaptureCanvasState()
197 SkCanvasLayerState* layerState = in CaptureCanvasState()
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()
259 make_canvas_from_canvas_layer(const SkCanvasLayerState& layerState) { in make_canvas_from_canvas_layer()