DescriptionFixes for piping bitmaps with encoded data.
Eliminates some spew from gm when running while providing a resource
path.
SkGPipe:
Instead of calling SkBitmap::flatten and SkBitmap::unflatten, call
SkOrderedWriteBuffer::writeBitmap and SkOrderedReadBuffer::readBitmap,
which will allow reading and writing bitmaps with encoded data.
Provide an option to set a function on SkGPipeReader for decoding
bitmaps that have encoded data.
SamplePipeControllers:
Set an option to use a function for decoding bitmaps on both
PipeController and TiledPipeController.
gmmain:
Use a function for decoding bitmaps when deserializing a picture from
a stream and when using SkGPipe. This results in successes for factory
GM.
SampleApp.cpp:
Set a bitmap decoding function on SimplePC and TiledPipeController.
Allows running GM:factory to work properly.
Patch Set 1 #Patch Set 2 : Do not use bitmap storage when adding bitmaps to SkGPipeState. #
Messages
Total messages: 8 (0 generated)
|