Searched refs:state_v1 (Results 1 – 1 of 1) sorted by relevance
297 const SkCanvasState_v1* state_v1 = static_cast<const SkCanvasState_v1*>(state); in MakeFromCanvasState() local299 if (state_v1->layerCount < 1) { in MakeFromCanvasState()306 setup_canvas_from_MC_state(state_v1->mcState, canvas.get()); in MakeFromCanvasState()309 for (int i = state_v1->layerCount - 1; i >= 0; --i) { in MakeFromCanvasState()310 std::unique_ptr<SkCanvas> canvasLayer = make_canvas_from_canvas_layer(state_v1->layers[i]); in MakeFromCanvasState()314 canvas->pushCanvas(std::move(canvasLayer), SkIPoint::Make(state_v1->layers[i].x, in MakeFromCanvasState()315 state_v1->layers[i].y)); in MakeFromCanvasState()