Home | History | Annotate | Download | only in core

Lines Matching refs:kMPersp2

27         SkScalar p2 = mat[SkMatrix::kMPersp2];
33 mat[SkMatrix::kMPersp2] = 1;
64 fMat[kMScaleX] = fMat[kMScaleY] = fMat[kMPersp2] = 1;
86 fMat[kMPersp2] = 1;
105 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) {
119 if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 || fMat[kMPersp2] != 1) {
278 fMat[kMScaleX] = fMat[kMScaleY] = fMat[kMPersp2] = 1;
334 fMat[kMPersp2] = 1;
446 fMat[kMPersp2] = 1;
461 fMat[kMPersp2] = 1;
477 fMat[kMPersp2] = 1;
530 fMat[kMPersp2] = 1;
545 fMat[kMPersp2] = 1;
584 fMat[kMPersp2] = 1;
666 tmp.fMat[kMPersp2] = rowcol3(&a.fMat[6], &b.fMat[2]);
703 tmp.fMat[kMPersp2] = 1;
755 dcross(mat[SkMatrix::kMScaleY], mat[SkMatrix::kMPersp2],
760 mat[SkMatrix::kMSkewY], mat[SkMatrix::kMPersp2])
808 dst[kMScaleX] = scross_dscale(src[kMScaleY], src[kMPersp2], src[kMTransY], src[kMPersp1], invDet);
809 dst[kMSkewX] = scross_dscale(src[kMTransX], src[kMPersp1], src[kMSkewX], src[kMPersp2], invDet);
812 dst[kMSkewY] = scross_dscale(src[kMTransY], src[kMPersp0], src[kMSkewY], src[kMPersp2], invDet);
813 dst[kMScaleY] = scross_dscale(src[kMScaleX], src[kMPersp2], src[kMTransX], src[kMPersp0], invDet);
818 dst[kMPersp2] = scross_dscale(src[kMScaleX], src[kMScaleY], src[kMSkewX], src[kMSkewY], invDet);
830 dst[kMPersp2] = 1;
859 inv->fMat[kMPersp2] = 1;
988 SkScalar z = sx * m.fMat[kMPersp0] + (sy * m.fMat[kMPersp1] + m.fMat[kMPersp2]);
990 SkScalar z = sdot(sx, m.fMat[kMPersp0], sy, m.fMat[kMPersp1]) + m.fMat[kMPersp2];
1064 SkScalar w = sdot(sx, fMat[kMPersp0], sy, fMat[kMPersp1], sw, fMat[kMPersp2]);
1165 SkScalar z = sdot(sx, m.fMat[kMPersp0], sy, m.fMat[kMPersp1]) + m.fMat[kMPersp2];
1261 PerspNearlyZero(fMat[kMPersp2] - 1)) {
1264 SkScalar z = y * fMat[kMPersp1] + fMat[kMPersp2];
1317 dst->fMat[kMPersp2] = 1;
1336 dst->fMat[kMPersp2] = 1;
1395 dst->fMat[kMPersp2] = 1;