diff options
author | Brian Salomon <bsalomon@google.com> | 2017-01-11 13:42:54 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-11 19:56:48 +0000 |
commit | 82f44319159bb98dcacdbbec7ea643dde5ed024b (patch) | |
tree | dcd8c8a5caaac2675fcfdf48c5af67f946200c24 /src/gpu/GrBlurUtils.h | |
parent | ab273facbfe496a3d5dd798e6b4b57c41eed7f16 (diff) |
Make GrPaints move their GrProcessor ownership into GrPipelineBuilder.
This makes GrPaints usable only once. In some places we must make copies in order to issue draws with the same paint state.
Change-Id: Ie816e5185ce93a064111cad64c6880e1e21184c2
Reviewed-on: https://skia-review.googlesource.com/6844
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrBlurUtils.h')
-rw-r--r-- | src/gpu/GrBlurUtils.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrBlurUtils.h b/src/gpu/GrBlurUtils.h index be0d2fb33c..bf6d638748 100644 --- a/src/gpu/GrBlurUtils.h +++ b/src/gpu/GrBlurUtils.h @@ -49,13 +49,12 @@ namespace GrBlurUtils { GrRenderTargetContext*, const GrClip&, const SkPath& path, - GrPaint*, + GrPaint&&, GrAA, const SkMatrix& viewMatrix, const SkMaskFilter*, const GrStyle&, bool pathIsMutable); - }; #endif |