Lines Matching refs:srcRect
41 SkRect srcRect = layer->getCurrentCropRect(); in onDraw() local
42 DrawLayer(canvas->recordingContext(), canvas, layer, &srcRect, nullptr, true); in onDraw()
52 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect() argument
68 if (!(MathUtils::areEqual(dstW, srcRect.width()) && in shouldFilterRect()
69 MathUtils::areEqual(dstH, srcRect.height()))) { in shouldFilterRect()
74 return !(isIntegerAligned(srcRect.x()) && in shouldFilterRect()
75 isIntegerAligned(srcRect.y()) && in shouldFilterRect()
110 const SkRect* srcRect, in DrawLayer() argument
139 if (srcRect && !srcRect->isEmpty()) { in DrawLayer()
140 skiaSrcRect = *srcRect; in DrawLayer()
170 if (srcRect && !srcRect->isEmpty()) { in DrawLayer()