Move the GrTessellationPathRenderer into the skgpu::v1 namespace
Bug: skia:11837
Change-Id: Ic445e99adbe2d2ada64f98f9f516c198a247ef09
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/440876
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/samplecode/SamplePathTessellators.cpp b/samplecode/SamplePathTessellators.cpp
index 7225c1d..1a98a4a 100644
--- a/samplecode/SamplePathTessellators.cpp
+++ b/samplecode/SamplePathTessellators.cpp
@@ -182,8 +182,8 @@
SkString error;
if (!sdc || !ctx) {
error = "GPU Only.";
- } else if (!GrTessellationPathRenderer::IsSupported(*ctx->priv().caps())) {
- error = "GrTessellationPathRenderer not supported.";
+ } else if (!skgpu::v1::TessellationPathRenderer::IsSupported(*ctx->priv().caps())) {
+ error = "TessellationPathRenderer not supported.";
} else if (fMode >= Mode::kWedgeTessellate &&
!ctx->priv().caps()->shaderCaps()->tessellationSupport()) {
error.printf("%s requires hardware tessellation support.", ModeName(fMode));