diff options
author | 2014-10-02 09:53:04 -0700 | |
---|---|---|
committer | 2014-10-02 09:53:04 -0700 | |
commit | 8f8c25eabb97da8eda488895f04f2d12cb5ea4cf (patch) | |
tree | b72d7effb991556b669b9ccadba9ab33e43ff7e6 /src/core/SkBBoxHierarchy.h | |
parent | ed48ebe39e7f06ed00b851abea1270318947c2b8 (diff) |
Demote getCount, getDepth, and clear to RTree-only methods.
We use them only to test RTree.
BUG=skia:
Review URL: https://codereview.chromium.org/622773003
Diffstat (limited to 'src/core/SkBBoxHierarchy.h')
-rw-r--r-- | src/core/SkBBoxHierarchy.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/SkBBoxHierarchy.h b/src/core/SkBBoxHierarchy.h index 53eabc8b88..3382ac154e 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; }; |