DescriptionCreate a factory to decode an SkBitmap from an SkData.
Add a test and a GM for the factory, and a PNG file for it to decode.
The PNG file is copyright-free, obtained from
http://openclipart.org/detail/29213/paper-plane-by-ddoo
In cmykjpeg, do not attempt to decode in the constructor, since it
currently crashes on Mac (if you provide the correct resource path).
Even when we fix this crash there is no need to do it in the
constructor, since we create all of the gms in order to
get their names (to determine whether to run them).
Committed: https://code.google.com/p/skia/source/detail?r=6618
Patch Set 1 #
Total comments: 2
Patch Set 2 : Respond to comments. #
Total comments: 3
Patch Set 3 : Respond to comments. #
MessagesTotal messages: 5
|