Move more Ops to skgpu::v1 namespace (take 2)

GrClearOp
GrDashOp

Bug: skia:11837
Change-Id: I9ada76c061154e769e7f486e7c57a93fd1d74907
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/444636
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/ops/DashLinePathRenderer.cpp b/src/gpu/ops/DashLinePathRenderer.cpp
index d9e51125..ccfd5ba 100644
--- a/src/gpu/ops/DashLinePathRenderer.cpp
+++ b/src/gpu/ops/DashLinePathRenderer.cpp
@@ -10,7 +10,7 @@
 #include "src/gpu/GrAuditTrail.h"
 #include "src/gpu/GrGpu.h"
 #include "src/gpu/geometry/GrStyledShape.h"
-#include "src/gpu/ops/GrDashOp.h"
+#include "src/gpu/ops/DashOp.h"
 #include "src/gpu/ops/GrMeshDrawOp.h"
 #include "src/gpu/v1/SurfaceDrawContext_v1.h"
 
@@ -22,7 +22,7 @@
     if (args.fShape->style().isDashed() && args.fShape->asLine(pts, &inverted)) {
         // We should never have an inverse dashed case.
         SkASSERT(!inverted);
-        if (!GrDashOp::CanDrawDashLine(pts, args.fShape->style(), *args.fViewMatrix)) {
+        if (!DashOp::CanDrawDashLine(pts, args.fShape->style(), *args.fViewMatrix)) {
             return CanDrawPath::kNo;
         }
         return CanDrawPath::kYes;
@@ -33,25 +33,25 @@
 bool DashLinePathRenderer::onDrawPath(const DrawPathArgs& args) {
     GR_AUDIT_TRAIL_AUTO_FRAME(args.fContext->priv().auditTrail(),
                               "DashLinePathRenderer::onDrawPath");
-    GrDashOp::AAMode aaMode;
+    DashOp::AAMode aaMode;
     switch (args.fAAType) {
         case GrAAType::kNone:
-            aaMode = GrDashOp::AAMode::kNone;
+            aaMode = DashOp::AAMode::kNone;
             break;
         case GrAAType::kMSAA:
             // In this mode we will use aa between dashes but the outer border uses MSAA. Otherwise,
             // we can wind up with external edges antialiased and internal edges unantialiased.
-            aaMode = GrDashOp::AAMode::kCoverageWithMSAA;
+            aaMode = DashOp::AAMode::kCoverageWithMSAA;
             break;
         case GrAAType::kCoverage:
-            aaMode = GrDashOp::AAMode::kCoverage;
+            aaMode = DashOp::AAMode::kCoverage;
             break;
     }
     SkPoint pts[2];
     SkAssertResult(args.fShape->asLine(pts, nullptr));
-    GrOp::Owner op =
-            GrDashOp::MakeDashLineOp(args.fContext, std::move(args.fPaint), *args.fViewMatrix, pts,
-                                     aaMode, args.fShape->style(), args.fUserStencilSettings);
+    GrOp::Owner op = DashOp::MakeDashLineOp(args.fContext, std::move(args.fPaint),
+                                            *args.fViewMatrix, pts, aaMode, args.fShape->style(),
+                                            args.fUserStencilSettings);
     if (!op) {
         return false;
     }