| Index: src/core/SkRTree.h
|
| diff --git a/src/core/SkRTree.h b/src/core/SkRTree.h
|
| index 2d11f28a5739a21c69da94c999db80562196ced9..e8140c94d7fe7e1e7865d5c53b20bc2841382fc0 100644
|
| --- a/src/core/SkRTree.h
|
| +++ b/src/core/SkRTree.h
|
| @@ -55,7 +55,8 @@ public:
|
| * can provide an optional aspect ratio parameter. This allows the bulk-load algorithm to create
|
| * better proportioned tiles of rectangles.
|
| */
|
| - static SkRTree* Create(int minChildren, int maxChildren, SkScalar aspectRatio = 1);
|
| + static SkRTree* Create(int minChildren, int maxChildren, SkScalar aspectRatio = 1,
|
| + bool orderWhenBulkLoading = false);
|
| virtual ~SkRTree();
|
|
|
| /**
|
| @@ -144,7 +145,7 @@ private:
|
| }
|
| };
|
|
|
| - SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio);
|
| + SkRTree(int minChildren, int maxChildren, SkScalar aspectRatio, bool orderWhenBulkLoading);
|
|
|
| /**
|
| * Recursively descend the tree to find an insertion position for 'branch', updates
|
| @@ -184,6 +185,7 @@ private:
|
| SkChunkAlloc fNodes;
|
| SkTDArray<Branch> fDeferredInserts;
|
| SkScalar fAspectRatio;
|
| + bool fOrderWhenBulkLoading;
|
|
|
| Node* allocateNode(uint16_t level);
|
|
|
|
|