aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-22 18:40:29 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-22 18:40:29 +0000
commit8cf81e0f4fa2a8054ac4cea1e7490028809cb893 (patch)
treefc1688c45056891962dc6676560eac15c9126ea0 /include
parent0be2d8354b0c99bd099c4c6dd78a7fcb69955fa4 (diff)
Simple PKM image decoder.
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImageDecoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkImageDecoder.h b/include/core/SkImageDecoder.h
index 130b7218b6..881d7f64ab 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.