aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkColorSpace.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-02-10 15:11:12 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-10 22:53:06 +0000
commit3e50027f2269195a08e6dd861f504ec5b90b4279 (patch)
tree1c1a2b64eb1e291a036bc5ac71feed4bad851bb1 /include/core/SkColorSpace.h
parent75864b09e11a1918f202093d042f23ca0b3c8530 (diff)
Delete legacy named color space API
BUG=skia: Change-Id: I3a41b5affdfad830cea969a1e4932794d27f4f7a Reviewed-on: https://skia-review.googlesource.com/8331 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'include/core/SkColorSpace.h')
-rw-r--r--include/core/SkColorSpace.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h
index 0399ca8c72..8cc20c40c9 100644
--- a/include/core/SkColorSpace.h
+++ b/include/core/SkColorSpace.h
@@ -53,36 +53,6 @@ struct SK_API SkColorSpaceTransferFn {
class SK_API SkColorSpace : public SkRefCnt {
public:
-#ifdef SK_USE_LEGACY_NAMED_COLOR_SPACE
- /**
- * Common, named profiles that we can recognize.
- */
- enum Named : uint8_t {
- /**
- * By far the most common color space.
- * This is the default space for images, unmarked content, and monitors.
- */
- kSRGB_Named,
-
- /**
- * Very common wide gamut color space.
- * Often used by images and monitors.
- */
- kAdobeRGB_Named,
-
- /**
- * Colorspace with the sRGB primaries, but a linear (1.0) gamma. Commonly used for
- * half-float surfaces, and high precision individual colors (gradient stops, etc...)
- */
- kSRGBLinear_Named,
- };
-
- /**
- * Create a common, named SkColorSpace.
- */
- static sk_sp<SkColorSpace> MakeNamed(Named);
-#endif
-
/**
* Create the sRGB color space.
*/