DescriptionSet up some hooks for premul/swizzzle opts.
You can call these as SkOpts::premul_xxxa, SkOpts::swaprb_xxxa, etc.
For now, I just backed the function pointers with some (untested) portable
code, which may autovectorize. We can override with optimized versions in
Init_ssse3() (in SkOpts_ssse3.cpp), Init_neon() (SkOpts_neon.cpp), etc.
BUG=skia:4767
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1569013002
Committed: https://skia.googlesource.com/skia/+/a1bfaad00486883669e20a94cf8f7a8f4e34266a
Patch Set 1 #
Total comments: 1
Messages
Total messages: 13 (6 generated)
|