Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: src/core/SkColorSpace_A2B.cpp

Issue 2444553002: Refactored SkColorSpace_A2B to allow arbitrary ordering of elements (Closed)
Patch Set: responding to comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkColorSpace_A2B.h ('k') | src/core/SkColorSpace_ICC.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkColorSpace_A2B.cpp
diff --git a/src/core/SkColorSpace_A2B.cpp b/src/core/SkColorSpace_A2B.cpp
index f67da48259685b9a954361a570532b797b2b0e4a..9fed82379af56a6c62bdc1a51149a4f9ed7ad7d3 100644
--- a/src/core/SkColorSpace_A2B.cpp
+++ b/src/core/SkColorSpace_A2B.cpp
@@ -7,20 +7,9 @@
#include "SkColorSpace_A2B.h"
-SkColorSpace_A2B::SkColorSpace_A2B(SkGammaNamed aCurveNamed, sk_sp<SkGammas> aCurve,
- sk_sp<SkColorLookUpTable> colorLUT,
- SkGammaNamed mCurveNamed, sk_sp<SkGammas> mCurve,
- const SkMatrix44& matrix,
- SkGammaNamed bCurveNamed, sk_sp<SkGammas> bCurve,
- PCS pcs, sk_sp<SkData> profileData)
+SkColorSpace_A2B::SkColorSpace_A2B(PCS pcs, sk_sp<SkData> profileData,
+ std::vector<Element> elements)
: INHERITED(std::move(profileData))
- , fACurveNamed(aCurveNamed)
- , fACurve(std::move(aCurve))
- , fColorLUT(std::move(colorLUT))
- , fMCurveNamed(mCurveNamed)
- , fMCurve(std::move(mCurve))
- , fMatrix(matrix)
- , fBCurveNamed(bCurveNamed)
- , fBCurve(std::move(bCurve))
, fPCS(pcs)
+ , fElements(std::move(elements))
{}
« no previous file with comments | « src/core/SkColorSpace_A2B.h ('k') | src/core/SkColorSpace_ICC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698