Lines Matching refs:fInvMatrix
126 if (kN32_SkColorType != fOrigBitmap.colorType() || !cache_size_okay(fOrigBitmap, fInvMatrix) || in processHQRequest()
127 fInvMatrix.hasPerspective()) in processHQRequest()
132 SkScalar invScaleX = fInvMatrix.getScaleX(); in processHQRequest()
133 SkScalar invScaleY = fInvMatrix.getScaleY(); in processHQRequest()
134 if (fInvMatrix.getType() & SkMatrix::kAffine_Mask) { in processHQRequest()
136 if (!fInvMatrix.decomposeScale(&scale)) { in processHQRequest()
169 fInvMatrix.postScale(roundedDestWidth / fOrigBitmap.width(), in processHQRequest()
186 if (!fInvMatrix.decomposeScale(&invScaleSize, NULL)) { in processMediumRequest()
208 fInvMatrix.postScale(invScaleFixup, invScaleFixup); in processMediumRequest()
269 fInvMatrix = inv; in chooseProcs()
289 bool trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
301 fInvMatrix.postIDiv(fBitmap->width(), fBitmap->height()); in chooseProcs()
312 if (matrix_only_scale_translate(fInvMatrix)) { in chooseProcs()
314 if (fInvMatrix.invert(&forward)) { in chooseProcs()
319 fInvMatrix.setTranslate(tx, ty); in chooseProcs()
324 fInvProc = fInvMatrix.getMapXYProc(); in chooseProcs()
325 fInvType = fInvMatrix.getType(); in chooseProcs()
326 fInvSx = SkScalarToFixed(fInvMatrix.getScaleX()); in chooseProcs()
327 fInvSxFractionalInt = SkScalarToFractionalInt(fInvMatrix.getScaleX()); in chooseProcs()
328 fInvKy = SkScalarToFixed(fInvMatrix.getSkewY()); in chooseProcs()
329 fInvKyFractionalInt = SkScalarToFractionalInt(fInvMatrix.getSkewY()); in chooseProcs()
341 trivialMatrix = (fInvMatrix.getType() & ~SkMatrix::kTranslate_Mask) == 0; in chooseProcs()
550 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in Clamp_S32_D32_nofilter_trans_shaderproc()
624 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, in Repeat_S32_D32_nofilter_trans_shaderproc()
675 s.fInvProc(s.fInvMatrix, in S32_D32_constX_shaderproc()
710 s.fInvProc(s.fInvMatrix, in S32_D32_constX_shaderproc()
769 fInvProc(fInvMatrix, SK_ScalarHalf, SK_ScalarHalf, &pt); in setupForTranslate()
964 s.fInvProc(s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, SkIntToScalar(y) + SK_ScalarHalf, in Clamp_S32_opaque_D32_nofilter_DX_shaderproc()