Issue metadata
Sign in to add a comment
|
Decode sub-rects for images embedded in SkImageShader |
||||||||||||||||||||||||
Issue descriptionCurrently, the ImageHijackCanvas introspects and replaces images in simple SkImageShaders. These images may be clipped based on the area being painted by the SkImageShader and the matrix applied to the image. We currently always decode the full image. Instead we should determine the actual image region we need and decode a subrect.
,
Dec 8 2016
Assigning to myself for tracking. +aleksandar.stojiljkovic since this might be related to issue 438323 , in the sense that we might utilize the decoder to do some of the work which we currently do in the compositor.
,
Dec 8 2016
Independently, came to a similar conclusion here: https://bugs.chromium.org/p/chromium/issues/detail?id=438323#c64 In addition to scale decoding for JPEG (there might also be a possibility for tile decoding for JPEGs), there is another full size image copy we can save on for scaled (and here for tile/subrect decoding). https://bugs.chromium.org/p/chromium/issues/detail?id=438323#c64 |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Dec 7 2016