DescriptionTweak distance field path renderer behavior in gamma-correct mode to match
recent changes to text rendering.
Uses linear coverage falloff. Produces results that are perceptually more
similar to L32 (raster and gpu). Smoothstep + sRGB was too soft.
Plumb the gamma-correctness via DrawPathArgs, which also paves the way for
other path rendering implementations to easily make decisions about rendering
technique based on that flag.
Fix a few typos and formatting issues from my most recent change.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1889453002
Committed: https://skia.googlesource.com/skia/+/0e3c55431b463b5575983c0c875909e08a3562bf
Patch Set 1 #
Total comments: 2
Patch Set 2 : Cleaner solution #
Total comments: 3
Patch Set 3 : Rebased, plumbed gamma-correctness via DrawPathArgs, fixed typos from most recent change #
Messages
Total messages: 27 (12 generated)
|