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

Unified Diff: src/core/SkPictureData.cpp

Issue 471063004: Stop sorting the results of SkBBH::search(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 4 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 | « dm/DMCpuGMTask.cpp ('k') | src/core/SkRecordDraw.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureData.cpp
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp
index ea9da79aa34dd7b8c159fd710e91c7ce77177165..2bcf7798cce4bc630fc640e293985525333f1ffe 100644
--- a/src/core/SkPictureData.cpp
+++ b/src/core/SkPictureData.cpp
@@ -589,14 +589,7 @@ const SkPicture::OperationList* SkPictureData::getActiveOps(const SkIRect& query
}
SkPicture::OperationList* activeOps = SkNEW(SkPicture::OperationList);
-
fBoundingHierarchy->search(query, &(activeOps->fOps));
- if (0 != activeOps->fOps.count()) {
- SkTQSort<SkPictureStateTree::Draw>(
- reinterpret_cast<SkPictureStateTree::Draw**>(activeOps->fOps.begin()),
- reinterpret_cast<SkPictureStateTree::Draw**>(activeOps->fOps.end()-1));
- }
-
return activeOps;
}
« no previous file with comments | « dm/DMCpuGMTask.cpp ('k') | src/core/SkRecordDraw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698