DescriptionSkDecodingImageGenerator now uses SkStreamRewindable
This makes sense since Android will be giving us a stream and the
decoders expect a stream. This also removes some glue code,
DecodeMemoryToTarget, that works better using a SkImageGenerator.
Motivation: This is a necessary step to move from SkImageRef to
SkDiscardablePixelRef.
SkImageDecoder::DecodeMemoryToTarget function removed.
BUG=
R=reed@google.com, scroggo@google.com
Committed: https://code.google.com/p/skia/source/detail?r=12560
Patch Set 1 #
Total comments: 10
Patch Set 2 : changes from bungeman #Patch Set 3 : accurate comments + windows build fix #Patch Set 4 : fix SkDWriteFontFileStream #Patch Set 5 : fix assert on release #Patch Set 6 : revert SkTypes change #Patch Set 7 : remove SkData changes #Patch Set 8 : remove SkStream changes #Patch Set 9 : rebased again #
Messages
Total messages: 10 (0 generated)
|