DescriptionOptimize SkTileImageFilter in an offset filter when possible.
If the srcRect and dstRect have the same size, tiling will have the
same effect as an offset filter cropped to the intersection of
srcRect and dstRect. So do that instead.
BUG=569950
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1578983002
Committed: https://skia.googlesource.com/skia/+/05dcb4c7a9fe350af495e4cc53f8ad0cc9b79052
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix formatting. #Messages
Total messages: 15 (8 generated)
|