| Index: src/core/SkRTree.h
|
| diff --git a/src/core/SkRTree.h b/src/core/SkRTree.h
|
| index 0d88804c3071a9d5f5fe3c61c71bbdf0f4768325..00c6c8941da9e64d366bae18912183204c60b6cf 100644
|
| --- a/src/core/SkRTree.h
|
| +++ b/src/core/SkRTree.h
|
| @@ -59,24 +59,7 @@ public:
|
| bool orderWhenBulkLoading = true);
|
| virtual ~SkRTree();
|
|
|
| - /**
|
| - * Insert a node, consisting of bounds and a data value into the tree, if we don't immediately
|
| - * need to use the tree; we may allow the insert to be deferred (this can allow us to bulk-load
|
| - * a large batch of nodes at once, which tends to be faster and produce a better tree).
|
| - * @param opIndex The data value
|
| - * @param bounds The corresponding bounding box
|
| - * @param defer Can this insert be deferred? (this may be ignored)
|
| - */
|
| - virtual void insert(unsigned opIndex, const SkRect& bounds, bool defer = false) SK_OVERRIDE;
|
| -
|
| - /**
|
| - * If any inserts have been deferred, this will add them into the tree
|
| - */
|
| - virtual void flushDeferredInserts() SK_OVERRIDE;
|
| -
|
| - /**
|
| - * Given a query rectangle, populates the passed-in array with the elements it intersects
|
| - */
|
| + virtual void insert(SkAutoTMalloc<SkRect>* boundsArray, int N) SK_OVERRIDE;
|
| virtual void search(const SkRect& query, SkTDArray<unsigned>* results) const SK_OVERRIDE;
|
|
|
| void clear();
|
| @@ -179,7 +162,6 @@ private:
|
|
|
| Branch fRoot;
|
| SkChunkAlloc fNodes;
|
| - SkTDArray<Branch> fDeferredInserts;
|
| SkScalar fAspectRatio;
|
| bool fSortWhenBulkLoading;
|
|
|
|
|