Change architecture #defines to be SK_GPU_V1 and SK_GPU_V2
A strictly mechanical CL
Bug: skia:11837
Change-Id: Id794d1fefe261d685b19e5d4d599cdab5e021cf7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/424038
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 46da592..d9a3e9d 100644
--- a/src/gpu/GrDrawingManager.cpp
+++ b/src/gpu/GrDrawingManager.cpp
@@ -45,12 +45,12 @@
#include "src/gpu/text/GrSDFTControl.h"
#include "src/image/SkSurface_Gpu.h"
-#if GR_OGA
+#if SK_GPU_V1
#include "src/gpu/GrSoftwarePathRenderer.h"
#endif
///////////////////////////////////////////////////////////////////////////////////////////////////
-#if GR_OGA
+#if SK_GPU_V1
GrDrawingManager::GrDrawingManager(GrRecordingContext* rContext,
const GrPathRendererChain::Options& optionsForPathRendererChain,
bool reduceOpsTaskSplitting)
@@ -87,7 +87,7 @@
}
}
-#if GR_OGA
+#if SK_GPU_V1
// a path renderer may be holding onto resources
fPathRendererChain = nullptr;
fSoftwarePathRenderer = nullptr;
@@ -916,7 +916,7 @@
return true;
}
-#if GR_OGA
+#if SK_GPU_V1
/*
* This method finds a path renderer that can draw the specified path on
* the provided target.
@@ -967,7 +967,7 @@
return fPathRendererChain->getTessellationPathRenderer();
}
-#endif // GR_OGA
+#endif // SK_GPU_V1
void GrDrawingManager::flushIfNecessary() {
auto direct = fContext->asDirectContext();