Home
last modified time | relevance | path

Searched refs:geomDomain (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp667 const SkRect& geomDomain, const SkRect& texDomain, const Vertices& quad) { in write_quad() argument
692 vb->write(geomDomain); in write_quad()
771 SkRect geomDomain; in Tessellate() local
778 maxCoverage = compute_nested_persp_quad_vertices(aaFlags, &inner, &outer, &geomDomain); in Tessellate()
784 &geomDomain); in Tessellate()
789 geomDomain.fLeft = min(outer.fX); in Tessellate()
790 geomDomain.fRight = max(outer.fX); in Tessellate()
791 geomDomain.fTop = min(outer.fY); in Tessellate()
792 geomDomain.fBottom = max(outer.fY); in Tessellate()
796 write_quad(&vb, spec, mode, maxCoverage, color4f, geomDomain, domain, inner); in Tessellate()
[all …]
/third_party/flutter/skia/samplecode/
DSampleDegenerateQuads.cpp190 const SkRect& geomDomain, const SkPoint& point) { in get_framed_coverage() argument
219 SkScalar l = SkScalarPin(point.fX - geomDomain.fLeft, 0.f, 1.f); in get_framed_coverage()
220 SkScalar t = SkScalarPin(point.fY - geomDomain.fTop, 0.f, 1.f); in get_framed_coverage()
221 SkScalar r = SkScalarPin(geomDomain.fRight - point.fX, 0.f, 1.f); in get_framed_coverage()
222 SkScalar b = SkScalarPin(geomDomain.fBottom - point.fY, 0.f, 1.f); in get_framed_coverage()
/third_party/skia/samplecode/
DSampleDegenerateQuads.cpp196 const SkRect& geomDomain, const SkPoint& point) { in get_framed_coverage() argument
225 SkScalar l = SkTPin(point.fX - geomDomain.fLeft, 0.f, 1.f); in get_framed_coverage()
226 SkScalar t = SkTPin(point.fY - geomDomain.fTop, 0.f, 1.f); in get_framed_coverage()
227 SkScalar r = SkTPin(geomDomain.fRight - point.fX, 0.f, 1.f); in get_framed_coverage()
228 SkScalar b = SkTPin(geomDomain.fBottom - point.fY, 0.f, 1.f); in get_framed_coverage()