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

Unified Diff: src/core/SkColorSpace.h

Issue 1932743002: Delete unused code from SkColorSpace (Closed) Base URL: https://skia.googlesource.com/skia.git@improveparsing
Patch Set: Created 4 years, 8 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 | « no previous file | src/core/SkColorSpace.cpp » ('j') | src/core/SkColorSpace.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkColorSpace.h
diff --git a/src/core/SkColorSpace.h b/src/core/SkColorSpace.h
index e14ab1c3c03aa72990e6b9c02de409d6b1a4d4a4..2b3b15fe95576c33f5def8e4a341c5797a9bac30 100644
--- a/src/core/SkColorSpace.h
+++ b/src/core/SkColorSpace.h
@@ -56,14 +56,10 @@ struct SkColorLookUpTable {
}
};
-struct SkPM4f;
-void SkApply3x3ToPM4f(const SkFloat3x3&, const SkPM4f src[], SkPM4f dst[], int count);
-
class SkColorSpace : public SkRefCnt {
public:
enum Named {
kUnknown_Named,
- kDevice_Named,
kSRGB_Named,
};
@@ -82,21 +78,6 @@ public:
Named named() const { return fNamed; }
uint32_t uniqueID() const { return fUniqueID; }
- enum Result {
- kFailure_Result,
- kIdentity_Result,
- kNormal_Result,
- };
-
- /**
- * Given a src and dst colorspace, return the 3x3 matrix that will convert src_linear_RGB
- * values into dst_linear_RGB values.
- */
- static Result Concat(const SkColorSpace* src, const SkColorSpace* dst, SkFloat3x3* result);
-
- static void Test();
- void dump() const;
-
private:
SkColorSpace(const SkFloat3& gamma, const SkFloat3x3& toXYZ, Named);
« no previous file with comments | « no previous file | src/core/SkColorSpace.cpp » ('j') | src/core/SkColorSpace.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698