DescriptionMake SkPicture/SkImageGenerator default to SkCodec
Remove reference to SkImageDecoder from SkPicture. Make the default
InstallPixelRefProc passed to CreateFromStream use
SkImageGenerator::NewFromEncoded instead.
Make SkImageGenerator::NewFromEncoded create an SkCodecImageGenerator.
Remove the old version that used SkImageDecoder.
Remove all versions of lazy_decode_bitmap/LazyDecodeBitmap. The default
now behaves lazily.
Update all clients to use the default.
Move SkImageDecoderGenerator into KtxTest.cpp, and use it directly.
BUG=skia:4691
BUG=skia:4290
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1671193002
Committed: https://skia.googlesource.com/skia/+/026388a01864c74208ad57d1ba4f711602d101c6
Patch Set 1 #Patch Set 2 : Move SkImageDecoderGenerator into KtxTest.cpp #Patch Set 3 : Rebase #Patch Set 4 : Add references to bugs #
Total comments: 2
Patch Set 5 : Hide DefaultInstall; add a test #
Total comments: 3
Patch Set 6 : Add comment regarding serialized images #Patch Set 7 : Move ImageGenerator impl into ktx code to share with nanobench #
Messages
Total messages: 28 (11 generated)
|