| commit | 13a15693a1834c9d946807f5dd6867932e1d11e8 | [log] [tgz] |
|---|---|---|
| author | Jim Van Verth <jvanverth@google.com> | Mon Sep 26 14:01:50 2022 -0400 |
| committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Sep 26 18:42:51 2022 +0000 |
| tree | 0ca49d6a80f09469e53b0d4fe59238e6ed295890 | |
| parent | bdb042b664e9d6cd30404634188efdcb51adf475 [diff] |
[metal] Fix padded LCD conversion. In Metal on Mac, 565 is not available so we need to convert to RGBA8. However, if we pad the glyph for bilerp and do this conversion we were not stepping the correct amount for each row, leading to distortion. Bug: skia:13747 Change-Id: I1554811bb7a781e0b4d5391d5f7c624c50994c3b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/584919 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Herb Derby <herb@google.com>