Update MDB flags to match switches in Chrome & Android
Change-Id: Ifea5879ab83499c9b1a3572747088f9233b20074
Reviewed-on: https://skia-review.googlesource.com/69540
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp
index 1aaa6f7..cce5471 100644
--- a/src/gpu/GrDrawingManager.cpp
+++ b/src/gpu/GrDrawingManager.cpp
@@ -129,7 +129,7 @@
}
#endif
-#ifdef ENABLE_MDB_SORT
+#ifndef SK_DISABLE_RENDER_TARGET_SORTING
SkDEBUGCODE(bool result =)
SkTTopoSort<GrOpList, GrOpList::TopoSortTraits>(&fOpLists);
SkASSERT(result);
@@ -177,7 +177,7 @@
fOpLists[i]->gatherProxyIntervals(&alloc);
}
-#ifdef MDB_ALLOC_RESOURCES
+#ifndef SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION
alloc.assign();
#endif
}