diff options
author | Brian Osman <brianosman@google.com> | 2017-08-17 16:14:25 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-17 20:33:31 +0000 |
commit | c7da1468e3de821d9be6f086086ea956bb30dbb2 (patch) | |
tree | 17a0cdd99d2c97112fe338f671858a0444bdd328 /src/gpu/ops/GrSmallPathRenderer.cpp | |
parent | 7ca9a74fef3296cdf1385785b5e817e963bb4c35 (diff) |
Move DrawToTargetWithShapeMask to GrSoftwarePathRenderer
That function has nothing to do with software masks - I claim it was only
in GrSWMaskHelper because it was used by the software path renderer.
Also trimmed some includes.
Bug: skia:
Change-Id: I6939010c70309cdc4135cb250afe85ad7b7be451
Reviewed-on: https://skia-review.googlesource.com/35821
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/ops/GrSmallPathRenderer.cpp')
-rw-r--r-- | src/gpu/ops/GrSmallPathRenderer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/ops/GrSmallPathRenderer.cpp b/src/gpu/ops/GrSmallPathRenderer.cpp index d39e458cf3..adccdb55a4 100644 --- a/src/gpu/ops/GrSmallPathRenderer.cpp +++ b/src/gpu/ops/GrSmallPathRenderer.cpp @@ -12,13 +12,12 @@ #include "GrContext.h" #include "GrDistanceFieldGenFromVector.h" #include "GrDrawOpTest.h" -#include "GrOpFlushState.h" #include "GrResourceProvider.h" -#include "GrSWMaskHelper.h" #include "GrSimpleMeshDrawOpHelper.h" #include "SkAutoMalloc.h" +#include "SkAutoPixmapStorage.h" #include "SkDistanceFieldGen.h" -#include "SkPathOps.h" +#include "SkRasterClip.h" #include "effects/GrBitmapTextGeoProc.h" #include "effects/GrDistanceFieldGeoProc.h" #include "ops/GrMeshDrawOp.h" |