diff options
author | robertphillips <robertphillips@google.com> | 2015-11-30 05:45:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-30 05:45:06 -0800 |
commit | 0e7029eaef917d314475dcc9df9df174af88de52 (patch) | |
tree | 80a47cc25bc13a911aa701b6484a85aa69b55d30 /src/gpu/GrBlurUtils.h | |
parent | 09f8e1b14e5096741bc1c28145acdb352d66ef58 (diff) |
Clean up Ganesh path render a little bit
I'm not sure if this is an improvement but this is an attempt to start moving the handling of pathEffects up the call stack (ideally to SkGpuDevice).
Note that the duplicate path sniffing in GrDrawContext::drawPath is still useful since it can be invoked if a path has to be explicitly drawn for a mask filter.
Review URL: https://codereview.chromium.org/1472333003
Diffstat (limited to 'src/gpu/GrBlurUtils.h')
-rw-r--r-- | src/gpu/GrBlurUtils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrBlurUtils.h b/src/gpu/GrBlurUtils.h index d64f492473..1de669c5d6 100644 --- a/src/gpu/GrBlurUtils.h +++ b/src/gpu/GrBlurUtils.h @@ -53,7 +53,8 @@ namespace GrBlurUtils { const SkMatrix& viewMatrix, const SkMaskFilter*, const SkPathEffect*, - const GrStrokeInfo&); + const GrStrokeInfo&, + bool pathIsMutable); }; |