HomeSort by relevance Sort by last modified time
    Searched refs:klm (Results 1 - 6 of 6) sorted by null

  /external/skia/bench/
CubicKLMBench.cpp 48 SkMatrix klm; variable
51 GrPathUtils::chopCubicAtLoopIntersection(fPoints, dst, &klm, &loopIdx);
  /external/skia/src/gpu/
GrPathUtils.cpp 320 SkMatrix& klm = *out; local
322 klm[0] = p[2].fY - p[0].fY;
323 klm[1] = p[0].fX - p[2].fX;
324 klm[2] = p[2].fX * p[0].fY - p[0].fX * p[2].fY;
326 klm[3] = w2 * (p[1].fY - p[0].fY);
327 klm[4] = w2 * (p[0].fX - p[1].fX);
328 klm[5] = w2 * (p[1].fX * p[0].fY - p[0].fX * p[1].fY);
330 klm[6] = w2 * (p[2].fY - p[1].fY);
331 klm[7] = w2 * (p[1].fX - p[2].fX);
332 klm[8] = w2 * (p[2].fX * p[1].fY - p[1].fX * p[2].fY)
    [all...]
GrPathUtils.h 100 // Output: klm holds the linear functionals K,L,M as row vectors:
106 void getConicKLM(const SkPoint p[3], const SkScalar weight, SkMatrix* klm);
127 // Computes the KLM linear functionals for the cubic implicit form. The "right" side of the
135 // klm: Holds the linear functionals K,L,M as row vectors:
141 // NOTE: the KLM lines are calculated in the same space as the input control points. If you
149 SkCubicType getCubicKLM(const SkPoint src[4], SkMatrix* klm, double t[2], double s[2]);
164 // klm: Holds the linear functionals K,L,M as row vectors. (See getCubicKLM().)
171 // KLM.postScale(-1, -1)
172 int chopCubicAtLoopIntersection(const SkPoint src[4], SkPoint dst[10], SkMatrix* klm,
  /external/skia/gm/
beziereffects.cpp 167 SkMatrix klm; variable
171 &klm,
208 sk_sp<GrGeometryProcessor> gp = GrCubicEffect::Make(color, SkMatrix::I(), klm,
241 GrColor color, const SkMatrix& klm) {
243 new BezierConicTestOp(std::move(gp), rect, color, klm));
248 const SkMatrix& klm)
249 : INHERITED(std::move(gp), rect, color, ClassID()), fKLM(klm) {}
356 SkMatrix klm; variable
358 GrPathUtils::getConicKLM(controlPts, weight, &klm);
392 std::unique_ptr<GrDrawOp> op = BezierConicTestOp::Make(gp, bounds, color, klm);
    [all...]
  /external/skia/src/gpu/effects/
GrBezierEffect.h 228 const SkMatrix& klm,
232 // Map KLM to something that operates in device space.
237 devKLM.postConcat(klm);
  /external/skia/src/gpu/ops/
GrAAHairLinePathRenderer.cpp 595 SkMatrix klm; local
597 GrPathUtils::getConicKLM(p, weight, &klm);
601 klm.mapHomogeneousPoints(verts[i].fConic.fKLM, pt3, 1);
    [all...]

Completed in 169 milliseconds