Use stencil clips when DMSAA is supported

Never use SW masks if we can use DMSAA instead.

Bug: skia:11396
Change-Id: I44b09e352b62bd5979586fb6b9db033dd058034f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/421196
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/GrStencilMaskHelper.cpp b/src/gpu/GrStencilMaskHelper.cpp
index d75112c..dd74966 100644
--- a/src/gpu/GrStencilMaskHelper.cpp
+++ b/src/gpu/GrStencilMaskHelper.cpp
@@ -322,6 +322,9 @@
 }
 
 static GrAA supported_aa(GrSurfaceDrawContext* sdc, GrAA aa) {
+    if (sdc->canUseDynamicMSAA()) {
+        return GrAA::kYes;
+    }
     if (sdc->numSamples() > 1) {
         if (sdc->caps()->multisampleDisableSupport()) {
             return aa;