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

Unified Diff: include/core/SkImage.h

Issue 68853003: add colortable enum to SkImage to ease interop between it and SkBitmap::Config (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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/image/SkImagePriv.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImage.h
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index ae8bbf5d50d5c9eeddd6ce0743449c92b1b2187b..39f2ec931e4548bc1367e055854b7367e7ded54f 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -37,7 +37,8 @@ enum SkColorType {
#error "SK_*32_SHFIT values must correspond to BGRA or RGBA byte order"
#endif
- kLastEnum_SkColorType = kBGRA_8888_SkColorType
+ kIndex8_SkColorType,
+ kLastEnum_SkColorType = kIndex8_SkColorType
};
struct SkImageInfo {
« no previous file with comments | « no previous file | src/image/SkImagePriv.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698