aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBBHFactory.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-08-26 14:07:04 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-26 14:07:04 -0700
commit2a65a238b0e688356aee09d08f3f8a317359b4d2 (patch)
tree4ba271569b87c2e01d6e5451d8074c433f8d1d99 /src/core/SkBBHFactory.cpp
parent8a914a76501d0bb4c60f8dbd1ae39c864688695b (diff)
Remove SkQuadTree.
We're not testing it to the same degree we do RTree and TileGrid. Any changes we'll make to BBH APIs become 33% easier without it. If find we want it again, we can always resurrect it. BUG=skia:1021,skia:2834 R=robertphillips@google.com, mtklein@google.com TBR=reed Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/500373005
Diffstat (limited to 'src/core/SkBBHFactory.cpp')
-rw-r--r--src/core/SkBBHFactory.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/SkBBHFactory.cpp b/src/core/SkBBHFactory.cpp
index 21a95fe058..c895ff60fb 100644
--- a/src/core/SkBBHFactory.cpp
+++ b/src/core/SkBBHFactory.cpp
@@ -6,15 +6,10 @@
*/
#include "SkBBHFactory.h"
-#include "SkQuadTree.h"
#include "SkRTree.h"
#include "SkTileGrid.h"
-SkBBoxHierarchy* SkQuadTreeFactory::operator()(int width, int height) const {
- return SkNEW_ARGS(SkQuadTree, (SkIRect::MakeWH(width, height)));
-}
-
SkBBoxHierarchy* SkRTreeFactory::operator()(int width, int height) const {
// These values were empirically determined to produce reasonable
// performance in most cases.