Index: src/core/SkColorSpace_Base.h |
diff --git a/src/core/SkColorSpace_Base.h b/src/core/SkColorSpace_Base.h |
index 31f96dd7f9dde6552acd430b04071c9ad7cd4eaa..9382153967461b7fa8b417e20229c5d9598ac81a 100644 |
--- a/src/core/SkColorSpace_Base.h |
+++ b/src/core/SkColorSpace_Base.h |
@@ -10,6 +10,7 @@ |
#include "SkColorSpace.h" |
#include "SkData.h" |
+#include "SkOnce.h" |
#include "SkTemplates.h" |
enum SkGammaNamed : uint8_t { |
@@ -188,6 +189,8 @@ public: |
const SkColorLookUpTable* colorLUT() const { return fColorLUT.get(); } |
+ const SkMatrix44& fromXYZD50() const; |
+ |
private: |
/** |
@@ -211,6 +214,9 @@ private: |
sk_sp<SkGammas> fGammas; |
sk_sp<SkData> fProfileData; |
+ mutable SkMatrix44 fFromXYZD50; |
+ mutable SkOnce fFromXYZOnce; |
+ |
friend class SkColorSpace; |
friend class ColorSpaceXformTest; |
friend class ColorSpaceTest; |