Index: src/core/SkColorSpace_Base.h |
diff --git a/src/core/SkColorSpace_Base.h b/src/core/SkColorSpace_Base.h |
index f0e26be7f2923b2859e9c07115800ca8b84673ba..04f9b0b10848e168eae4f04f79552a7456c8b6f5 100644 |
--- a/src/core/SkColorSpace_Base.h |
+++ b/src/core/SkColorSpace_Base.h |
@@ -179,6 +179,11 @@ public: |
const SkMatrix44& toXYZD50() const { return fToXYZD50; } |
const SkMatrix44& fromXYZD50() const; |
+ |
+ /** |
+ * Create an SkColorSpace with the same gamut as this color space, but with linear gamma. |
+ */ |
+ sk_sp<SkColorSpace> makeLinearGamma(); |
private: |