Searched refs:klm (Results 1 - 12 of 12) sorted by relevance

/external/skia/bench/
H A DCubicKLMBench.cpp48 SkMatrix klm; variable
51 GrPathUtils::chopCubicAtLoopIntersection(fPoints, dst, &klm, &loopIdx);
/external/skqp/bench/
H A DCubicKLMBench.cpp48 SkMatrix klm; variable
51 GrPathUtils::chopCubicAtLoopIntersection(fPoints, dst, &klm, &loopIdx);
/external/skia/src/gpu/
H A DGrPathUtils.h100 // Output: klm holds the linear functionals K,L,M as row vectors:
106 void getConicKLM(const SkPoint p[3], const SkScalar weight, SkMatrix* klm);
171 // klm: Holds the linear functionals K,L,M as row vectors:
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().)
208 int chopCubicAtLoopIntersection(const SkPoint src[4], SkPoint dst[10], SkMatrix* klm,
H A DGrPathUtils.cpp321 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[
686 calc_quadratic_klm(const SkPoint pts[4], double d3, SkMatrix* klm) argument
712 calc_line_klm(const SkPoint pts[4], SkMatrix* klm) argument
721 getCubicKLM(const SkPoint src[4], SkMatrix* klm, double tt[2], double ss[2]) argument
776 chopCubicAtLoopIntersection(const SkPoint src[4], SkPoint dst[10], SkMatrix* klm, int* loopIndex) argument
[all...]
/external/skqp/src/gpu/
H A DGrPathUtils.h100 // Output: klm holds the linear functionals K,L,M as row vectors:
106 void getConicKLM(const SkPoint p[3], const SkScalar weight, SkMatrix* klm);
171 // klm: Holds the linear functionals K,L,M as row vectors:
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().)
208 int chopCubicAtLoopIntersection(const SkPoint src[4], SkPoint dst[10], SkMatrix* klm,
H A DGrPathUtils.cpp321 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[
686 calc_quadratic_klm(const SkPoint pts[4], double d3, SkMatrix* klm) argument
712 calc_line_klm(const SkPoint pts[4], SkMatrix* klm) argument
721 getCubicKLM(const SkPoint src[4], SkMatrix* klm, double tt[2], double ss[2]) argument
776 chopCubicAtLoopIntersection(const SkPoint src[4], SkPoint dst[10], SkMatrix* klm, int* loopIndex) argument
[all...]
/external/skia/gm/
H A Dbeziereffects.cpp174 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);
247 Make(sk_sp<GrGeometryProcessor> gp, const SkRect& rect, GrColor color, const SkMatrix& klm) argument
254 BezierConicTestOp(sk_sp<GrGeometryProcessor> gp, const SkRect& rect, GrColor color, const SkMatrix& klm) argument
[all...]
/external/skqp/gm/
H A Dbeziereffects.cpp174 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);
247 Make(sk_sp<GrGeometryProcessor> gp, const SkRect& rect, GrColor color, const SkMatrix& klm) argument
254 BezierConicTestOp(sk_sp<GrGeometryProcessor> gp, const SkRect& rect, GrColor color, const SkMatrix& klm) argument
[all...]
/external/skia/src/gpu/effects/
H A DGrBezierEffect.h228 const SkMatrix& klm,
237 devKLM.postConcat(klm);
226 Make(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& klm, bool flipKL, const GrClipEdgeType edgeType, const GrCaps& caps) argument
/external/skqp/src/gpu/effects/
H A DGrBezierEffect.h228 const SkMatrix& klm,
237 devKLM.postConcat(klm);
226 Make(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& klm, bool flipKL, const GrClipEdgeType edgeType, const GrCaps& caps) argument
/external/skia/src/gpu/ops/
H A DGrAAHairLinePathRenderer.cpp600 SkMatrix klm; local
602 GrPathUtils::getConicKLM(p, weight, &klm);
606 klm.mapHomogeneousPoints((SkPoint3* ) verts[i].fConic.fKLM, &pt3, 1);
/external/skqp/src/gpu/ops/
H A DGrAAHairLinePathRenderer.cpp600 SkMatrix klm; local
602 GrPathUtils::getConicKLM(p, weight, &klm);
606 klm.mapHomogeneousPoints((SkPoint3* ) verts[i].fConic.fKLM, &pt3, 1);

Completed in 332 milliseconds