• Home
  • Raw
  • Download

Lines Matching refs:verts

22 void check_result(skiatest::Reporter* reporter, sk_sp<SkVertices> verts,  in check_result()  argument
24 if (expectSuccess != SkToBool(verts)) { in check_result()
28 if (SkToBool(verts)) { in check_result()
29 if (kDont_ExpectVerts == expectVerts && verts->priv().vertexCount()) { in check_result()
31 } else if (kDo_ExpectVerts == expectVerts && !verts->priv().vertexCount()) { in check_result()
40 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, true); in tessellate_shadow() local
41 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
43 verts = SkShadowTessellator::MakeAmbient(path, ctm, heightParams, false); in tessellate_shadow()
44 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
46 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, true, false); in tessellate_shadow()
47 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
49 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false, in tessellate_shadow()
51 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
53 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, true, true); in tessellate_shadow()
54 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
56 verts = SkShadowTessellator::MakeSpot(path, ctm, heightParams, {0, 0, 128}, 128.f, false, true); in tessellate_shadow()
57 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
139 auto verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true); in check_xformed_bounds() local
140 if (verts) { in check_xformed_bounds()
141 REPORTER_ASSERT(reporter, bounds.contains(verts->bounds())); in check_xformed_bounds()
146 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
148 if (verts) { in check_xformed_bounds()
149 REPORTER_ASSERT(reporter, bounds.contains(verts->bounds())); in check_xformed_bounds()
158 verts = SkShadowTessellator::MakeAmbient(path, ctm, rec.fZPlaneParams, true); in check_xformed_bounds()
159 if (verts) { in check_xformed_bounds()
160 REPORTER_ASSERT(reporter, bounds.contains(verts->bounds())); in check_xformed_bounds()
165 verts = SkShadowTessellator::MakeSpot(path, ctm, rec.fZPlaneParams, devLightPos, in check_xformed_bounds()
167 if (verts) { in check_xformed_bounds()
168 REPORTER_ASSERT(reporter, bounds.contains(verts->bounds())); in check_xformed_bounds()