Chromium Code Reviews
Descriptioncc: Create raster tasks in AssignGpuMemoryToTiles.
Currently the raster task creation is done in
TileManager::ScheduleTasks, which is after all the prioritized work has
been created in AssignGpuMemoryToTiles.
In order to align the prioritization of images decoded by the
CheckerImageTracker, we need to create a decode queue for images
decoded by the tracker as we iterate through the tiles in raster
priority order. This is done in AssignGpuMemoryToTiles.
In the case of checker-imaged tiles, we don't need to add them to
tiles_to_raster since they have a valid resource. But we do need to
decode images currently being checkered on them. Since the priorities
for checker-imaged tiles and tiles requiring raster are interleaved, the
analysis for images and building of the decode queue needs to be done
during the iteration for all tiles.
This change moves raster task creation, where the image analysis is
performed, from ScheduleTasks to AssignGpuMemoryToTiles. Since
ScheduleTasks only iterates through tiles_to_raster while
AssignGpuMemoryToTiles will iterate through both, tiles requiring raster
and checker-imaged tiles.
BUG=689184
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2822493003
Cr-Commit-Position: refs/heads/master@{#464792}
Committed: https://chromium.googlesource.com/chromium/src/+/757e34b1e982b37a0333c87b3cd4184bd712c5b5
Patch Set 1 #
Total comments: 1
Patch Set 2 : disabled-by-default #Messages
Total messages: 14 (10 generated)
|