Descriptioncc: Add scaling for checkered images.
Currently checkered images are decoded at original size. Since the GPU
image decode cache assumes that any decodes it has seen will also be
used with raster, it uploads and keeps this decode both in discardable
and in GPU memory, even if each use of this image at raster is
downscaled, thereby increasing memory usage.
This change has checker-imaging use the max raster scale and quality
seen for an image before starting the decode, which has the max
possibility of the image being used by the GPU cache.
BUG=728796
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2928433003
Cr-Commit-Position: refs/heads/master@{#477891}
Committed: https://chromium.googlesource.com/chromium/src/+/98125cbd86d41a4f9b7915ac2b67197f20b130b2
Patch Set 1 #Patch Set 2 : fixd tests #
Total comments: 10
Patch Set 3 : comments #
Total comments: 2
Patch Set 4 : .. #Patch Set 5 : rebase #Patch Set 6 : .. #
Dependent Patchsets: Messages
Total messages: 25 (14 generated)
|