Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: src/core/SkBBoxHierarchy.h

Issue 622773003: Demote getCount, getDepth, and clear to RTree-only methods. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: dox Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/RTreeBench.cpp ('k') | src/core/SkRTree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBBoxHierarchy.h
diff --git a/src/core/SkBBoxHierarchy.h b/src/core/SkBBoxHierarchy.h
index 53eabc8b884d3199597fafe65059bb25075f05d7..3382ac154e25f5a26970bdabe031d7a82358183f 100644
--- a/src/core/SkBBoxHierarchy.h
+++ b/src/core/SkBBoxHierarchy.h
@@ -44,23 +44,6 @@ public:
*/
virtual void search(const SkRect& query, SkTDArray<unsigned>* results) const = 0;
- virtual void clear() = 0;
-
- /**
- * Gets the number of insertions actually made (does not include deferred insertions)
- */
- virtual int getCount() const = 0;
-
- /**
- * Returns the depth of the currently allocated tree. The root node counts for 1 level,
- * so it should be 1 or more if there's a root node. This information provides details
- * about the underlying structure, which is useful mainly for testing purposes.
- *
- * Returns 0 if there are currently no nodes in the tree.
- * Returns -1 if the structure isn't a tree.
- */
- virtual int getDepth() const = 0;
-
private:
typedef SkRefCnt INHERITED;
};
« no previous file with comments | « bench/RTreeBench.cpp ('k') | src/core/SkRTree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698