diff options
author | 2018-04-20 14:53:00 -0400 | |
---|---|---|
committer | 2018-04-23 14:27:30 +0000 | |
commit | 57e1f020116e9023b9dfd92478d46749b7248d6e (patch) | |
tree | 598fe9ee5bd039dea95cb774da7790c0c1431394 /README.chromium | |
parent | 5c2ed720ec807aa7a79e8f5ee5be107a877015a8 (diff) |
(Mostly) respect FilterQuality in draw[stretchy]
Bug: b/77917978
For
drawImageLattice
drawBitmapLattice
drawImageNine
drawBitmapNine
, respect the SkFilterQuality on the SkPaint. Previously the GPU used
the lowest quality to avoid a bleeding effect, leading to ugly nine-
patches on Android.
For all backends, cap the filter quality at kLow_SkFilterQuality.
Update SkCanvas' documentation to specify this.
Change-Id: Id28c7753834975f039170f14bc51be4f2bd44d41
Reviewed-on: https://skia-review.googlesource.com/121891
Reviewed-by: Cary Clark <caryclark@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Auto-Submit: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'README.chromium')
0 files changed, 0 insertions, 0 deletions