Added 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 Review URL: https://codereview.chromium.org/12226046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182105 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment