Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkCanvasStateUtils.cpp327 const SkCanvasState_v1* state_v1 = static_cast<const SkCanvasState_v1*>(state); in CreateFromCanvasState() local
329 if (state_v1->layerCount < 1) { in CreateFromCanvasState()
336 setup_canvas_from_MC_state(state_v1->mcState, canvas); in CreateFromCanvasState()
339 for (int i = state_v1->layerCount - 1; i >= 0; --i) { in CreateFromCanvasState()
340 SkAutoTUnref<SkCanvas> canvasLayer(create_canvas_from_canvas_layer(state_v1->layers[i])); in CreateFromCanvasState()
344 canvas->pushCanvas(canvasLayer.get(), SkIPoint::Make(state_v1->layers[i].x, in CreateFromCanvasState()
345 state_v1->layers[i].y)); in CreateFromCanvasState()