DescriptionRefactor 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
Committed: https://skia.googlesource.com/skia/+/dc6c9bf91c158e89cd9d5ef19dfbf1da98c598a6
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 14 (8 generated)
|