commit | dc6c9bf91c158e89cd9d5ef19dfbf1da98c598a6 | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Mon Mar 21 13:16:51 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 21 13:16:52 2016 -0700 |
tree | b072c263452bed811ce7643fa53fb584c997359d | |
parent | 66be626f7f3ddda243e51aa8f36398b26769a9b4 [diff] |
Refactor 4f gradients using trait templates Some 4f gradient housekeeping. 1) replace <DstPtrType, ColorProfile> specialization tuples with an enum covering all dest types (L32, S32, F16, F32) 2) group various template helpers into dest trait classes, specialized for each dest type (2a - conflate current dst_swizzle and scale_for_dest ops into one load op) R=reed@google.com,mtklein@google.com,herb@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1816883002 Review URL: https://codereview.chromium.org/1816883002