| commit | 200877eecaba782e56a1dd9e13a92f36d7b1ba12 | [log] [tgz] |
|---|---|---|
| author | msarett <msarett@google.com> | Mon Aug 15 08:10:44 2016 -0700 |
| committer | Commit bot <commit-bot@chromium.org> | Mon Aug 15 08:10:44 2016 -0700 |
| tree | f63a5343e187612b2f7798bfcbe50f07fe51a446 | |
| parent | a95d46b4ac8e41c9beb2b750cd389b1c6ebaf0a7 [diff] |
Optimize color xforms when src and dst are matching
Useful when:
(1) Client does not realize src and dst match (calls color
xform anyway).
(2) Client wants half floats, src and dst have matching
gamuts
(3) Client wants premul (done correctly in linear space),
src and dst have matching gamuts.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2206403003
Review-Url: https://codereview.chromium.org/2206403003