Move several more PathRenderers to skgpu::v1 namespace
Bug: skia:11837
Change-Id: Ifa1da88aafcaa96e0e885facaeb849cc9963bcfe
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439938
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
diff --git a/src/gpu/ops/AAHairLinePathRenderer.h b/src/gpu/ops/AAHairLinePathRenderer.h
new file mode 100644
index 0000000..39c5646
--- /dev/null
+++ b/src/gpu/ops/AAHairLinePathRenderer.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef AAHairLinePathRenderer_DEFINED
+#define AAHairLinePathRenderer_DEFINED
+
+#include "src/gpu/GrPathRenderer.h"
+
+namespace skgpu::v1 {
+
+class AAHairLinePathRenderer final : public GrPathRenderer {
+public:
+ AAHairLinePathRenderer() = default;
+
+ const char* name() const override { return "AAHairline"; }
+
+private:
+ CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
+
+ bool onDrawPath(const DrawPathArgs&) override;
+
+ using INHERITED = GrPathRenderer;
+};
+
+} // namespace skgpu::v1
+
+#endif // AAHairLinePathRenderer_DEFINED