Some platform image decoders have the capability to decode an image in different scale levels. If we are going to paint an image in scaled down size, we can hint the decoder to give the image in the right scale to save some memory.
Created attachment 212197 [details] add scale to hint platform decoders that we expect a scaled image.
Comment on attachment 212197 [details] add scale to hint platform decoders that we expect a scaled image. View in context: https://bugs.webkit.org/attachment.cgi?id=212197&action=review > Source/WebCore/platform/graphics/ImageSource.h:148 > + PassNativeImagePtr createFrameAtIndex(size_t, float* scale = 0); It is not clear if this scale parameter is input, output or both. Maybe a more descriptive name would help?
Comment on attachment 212197 [details] add scale to hint platform decoders that we expect a scaled image. Clearing flags on attachment: 212197 Committed r156195: <http://trac.webkit.org/changeset/156195>
All reviewed patches have been landed. Closing bug.