Searched refs:fNorms (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 138 fNorms.rewind(); in rewind() 159 fNorms.append(fPts.count()); in computeNormals() 160 fNorms[0] = fPts[1] - fPts[0]; in computeNormals() 161 fNorms.top() = fPts[0] - fPts.top(); in computeNormals() 162 SkScalar cross = SkPoint::CrossProduct(fNorms[0], fNorms.top()); in computeNormals() 164 fNorms[0] = normalToVector(fNorms[0]); in computeNormals() 165 for (int cur = 1; cur < fNorms.count() - 1; ++cur) { in computeNormals() 166 fNorms[cur] = normalToVector(fPts[cur + 1] - fPts[cur]); in computeNormals() 168 fNorms.top() = normalToVector(fNorms.top()); in computeNormals() 172 fBisectors.setCount(fNorms.count()); in computeBisectors() [all …]
|
D | GrAAConvexPathRenderer.cpp | 44 SkVector fNorms[2]; member 59 return fNorms[fType]; in endNorm() 144 segb.fNorms[p] = segb.fPts[p] - *prevPt; in compute_vectors() 145 segb.fNorms[p].normalize(); in compute_vectors() 146 segb.fNorms[p] = SkPointPriv::MakeOrthog(segb.fNorms[p], normSide); in compute_vectors() 164 segb.fMid = segb.fNorms[0] + sega.endNorm(); in compute_vectors() 392 verts.write(p0 + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices() 414 verts.write(v1Pos + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices() 415 verts.write(v2Pos + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices() 444 SkScalar c0 = segb.fNorms[0].dot(qpts[0]); in create_vertices() [all …]
|
D | GrAAConvexTessellator.h | 261 SkTDArray<SkVector> fNorms; variable
|
/external/skqp/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 138 fNorms.rewind(); in rewind() 159 fNorms.append(fPts.count()); in computeNormals() 160 fNorms[0] = fPts[1] - fPts[0]; in computeNormals() 161 fNorms.top() = fPts[0] - fPts.top(); in computeNormals() 162 SkScalar cross = SkPoint::CrossProduct(fNorms[0], fNorms.top()); in computeNormals() 164 fNorms[0] = normalToVector(fNorms[0]); in computeNormals() 165 for (int cur = 1; cur < fNorms.count() - 1; ++cur) { in computeNormals() 166 fNorms[cur] = normalToVector(fPts[cur + 1] - fPts[cur]); in computeNormals() 168 fNorms.top() = normalToVector(fNorms.top()); in computeNormals() 172 fBisectors.setCount(fNorms.count()); in computeBisectors() [all …]
|
D | GrAAConvexPathRenderer.cpp | 45 SkVector fNorms[2]; member 60 return fNorms[fType]; in endNorm() 145 segb.fNorms[p] = segb.fPts[p] - *prevPt; in compute_vectors() 146 segb.fNorms[p].normalize(); in compute_vectors() 147 segb.fNorms[p] = SkPointPriv::MakeOrthog(segb.fNorms[p], normSide); in compute_vectors() 165 segb.fMid = segb.fNorms[0] + sega.endNorm(); in compute_vectors() 393 verts.write(p0 + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices() 415 verts.write(v1Pos + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices() 416 verts.write(v2Pos + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices() 445 SkScalar c0 = segb.fNorms[0].dot(qpts[0]); in create_vertices() [all …]
|
D | GrAAConvexTessellator.h | 261 SkTDArray<SkVector> fNorms; variable
|