DescriptionSimplify SkGpuBlurUtils.
We compute a lot of { srcRect, dstRect } pairs in this
code, but they're always the same width and height, and
dstRect often has a zero origin. So pass only one or
the other and an offset, where required. Among other
things, this simplifies the code in convolve_gaussian(),
since we only have to 3-patch the dstRect.
BUG=skia:4502
Committed: https://skia.googlesource.com/skia/+/48343eea6f40a523306069e917ed9a1d6c39434c
Patch Set 1 #Patch Set 2 : Cleanup #Patch Set 3 : More cleanup #Messages
Total messages: 11 (5 generated)
|