DescriptionInitial QuadTree implementation
In an effort to find a faster bounding box hierarchy than the R-Tree, a QuadTree has been implemented here.
For now, the QuadTree construction is generally faster than the R-Tree and the queries are a bit slower, so overall, SKP local tests showed QuadTree performance similar to the R-Tree performance.
Tests and bench are included in this cl.
At this point, I'd like to be able to commit this in order to more easily use the bots to test multiple configurations and a larger number of SKPs. The R-Tree BBH is still used by default so this change shouldn't affect chromium.
BUG=skia:
Committed: http://code.google.com/p/skia/source/detail?r=13282
Patch Set 1 #Patch Set 2 : Merged RTree and QuadTree tests and added QuadTree to SampleApp #
Total comments: 8
Patch Set 3 : Fixed comments #
Total comments: 8
Patch Set 4 : Moved Data struct to cpp file #Patch Set 5 : Moved SkQuadTreePicture.h #Patch Set 6 : Removed SkQuadTreePicture.h from public headers #
Total comments: 4
Patch Set 7 : Modified getDepth() description #Patch Set 8 : Trying upload again #
Total comments: 2
Patch Set 9 : Dox updatewq #Patch Set 10 : Dox update #Patch Set 11 : Update to ToT #
Total comments: 2
Patch Set 12 : Fixing nits #Patch Set 13 : Fixed SkScalar conversion issue #
Messages
Total messages: 32 (0 generated)
|