Searched defs:DrawMesh (Results 1 – 1 of 1) sorted by relevance
573 struct DrawMesh final : Op { struct574 static const auto kType = Type::DrawMesh;575 DrawMesh(const Mesh& mesh, sk_sp<SkBlender> blender, const SkPaint& paint) in DrawMesh() argument578 Mesh::Snapshot mesh;579 sk_sp<SkBlender> blender;580 SkPaint paint;582 void draw(SkCanvas* c, const SkMatrix&) const { c->drawMesh(mesh.getSkMesh(), blender, paint); } in draw()