diff options
author | 2016-03-03 12:52:54 -0800 | |
---|---|---|
committer | 2016-03-03 12:52:54 -0800 | |
commit | e79586bf82997477b8bc95469147cd25a8e22ff0 (patch) | |
tree | 682fc3af36fab95410641bf97f554fba8504d60a /src/effects/gradients/SkLinearGradient.cpp | |
parent | 3fc3fea2f9f39819171e1124c3eae748caf88123 (diff) |
Revert of respect sRGB when converting from sk to gr configs (patchset #1 id:1 of https://codereview.chromium.org/1756913003/ )
Reason for revert:
Two major regressions from this change:
- Mac images may end up too bright, if they're correctly tagged as sRGB. That's a sub-set of a much larger issue where L32 mode needs to suppress sRGB -> Linear conversion of pretty much everything.
- Various low-end GPUs (Mali400 Android, iPad4) don't render in sRGB at all, causing tests to produce no output at all.
Original issue's description:
> respect sRGB when converting from sk to gr configs
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1756913003
>
> Committed: https://skia.googlesource.com/skia/+/c6663dc36b157e40c8225130f5970a346f9ba7c3
TBR=reed@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/1759653005
Diffstat (limited to 'src/effects/gradients/SkLinearGradient.cpp')
0 files changed, 0 insertions, 0 deletions