Descriptioncc: GPU rasterize tiles synchronously in PrepareToDraw
This is another version of Manfred's patch to rasterize GPU tiles
synchronously.
Original: https://codereview.chromium.org/733773005/
vmiura's merge (plus fixes): https://codereview.chromium.org/807233002/
* Adds Rasterizer base class, derives a Software and Gpu rasterizer
* GpuRasterizer rasterizes the tiles synchronously
* SoftwareRasterizer does basically nothing (but returns the prepare mode)
* Gutted parts of GpuTileTaskWorkerPool, this probably needs to be removed
completely. It doesn't do real work anymore. There was investigation into
doing the raster work in this class, but it looks like we might start using
one or zero copy for gpu rasterization in the future.
* TileManager has two modes now:
* create raster tasks and do nothing
* don't create tasks and rasterize synchronously
- there was some investigation into separating these better but vmiura's
next change will start adding decode tasks. Some of this may become
more clear when his stuff is committed.
synchronously,
* There's some code duplication in TileManager, but vmiura assures me that
his patch will address that. More specifically, some of the code in
PrepareTiles will always be executed, and then removed from
SynchronouslyRasterizeTiles
* Added a test that exercises GpuRasterizer and verifies that it creates
resources
BUG=434889
Committed: https://crrev.com/2f32e4ee3c21e0bd9ca26d7fa63cf14ed49d8a3b
Cr-Commit-Position: refs/heads/master@{#309866}
Patch Set 1 #Patch Set 2 : some fixups #Patch Set 3 : tweaks #Patch Set 4 : merge with latest #Patch Set 5 : format and merge #
Total comments: 31
Patch Set 6 : address some of the review comments #
Total comments: 1
Patch Set 7 : rasterize all tiles for now #Patch Set 8 : and remove unused var #Patch Set 9 : added a unit test and split off CreateRasterizerr #Patch Set 10 : added missing case in switch #Patch Set 11 : hopefully address vmpstr's issue #Patch Set 12 : removed extra notifyreadytodraw #Patch Set 13 : merge #Patch Set 14 : merge again #
Total comments: 1
Patch Set 15 : address review comment #Patch Set 16 : why wasn't that picked up by presubmit? #
Total comments: 9
Patch Set 17 : split out some of OnRasterTaskCompleted to UpdateTileDrawInfo #
Total comments: 15
Patch Set 18 : address review comments #
Total comments: 1
Patch Set 19 : readd the continue for tiles not required for draw #
Total comments: 3
Patch Set 20 : more review comments address #Patch Set 21 : remove raw pointer #Patch Set 22 : merge again #Patch Set 23 : override added :( #Messages
Total messages: 42 (7 generated)
|