Move Software and Small PathRenderers to skgpu::v1 namespace
Bug: skia:11837
Change-Id: Ia34f1840aaa7360ea9a3ca40fef5cb96b68c6ca3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439781
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp
index 9298588..2809a23 100644
--- a/src/gpu/GrDrawingManager.cpp
+++ b/src/gpu/GrDrawingManager.cpp
@@ -45,7 +45,7 @@
#if SK_GPU_V1
#include "src/gpu/GrOpsTask.h"
-#include "src/gpu/GrSoftwarePathRenderer.h"
+#include "src/gpu/ops/SoftwarePathRenderer.h"
#endif
///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -965,9 +965,8 @@
GrPathRenderer* GrDrawingManager::getSoftwarePathRenderer() {
if (!fSoftwarePathRenderer) {
- fSoftwarePathRenderer.reset(
- new GrSoftwarePathRenderer(fContext->priv().proxyProvider(),
- fOptionsForPathRendererChain.fAllowPathMaskCaching));
+ fSoftwarePathRenderer.reset(new skgpu::v1::SoftwarePathRenderer(
+ fContext->priv().proxyProvider(), fOptionsForPathRendererChain.fAllowPathMaskCaching));
}
return fSoftwarePathRenderer.get();
}