DescriptionMake SkPMFloats store floats in [0,255] instead of [0,1].
This pushes the cost of the *255 and *1/255 conversions onto only those code
paths that need it. We're not doing it any more efficiently than can be done
with Sk4f.
In microbenchmark isolation, this is about a 15% speedup.
BUG=skia:
NOPRESUBMIT=true
Committed: https://skia.googlesource.com/skia/+/60d2a32b2dbbaabf4a0c133c8d3ff5ad888b8e5e
Patch Set 1 #Patch Set 2 : restore comment #
Total comments: 4
Messages
Total messages: 21 (8 generated)
|