| Index: src/effects/GrCircleBlurFragmentProcessor.h
|
| diff --git a/src/effects/GrCircleBlurFragmentProcessor.h b/src/effects/GrCircleBlurFragmentProcessor.h
|
| index 4d39ec8e11f661c76f09a028b51e5d6e7151bc3e..5a64da45d33dbbe46d6a55af51124d3c913b5128 100644
|
| --- a/src/effects/GrCircleBlurFragmentProcessor.h
|
| +++ b/src/effects/GrCircleBlurFragmentProcessor.h
|
| @@ -26,17 +26,17 @@ public:
|
| const char* name() const override { return "CircleBlur"; }
|
|
|
| static const GrFragmentProcessor* Create(GrTextureProvider*textureProvider,
|
| - const SkRect& circle, float sigma) {
|
| + const SkRect& circle, float sigma, GrRenderTarget* dstRT) {
|
| float offset;
|
|
|
| SkAutoTUnref<GrTexture> blurProfile(CreateCircleBlurProfileTexture(textureProvider,
|
| circle,
|
| sigma,
|
| - &offset));
|
| + &offset, dstRT));
|
| if (!blurProfile) {
|
| return nullptr;
|
| }
|
| - return new GrCircleBlurFragmentProcessor(circle, sigma, offset, blurProfile);
|
| + return new GrCircleBlurFragmentProcessor(circle, sigma, offset, blurProfile, dstRT);
|
| }
|
|
|
| const SkRect& circle() const { return fCircle; }
|
| @@ -46,7 +46,7 @@ public:
|
|
|
| private:
|
| GrCircleBlurFragmentProcessor(const SkRect& circle, float sigma,
|
| - float offset, GrTexture* blurProfile);
|
| + float offset, GrTexture* blurProfile, GrRenderTarget* dstRT);
|
|
|
| GrGLFragmentProcessor* onCreateGLInstance() const override;
|
|
|
| @@ -62,7 +62,8 @@ private:
|
|
|
| static GrTexture* CreateCircleBlurProfileTexture(GrTextureProvider*,
|
| const SkRect& circle,
|
| - float sigma, float* offset);
|
| + float sigma, float* offset,
|
| + GrRenderTarget* dstRT);
|
|
|
| SkRect fCircle;
|
| float fSigma;
|
|
|