diff options
author | Mike Klein <mtklein@chromium.org> | 2018-05-29 12:22:10 -0400 |
---|---|---|
committer | Mike Klein <mtklein@google.com> | 2018-05-29 19:14:03 +0000 |
commit | cdbec8f197e3a75185e95ff66afb3edb49097bde (patch) | |
tree | dcc7738094962538cd2f59b549f144a552f1251b /src/core/SkColorSpace_XYZ.cpp | |
parent | a33447dab9b9ebdc0bd636b6ec7721557d21feac (diff) |
remove bit, srgbnl config in DM
We're not going to need the bit.
I've rewritten "esrgb" and "srgbnl" to express themselves the way I'd
like them to work. Their images are supressed in Gold already.
Change-Id: I6da58cc75dcb998cbfcf9a8f65de31c030adb494
Reviewed-on: https://skia-review.googlesource.com/130506
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/core/SkColorSpace_XYZ.cpp')
-rw-r--r-- | src/core/SkColorSpace_XYZ.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/SkColorSpace_XYZ.cpp b/src/core/SkColorSpace_XYZ.cpp index 42b5b5d388..ca50b7006f 100644 --- a/src/core/SkColorSpace_XYZ.cpp +++ b/src/core/SkColorSpace_XYZ.cpp @@ -102,13 +102,3 @@ sk_sp<SkColorSpace> SkColorSpace_XYZ::makeColorSpin() const { (void)spin.getType(); // Pre-cache spin matrix type to avoid races in future getType() calls. return sk_sp<SkColorSpace>(new SkColorSpace_XYZ(fGammaNamed, fGammas, spin, fProfileData)); } - -sk_sp<SkColorSpace> SkColorSpace_XYZ::makeNonlinearBlending() const { - if (this->nonlinearBlending()) { - return sk_ref_sp(const_cast<SkColorSpace_XYZ*>(this)); - } - - auto cs = sk_make_sp<SkColorSpace_XYZ>(fGammaNamed, fGammas, fToXYZD50, fProfileData); - cs->fNonlinearBlending = true; - return std::move(cs); -} |