Lines Matching refs:SkVertices
18 static bool equal(const SkVertices* vert0, const SkVertices* vert1) { in equal()
61 static void self_test(sk_sp<SkVertices> v0, skiatest::Reporter* reporter) { in self_test()
69 sk_sp<SkVertices> v1 = SkVerticesPriv::Decode(reader); in self_test()
83 const uint32_t texFlags[] = { 0, SkVertices::kHasTexCoords_BuilderFlag }; in DEF_TEST()
84 const uint32_t colFlags[] = { 0, SkVertices::kHasColors_BuilderFlag }; in DEF_TEST()
89 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, vCount, iCount, flags); in DEF_TEST()
111 SkVertices::Builder builder(SkVertices::kTriangleFan_VertexMode, UINT16_MAX + 1, 0, in DEF_TEST()
112 SkVertices::kHasColors_BuilderFlag); in DEF_TEST()
117 SkVertices::Builder builder(SkVertices::kTriangleFan_VertexMode, UINT16_MAX + 2, 0, in DEF_TEST()
118 SkVertices::kHasColors_BuilderFlag); in DEF_TEST()
123 SkVertices::Builder builder(SkVertices::kTriangleFan_VertexMode, 2, 0, in DEF_TEST()
124 SkVertices::kHasColors_BuilderFlag); in DEF_TEST()
129 SkVertices::Builder builder(SkVertices::kTriangleFan_VertexMode, 10, 3, in DEF_TEST()
130 SkVertices::kHasColors_BuilderFlag); in DEF_TEST()
135 SkVertices::Builder builder(SkVertices::kTriangleFan_VertexMode, 10, 2, in DEF_TEST()
136 SkVertices::kHasColors_BuilderFlag); in DEF_TEST()
143 auto verts = SkVertices::MakeCopy(SkVertices::kTriangles_VertexMode, 3, pts, nullptr, colors); in fill_triangle()