Searched refs:edgeDistances (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/src/gpu/geometry/ |
H A D | GrQuadUtils.h | 49 inline void Outset(const skvx::Vec<4, float>& edgeDistances, GrQuad* quad); 61 // have been moved inwards by edgeDistances (which should be positive). Distances are 73 skvx::Vec<4, float> inset(const skvx::Vec<4, float>& edgeDistances, 80 void outset(const skvx::Vec<4, float>& edgeDistances, 153 const skvx::Vec<4, float>& edgeDistances); 204 const OutsetRequest& getOutsetRequest(const skvx::Vec<4, float>& edgeDistances); 220 void GrQuadUtils::Outset(const skvx::Vec<4, float>& edgeDistances, GrQuad* quad) { in Outset() argument 223 outsetter.outset(edgeDistances, quad, nullptr); in Outset()
|
H A D | GrQuadUtils.cpp | 880 const skvx::Vec<4, float>& edgeDistances) { 881 fEdgeDistances = edgeDistances; 891 float widthChange = edgeDistances[0] + edgeDistances[3]; 892 float heightChange = edgeDistances[1] + edgeDistances[2]; 903 // If possible, the corners will move +/-edgeDistances * 1/sin(theta). The entire 917 V4f edgeAdjust = edgeDistances * (halfTanTheta + next_ccw(halfTanTheta)) + 918 next_ccw(edgeDistances) * next_ccw(edgeVectors.fInvSinTheta) + 919 next_cw(edgeDistances) * edgeVector [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | QuadPerEdgeAA.cpp | 416 skvx::Vec<4, float> edgeDistances; in append() local 418 edgeDistances = 0.5f; in append() 420 edgeDistances = { (aaFlags & GrQuadAAFlags::kLeft) ? 0.5f : 0.f, in append() 428 fAAHelper.inset(edgeDistances, deviceQuad, localQuad).store(coverage); in append() 449 edgeDistances *= max(1.f, 2.f - maxWH); in append() 451 fAAHelper.outset(edgeDistances, deviceQuad, localQuad); in append()
|
Completed in 7 milliseconds