Home
last modified time | relevance | path

Searched refs:fNorms (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp138 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 …]
DGrAAConvexPathRenderer.cpp45 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()
400 verts.write(p0 + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices()
422 verts.write(v1Pos + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices()
423 verts.write(v2Pos + segb.fNorms[0], color, SkPoint{0, -SK_Scalar1}, negOneDists); in create_vertices()
452 SkScalar c0 = segb.fNorms[0].dot(qpts[0]); in create_vertices()
[all …]
DGrAAConvexTessellator.h261 SkTDArray<SkVector> fNorms; variable
/third_party/skia/src/gpu/geometry/
DGrAAConvexTessellator.cpp148 fNorms.rewind(); in rewind()
169 fNorms.append(fPts.count()); in computeNormals()
170 fNorms[0] = fPts[1] - fPts[0]; in computeNormals()
171 fNorms.top() = fPts[0] - fPts.top(); in computeNormals()
172 SkScalar cross = SkPoint::CrossProduct(fNorms[0], fNorms.top()); in computeNormals()
174 fNorms[0] = normalToVector(fNorms[0]); in computeNormals()
175 for (int cur = 1; cur < fNorms.count() - 1; ++cur) { in computeNormals()
176 fNorms[cur] = normalToVector(fPts[cur + 1] - fPts[cur]); in computeNormals()
178 fNorms.top() = normalToVector(fNorms.top()); in computeNormals()
182 fBisectors.setCount(fNorms.count()); in computeBisectors()
[all …]
DGrAAConvexTessellator.h261 SkTDArray<SkVector> fNorms; variable
/third_party/skia/src/gpu/ops/
DAAConvexPathRenderer.cpp48 SkVector fNorms[2]; member
63 return fNorms[fType]; in endNorm()
148 segb.fNorms[p] = segb.fPts[p] - *prevPt; in compute_vectors()
149 segb.fNorms[p].normalize(); in compute_vectors()
150 segb.fNorms[p] = SkPointPriv::MakeOrthog(segb.fNorms[p], normSide); in compute_vectors()
168 segb.fMid = segb.fNorms[0] + sega.endNorm(); in compute_vectors()
406 verts << (p0 + segb.fNorms[0]) << color << SkPoint{0, -SK_Scalar1} << negOneDists; in create_vertices()
428 verts << (v1Pos + segb.fNorms[0]) << color << SkPoint{0, -SK_Scalar1} << negOneDists; in create_vertices()
429 verts << (v2Pos + segb.fNorms[0]) << color << SkPoint{0, -SK_Scalar1} << negOneDists; in create_vertices()
456 SkScalar c0 = segb.fNorms[0].dot(qpts[0]); in create_vertices()
[all …]