commit | 3e11da7fa9b7ab26df6d6197c3f6a71d0826c97e | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Wed May 11 05:17:36 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 11 05:17:36 2016 -0700 |
tree | 55a8f44eb7149d463a55f68202746f3ebe4e339d | |
parent | 677da9d4af2558ddd50a900e90a093d1b522bd5f [diff] |
Revert of Make GrGammaEffect have explicit sRGB modes, plus exponential mode. (patchset #4 id:60001 of https://codereview.chromium.org/1954863002/ ) Reason for revert: Shader compilation appears to be failing Original issue's description: > Make GrGammaEffect have explicit sRGB modes, plus exponential mode. > > Convert it to a "standard" FP that just transforms the input color. > > For now, we still infer the sRGB transfer curves from the exponent, > but I'm hoping that eventually SkGammas will provide us with the > exact curve we're supposed to be applying. In any case, this adds > support for doing the inverse transformation, as well, which will > be needed in an upcoming Vulkan YUV change, among other things. > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1954863002 > > Committed: https://skia.googlesource.com/skia/+/2139303e4c0a9cbcfac695977a80eb026a9296ab TBR=bsalomon@google.com,brianosman@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/1964943003