DescriptionAdded kSRGBLinear_Named color space, along with tests
Gradients (and other shaders) are going to end up serializing this
particular color space very frequently, so we want a shorthand way of
writing it out. I think it's also helpful to have a clearer way of
creating it (vs. NewNamed(kSRGB_Named)->makeLinearGamma()).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2377763002
Committed: https://skia.googlesource.com/skia/+/eec8304714f35e4c789a2b69e511f88fe5890149
Patch Set 1 #Patch Set 2 : Update some call sites #
Total comments: 3
Patch Set 3 : Update assert. Better comment. #
Messages
Total messages: 14 (7 generated)
|