DescriptionAdded a vector to TileManager to explicitly track live or allocated tiles.
The new vector should be exactly the elements that AssignGpuMemoryToTiles cares about. In addition this patch fuses some loops (4 loops fused into 2). I'm measuring about a 70% performance boost to ManageTiles on my linux machine.
BUG=174707
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182105
Patch Set 1 #Patch Set 2 : fixing lint issues #
Total comments: 9
Patch Set 3 : added some minor fixes I wanted to roll into the patch #Patch Set 4 : addressing Nat's comments #Patch Set 5 : rebaselining to origin/master #
Total comments: 7
Patch Set 6 : adding unfreeable tiles to the live/active tile set and rebasing to tip of tree #Patch Set 7 : slight change to live test #
Messages
Total messages: 16 (0 generated)
|