Index: src/effects/GrCircleBlurFragmentProcessor.h |
diff --git a/src/effects/GrCircleBlurFragmentProcessor.h b/src/effects/GrCircleBlurFragmentProcessor.h |
index 4d39ec8e11f661c76f09a028b51e5d6e7151bc3e..239c67deb6796ebc90e0adb32f0ab47bef8640bf 100644 |
--- a/src/effects/GrCircleBlurFragmentProcessor.h |
+++ b/src/effects/GrCircleBlurFragmentProcessor.h |
@@ -8,6 +8,7 @@ |
#ifndef GrCircleBlurFragmentProcessor_DEFINED |
#define GrCircleBlurFragmentProcessor_DEFINED |
+#include "SkString.h" |
#include "SkTypes.h" |
#if SK_SUPPORT_GPU |
@@ -25,6 +26,14 @@ public: |
const char* name() const override { return "CircleBlur"; } |
+ SkString dumpInfo() const override { |
+ SkString str; |
+ str.appendf("Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f], Sigma %.2f, Offset: %.2f", |
+ fCircle.fLeft, fCircle.fTop, fCircle.fRight, fCircle.fBottom, |
+ fSigma, fOffset); |
+ return str; |
+ } |
+ |
static const GrFragmentProcessor* Create(GrTextureProvider*textureProvider, |
const SkRect& circle, float sigma) { |
float offset; |