Reland "Add epsilon to texture effect clamping at pixel centers"
This reverts commit ee741e5e8cf36667f47efa2f952d44486cce0006.
Reason for revert: adding staging
Original change's description:
> Revert "Add epsilon to texture effect clamping at pixel centers"
>
> This reverts commit 59a2610cd83dfa6a7ff81a4d54038a4764711d24.
>
> Reason for revert: breaking chrome layout tests, will need to stage.
>
> Original change's description:
> > Add epsilon to texture effect clamping at pixel centers
> >
> > When sampling at pixel centers with bilinear filtering and clamping to
> > a subset, the last row or column could sample the adjacent exterior
> > row or column with a weight of 0. This extra inset ensures we sample
> > the previous row or column with a weight of 1 instead to avoid
> > including undefined data into a weighted sum (even if it shouldn't be
> > making a contribution).
> >
> > Bug: chromium:1324336
> > Change-Id: I4e038c90e8c89ef535b4cc2f49c834960640a68a
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/751778
> > Reviewed-by: Greg Daniel <egdaniel@google.com>
> > Commit-Queue: Michael Ludwig <michaelludwig@google.com>
>
> Bug: chromium:1324336
> Change-Id: I04c732c8e5dd01bfdfaf3540e0049d588dc7d5ba
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/753256
> Auto-Submit: Michael Ludwig <michaelludwig@google.com>
> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bug: chromium:1324336
Change-Id: If1d280f17613c6fedd90a05e8d0359798997659d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/755236
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
8 files changed