diff options
author | fmalita <fmalita@chromium.org> | 2016-03-21 13:16:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-21 13:16:52 -0700 |
commit | dc6c9bf91c158e89cd9d5ef19dfbf1da98c598a6 (patch) | |
tree | b072c263452bed811ce7643fa53fb584c997359d /gm/drawlooper.cpp | |
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
Diffstat (limited to 'gm/drawlooper.cpp')
0 files changed, 0 insertions, 0 deletions