Use calculated source rect for transformed and SDFT SubRuns
Currently, the source rect is calculated in the SubRun creation
routines. This calculation has been moved to the prepareForMaskDrawing
and prepareForSDFTDrawing. Pass the rect to the SubRun creation
routines, and remove the duplicate calculations.
Change-Id: I56d1d5bcdf68b31dcdce9e531b2417d8b39be859
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/564997
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
1 file changed