DescriptionFix SkSwizzler bug
Now, that we are subsetting, fX0 is not necessarily less than
fSrcWidth (since fSrcWidth is really the subset width).
Ex: We may want a 10 pixel subset starting twenty pixels from the
left edge. In that case, fX0=20 and fSrcWidth=10.
Let's rename the width as fSubsetWidth to avoid confusion
and remove the check.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/80803ff615e4293e8af2dc5d094a1f4fa81ec396
Patch Set 1 #Patch Set 2 : Response to comments #
Total comments: 6
Patch Set 3 : Added test and rebase #
Depends on Patchset: Messages
Total messages: 12 (4 generated)
|