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

  /external/skia/bench/
CubicKLMBench.cpp 48 SkMatrix klm; variable
51 GrPathUtils::chopCubicAtLoopIntersection(fPoints, dst, &klm, &loopIdx);
  /external/skqp/bench/
CubicKLMBench.cpp 48 SkMatrix klm; variable
51 GrPathUtils::chopCubicAtLoopIntersection(fPoints, dst, &klm, &loopIdx);
  /external/skia/src/gpu/
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);
151 // This can be used to find the KLM linear functionals:
163 // Computes the KLM linear functionals for the cubic implicit form. The "right" side of the
171 // klm: Holds the linear functionals K,L,M as row vectors:
177 // NOTE: the KLM lines are calculated in the same space as the input control points. If you
185 SkCubicType getCubicKLM(const SkPoint src[4], SkMatrix* klm, double t[2], double s[2]);
200 // klm: Holds the linear functionals K,L,M as row vectors. (See getCubicKLM().)
207 // KLM.postScale(-1, -1)
208 int chopCubicAtLoopIntersection(const SkPoint src[4], SkPoint dst[10], SkMatrix* klm,
    [all...]
GrPathUtils.cpp 321 SkMatrix& klm = *out; local
323 klm[0] = p[2].fY - p[0].fY;
324 klm[1] = p[0].fX - p[2].fX;
325 klm[2] = p[2].fX * p[0].fY - p[0].fX * p[2].fY;
327 klm[3] = w2 * (p[1].fY - p[0].fY);
328 klm[4] = w2 * (p[0].fX - p[1].fX);
329 klm[5] = w2 * (p[1].fX * p[0].fY - p[0].fX * p[1].fY);
331 klm[6] = w2 * (p[2].fY - p[1].fY);
332 klm[7] = w2 * (p[1].fX - p[2].fX);
333 klm[8] = w2 * (p[2].fX * p[1].fY - p[1].fX * p[2].fY)
    [all...]
  /external/skqp/src/gpu/
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);
151 // This can be used to find the KLM linear functionals:
163 // Computes the KLM linear functionals for the cubic implicit form. The "right" side of the
171 // klm: Holds the linear functionals K,L,M as row vectors:
177 // NOTE: the KLM lines are calculated in the same space as the input control points. If you
185 SkCubicType getCubicKLM(const SkPoint src[4], SkMatrix* klm, double t[2], double s[2]);
200 // klm: Holds the linear functionals K,L,M as row vectors. (See getCubicKLM().)
207 // KLM.postScale(-1, -1)
208 int chopCubicAtLoopIntersection(const SkPoint src[4], SkPoint dst[10], SkMatrix* klm,
    [all...]
GrPathUtils.cpp 321 SkMatrix& klm = *out; local
323 klm[0] = p[2].fY - p[0].fY;
324 klm[1] = p[0].fX - p[2].fX;
325 klm[2] = p[2].fX * p[0].fY - p[0].fX * p[2].fY;
327 klm[3] = w2 * (p[1].fY - p[0].fY);
328 klm[4] = w2 * (p[0].fX - p[1].fX);
329 klm[5] = w2 * (p[1].fX * p[0].fY - p[0].fX * p[1].fY);
331 klm[6] = w2 * (p[2].fY - p[1].fY);
332 klm[7] = w2 * (p[1].fX - p[2].fX);
333 klm[8] = w2 * (p[2].fX * p[1].fY - p[1].fX * p[2].fY)
    [all...]
  /external/skia/gm/
beziereffects.cpp 174 SkMatrix klm; variable
178 &klm,
215 sk_sp<GrGeometryProcessor> gp = GrCubicEffect::Make(color, SkMatrix::I(), klm,
248 GrColor color, const SkMatrix& klm) {
250 new BezierConicTestOp(std::move(gp), rect, color, klm));
255 const SkMatrix& klm)
256 : INHERITED(std::move(gp), rect, color, ClassID()), fKLM(klm) {}
363 SkMatrix klm; variable
365 GrPathUtils::getConicKLM(controlPts, weight, &klm);
399 std::unique_ptr<GrDrawOp> op = BezierConicTestOp::Make(gp, bounds, color, klm);
    [all...]
  /external/skqp/gm/
beziereffects.cpp 174 SkMatrix klm; variable
178 &klm,
215 sk_sp<GrGeometryProcessor> gp = GrCubicEffect::Make(color, SkMatrix::I(), klm,
248 GrColor color, const SkMatrix& klm) {
250 new BezierConicTestOp(std::move(gp), rect, color, klm));
255 const SkMatrix& klm)
256 : INHERITED(std::move(gp), rect, color, ClassID()), fKLM(klm) {}
363 SkMatrix klm; variable
365 GrPathUtils::getConicKLM(controlPts, weight, &klm);
399 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/skqp/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 600 SkMatrix klm; local
602 GrPathUtils::getConicKLM(p, weight, &klm);
606 klm.mapHomogeneousPoints((SkPoint3* ) verts[i].fConic.fKLM, &pt3, 1);
    [all...]
  /external/skqp/src/gpu/ops/
GrAAHairLinePathRenderer.cpp 600 SkMatrix klm; local
602 GrPathUtils::getConicKLM(p, weight, &klm);
606 klm.mapHomogeneousPoints((SkPoint3* ) verts[i].fConic.fKLM, &pt3, 1);
    [all...]

Completed in 241 milliseconds