Index: src/core/SkPicture.cpp |
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp |
index 1aa45284aaf9624b5d3f7c2cde0ba1f7eb31e489..f70f16ee5f363c818c6d56dc8e0d13a18da4a547 100644 |
--- a/src/core/SkPicture.cpp |
+++ b/src/core/SkPicture.cpp |
@@ -232,8 +232,10 @@ SkBBoxHierarchy* SkPicture::createBBoxHierarchy() const { |
SkScalar aspectRatio = SkScalarDiv(SkIntToScalar(fWidth), |
SkIntToScalar(fHeight)); |
+ bool sortDraws = false; // Do not sort draw calls when bulk loading. |
+ |
return SkRTree::Create(kRTreeMinChildren, kRTreeMaxChildren, |
- aspectRatio); |
+ aspectRatio, sortDraws); |
} |
SkCanvas* SkPicture::getRecordingCanvas() const { |