diff options
author | Mike Klein <mtklein@chromium.org> | 2018-06-26 12:05:55 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-26 16:32:52 +0000 |
commit | 9c0ce41cf71197e06894002b1f29d34ed124e8ad (patch) | |
tree | 9856f69235eaa27e23ddeee0c43ee31d9578a871 | |
parent | 493489054f85d1b7725412ad7a3cdc70c7ec5466 (diff) |
remove unused enum
Change-Id: I9e7be63fdab8b1e4bc3038d48664962deefb6749
Reviewed-on: https://skia-review.googlesource.com/137586
Commit-Queue: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Mike Klein <mtklein@chromium.org>
Reviewed-by: Brian Salomon <bsalomon@google.com>
-rw-r--r-- | src/core/SkImageInfo.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/SkImageInfo.cpp b/src/core/SkImageInfo.cpp index b50dddf1f7..c0943017d9 100644 --- a/src/core/SkImageInfo.cpp +++ b/src/core/SkImageInfo.cpp @@ -27,23 +27,6 @@ int SkColorTypeBytesPerPixel(SkColorType ct) { return 0; } -// These values must be constant over revisions, though they can be renamed to reflect if/when -// they are deprecated. -enum Stored_SkColorType { - kUnknown_Stored_SkColorType = 0, - kAlpha_8_Stored_SkColorType = 1, - kRGB_565_Stored_SkColorType = 2, - kARGB_4444_Stored_SkColorType = 3, - kRGBA_8888_Stored_SkColorType = 4, - kBGRA_8888_Stored_SkColorType = 5, - kIndex_8_Stored_SkColorType_DEPRECATED = 6, - kGray_8_Stored_SkColorType = 7, - kRGBA_F16_Stored_SkColorType = 8, - kRGB_888x_Stored_SkColorType = 9, - kRGBA_1010102_Stored_SkColorType = 10, - kRGB_101010x_Stored_SkColorType = 11, -}; - bool SkColorTypeIsAlwaysOpaque(SkColorType ct) { return !(kAlpha_SkColorTypeComponentFlag & SkColorTypeComponentFlags(ct)); } |