aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSWMaskHelper.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-08-17 16:14:25 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-17 20:33:31 +0000
commitc7da1468e3de821d9be6f086086ea956bb30dbb2 (patch)
tree17a0cdd99d2c97112fe338f671858a0444bdd328 /src/gpu/GrSWMaskHelper.h
parent7ca9a74fef3296cdf1385785b5e817e963bb4c35 (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/GrSWMaskHelper.h')
-rw-r--r--src/gpu/GrSWMaskHelper.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpu/GrSWMaskHelper.h b/src/gpu/GrSWMaskHelper.h
index 62c1bbf292..a98d58b991 100644
--- a/src/gpu/GrSWMaskHelper.h
+++ b/src/gpu/GrSWMaskHelper.h
@@ -74,18 +74,6 @@ public:
SkBackingFit,
const SkMatrix* matrix);
- // This utility draws a path mask generated by DrawShapeMaskToTexture using a provided paint.
- // The rectangle is drawn in device space. The 'viewMatrix' will be used to ensure the correct
- // local coords are provided to any fragment processors in the paint.
- static void DrawToTargetWithShapeMask(sk_sp<GrTextureProxy>,
- GrRenderTargetContext*,
- GrPaint&& paint,
- const GrUserStencilSettings& userStencilSettings,
- const GrClip&,
- const SkMatrix& viewMatrix,
- const SkIPoint& textureOriginInDeviceSpace,
- const SkIRect& deviceSpaceRectToDraw);
-
private:
SkMatrix fMatrix;
SkAutoPixmapStorage fPixels;