DescriptionOptimize SkTileImageFilter destination bitmap size.
The destination bitmap size was not being clipped by the clip bounds,
so tiled rendering (ie., clipping to a small region and rendering
a SkTileImageFilter with a large dstRect) was much slower than
non-tiled rendering.
Correctness is covered by unit test ImageFilterDrawTiled, and
performance by TileImageFilterBench.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1563873002
Committed: https://skia.googlesource.com/skia/+/b50b97d70a62d90f5266113c9a5ba6cd1b912edd
Patch Set 1 #
Messages
Total messages: 13 (7 generated)
|