• Home
  • Raw
  • Download

Lines Matching refs:verts

21 void check_result(skiatest::Reporter* reporter, sk_sp<SkVertices> verts,  in check_result()  argument
23 if (expectSuccess != SkToBool(verts)) { in check_result()
27 if (SkToBool(verts)) { in check_result()
28 if (kDont_ExpectVerts == expectVerts && verts->vertexCount()) { in check_result()
30 } else if (kDo_ExpectVerts == expectVerts && !verts->vertexCount()) { in check_result()
39 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, true); in tessellate_shadow() local
40 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
42 verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, false); in tessellate_shadow()
43 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
45 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, true); in tessellate_shadow()
46 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
48 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false); in tessellate_shadow()
49 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
130 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true); in check_xformed_bounds() local
131 if (verts) { in check_xformed_bounds()
132 REPORTER_ASSERT(reporter, bounds.contains(verts->bounds())); in check_xformed_bounds()
137 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
139 if (verts) { in check_xformed_bounds()
140 REPORTER_ASSERT(reporter, bounds.contains(verts->bounds())); in check_xformed_bounds()