add gpu impl for shadermaskfilter
adds MulChildAlphaByInput
renames MulOutputByInputAlpha --> MulChildByInputAlpha
Bug: skia:7500
Change-Id: Ic0615d4d23a887fbee510901ed77a36f98a1b11d
Reviewed-on: https://skia-review.googlesource.com/102440
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/gm/shadermaskfilter.cpp b/gm/shadermaskfilter.cpp
index 8011b45..73a9cda 100644
--- a/gm/shadermaskfilter.cpp
+++ b/gm/shadermaskfilter.cpp
@@ -22,6 +22,7 @@
mf = SkMaskFilter::MakeCompose(outer, mf);
}
paint.setMaskFilter(mf);
+ paint.setAntiAlias(true);
canvas->drawImage(image, x, y, &paint);
}
@@ -45,6 +46,7 @@
SkPaint paint;
paint.setMaskFilter(mf);
paint.setColor(SK_ColorRED);
+ paint.setAntiAlias(true);
canvas->drawOval(r, paint);
}