Made shadows blurry (thru implementing variance mapping)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2224163005
Review-Url: https://codereview.chromium.org/2224163005
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h
index d3f2908..2e5f9c6 100644
--- a/tools/debugger/SkDrawCommand.h
+++ b/tools/debugger/SkDrawCommand.h
@@ -480,7 +480,8 @@
public:
SkBeginDrawShadowedPictureCommand(const SkPicture* picture,
const SkMatrix* matrix,
- const SkPaint* paint);
+ const SkPaint* paint,
+ const SkShadowParams& params);
void execute(SkCanvas* canvas) const override;
bool render(SkCanvas* canvas) const override;
@@ -489,6 +490,9 @@
SkAutoTUnref<const SkPicture> fPicture;
SkTLazy<SkMatrix> fMatrix;
SkTLazy<SkPaint> fPaint;
+#ifdef SK_EXPERIMENTAL_SHADOWING
+ SkShadowParams fShadowParams;
+#endif
typedef SkDrawCommand INHERITED;
};
@@ -796,3 +800,4 @@
typedef SkDrawCommand INHERITED;
};
#endif
+