Lines Matching refs:srcRect
40 SkRect srcRect = layer->getCurrentCropRect(); in onDraw() local
41 DrawLayer(canvas->recordingContext(), canvas, layer, &srcRect, nullptr, true); in onDraw()
51 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect() argument
67 if (!(MathUtils::areEqual(dstW, srcRect.width()) && in shouldFilterRect()
68 MathUtils::areEqual(dstH, srcRect.height()))) { in shouldFilterRect()
73 return !(isIntegerAligned(srcRect.x()) && in shouldFilterRect()
74 isIntegerAligned(srcRect.y()) && in shouldFilterRect()
114 const SkRect* srcRect, in DrawLayer() argument
143 if (srcRect && !srcRect->isEmpty()) { in DrawLayer()
144 skiaSrcRect = *srcRect; in DrawLayer()
173 if (srcRect && !srcRect->isEmpty()) { in DrawLayer()