Index: include/config/SkUserConfig.h |
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h |
index 5f59b9131c104f1029c3e956b18c3f3f9c6565f2..9e6ff69760afade7d9385068b82cf55dd3488532 100644 |
--- a/include/config/SkUserConfig.h |
+++ b/include/config/SkUserConfig.h |
@@ -178,4 +178,14 @@ |
//#define SK_MUTEX_PLATFORM_H "SkMutex_xxx.h" |
//#define SK_BARRIERS_PLATFORM_H "SkBarriers_xxx.h" |
+/* |
+ * This flags determines what to do if a decoder atttempts to decode an |
+ * incomplete stream. If defined, the decoder will return an image with that |
+ * shows all the pixels available in the stream if the decoder is capable of |
+ * partial decoding. Otherwise the decoder will report failure. |
+ * NOTE: Currently only applies to JPEG and GIF. |
+ * TODO: Perhaps this should be a runtime option in a future version of |
+ * SkImageDecoder. |
+ */ |
+//#define SK_DECODE_PARTIAL_IMAGES |
#endif |