diff options
author | Hal Canary <halcanary@google.com> | 2017-07-19 15:48:38 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-20 16:23:03 +0000 |
commit | f0f4c0c6d58a00ea2c9008f2686c73dcae46a946 (patch) | |
tree | c1f90186a342582b1803b0cf8824f50b58a89d1c /dm/DM.cpp | |
parent | fa486cf4de608e5566b746cfc196e1bb80eb0346 (diff) |
SkPDF: Support alpha-only images with maskfilters
- Handle alpha-only images with maskfilters
- No longer apply color-filter to alpha-only images (it should apply
to the paint color/shader composed with the alpha image instead).
- Alpha-only images without maskfilters do sub-pixel clipping.
- Non-alpha-only drawImages with maskfilters do sub-pixel clipping.
* Fixes `alpha_image` GM (output now matches GPU backend).
* Improves GMs `imagemasksubset` and `shadows`.
BUG=skia:6735
Change-Id: I62a82b4133ae0eb42d6315785bc3d2cb834bd352
Reviewed-on: https://skia-review.googlesource.com/24820
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'dm/DM.cpp')
0 files changed, 0 insertions, 0 deletions