Lines Matching refs:matrix
42 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect() argument
43 if (!matrix.rectStaysRect()) return true; in shouldFilterRect()
44 SkRect dstDevRect = matrix.mapRect(dstRect); in shouldFilterRect()
46 if (MathUtils::isZero(matrix.getScaleX()) && MathUtils::isZero(matrix.getScaleY())) { in shouldFilterRect()
102 SkMatrix matrix; in DrawLayer() local
104 matrix = SkMatrix::Concat(layerTransform, textureMatrix); in DrawLayer()
106 matrix = textureMatrix; in DrawLayer()
113 const bool nonIdentityMatrix = !matrix.isIdentity(); in DrawLayer()
116 canvas->concat(matrix); in DrawLayer()
121 if (!matrix.invert(&matrixInv)) { in DrawLayer()
122 matrixInv = matrix; in DrawLayer()