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

Unified Diff: include/core/SkImageDecoder.h

Issue 292663011: Simple PKM image decoder. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Resync Created 6 years, 7 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 | « gyp/images.gyp ('k') | resources/mandrill_512.pkm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImageDecoder.h
diff --git a/include/core/SkImageDecoder.h b/include/core/SkImageDecoder.h
index 130b7218b65c7e69d6662135047f78aed27e69d2..881d7f64ab7d95e0afd889d71c01db2dd4a66c65 100644
--- a/include/core/SkImageDecoder.h
+++ b/include/core/SkImageDecoder.h
@@ -37,6 +37,7 @@ public:
kPNG_Format,
kWBMP_Format,
kWEBP_Format,
+ kPKM_Format,
kLastKnownFormat = kWEBP_Format,
};
@@ -525,6 +526,7 @@ DECLARE_DECODER_CREATOR(JPEGImageDecoder);
DECLARE_DECODER_CREATOR(PNGImageDecoder);
DECLARE_DECODER_CREATOR(WBMPImageDecoder);
DECLARE_DECODER_CREATOR(WEBPImageDecoder);
+DECLARE_DECODER_CREATOR(PKMImageDecoder);
// Typedefs to make registering decoder and formatter callbacks easier.
« no previous file with comments | « gyp/images.gyp ('k') | resources/mandrill_512.pkm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698