Descriptioncc: Move pre-decoding for checkerable images to image worker.
Currently images for pre-decoded but not pre-painted tiles are decoded
on the background tile worker, even for checkerable images. This has
the following downsides:
1) It creates cases where decoding of images for lower priority
pre-decode tiles starts pre-empting a higher priority decode running on
the image worker.
2) Since the checker image tracking is not aware of pre-decoded images,
we still checker them when these tiles are first rasterized, even while
the image could be currently locked in the decode cache.
3) If the image is in both pre-paint and pre-decode region, then we
could be decoding them on both, the raster worker and image worker.
This change moves decoding of checkerable images for these tiles to the
image worker, similar to the rasterized tiles. While invalidating is
not neccesary for these images, we use the same mechanism in order to
generate tasks for uploading these images in the GPU cache.
BUG=728796
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2924233002
Cr-Commit-Position: refs/heads/master@{#482062}
Committed: https://chromium.googlesource.com/chromium/src/+/de93e30d4aa72f1c1a5c88e2aafba0021697b351
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : .. #Patch Set 4 : .. #Patch Set 5 : .. #
Total comments: 8
Patch Set 6 : addressed comments #
Total comments: 14
Patch Set 7 : .. #Patch Set 8 : .. #Patch Set 9 : rebase #Patch Set 10 : export #
Total comments: 10
Patch Set 11 : addressed comments #Patch Set 12 : .. #Patch Set 13 : test #Patch Set 14 : rebase #Patch Set 15 : flake is flaky. T_T #
Messages
Total messages: 50 (29 generated)
|