diff options
author | Brian Osman <brianosman@google.com> | 2017-03-20 14:21:18 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-20 18:53:57 +0000 |
commit | b1168a7c9a360bf80b447e2e399bdc5721d5152e (patch) | |
tree | ad2fee14ec7aa17631fd794235cbb8c8417397f6 /samplecode | |
parent | edf06b207a8441d619838d4751528cb92a3547d7 (diff) |
Improvements to readpixels GM
We don't support unpremultiplied images. Therefore:
- Don't test unpremul source images.
- After doing an unpremultiplying read, make sure to premul before drawing
For this to work with F16, add support for F16 sources to
SkColorSpaceXform.
Public API change is comments-only.
TBR=reed@google.com
BUG=skia:
Change-Id: Ie05b58231e99ca88cd7792b65ffbb4f390b01726
Reviewed-on: https://skia-review.googlesource.com/9900
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
Diffstat (limited to 'samplecode')
0 files changed, 0 insertions, 0 deletions