aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawingManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrDrawingManager.cpp')
-rw-r--r--src/gpu/GrDrawingManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp
index 1aaa6f7ad2..cce5471aaa 100644
--- a/src/gpu/GrDrawingManager.cpp
+++ b/src/gpu/GrDrawingManager.cpp
@@ -129,7 +129,7 @@ GrSemaphoresSubmitted GrDrawingManager::internalFlush(GrSurfaceProxy*,
}
#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 @@ GrSemaphoresSubmitted GrDrawingManager::internalFlush(GrSurfaceProxy*,
fOpLists[i]->gatherProxyIntervals(&alloc);
}
-#ifdef MDB_ALLOC_RESOURCES
+#ifndef SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION
alloc.assign();
#endif
}