diff options
Diffstat (limited to 'include/codec')
-rw-r--r-- | include/codec/SkCodec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h index 11d28ea8f2..6d4352214c 100644 --- a/include/codec/SkCodec.h +++ b/include/codec/SkCodec.h @@ -619,6 +619,12 @@ public: * There could be an error in the stream. */ bool fFullyReceived; + + /** + * This is conservative; it will still return non-opaque if e.g. a + * color index-based frame has a color with alpha but does not use it. + */ + SkAlphaType fAlphaType; }; /** |