diff options
author | 2015-05-27 11:02:55 -0700 | |
---|---|---|
committer | 2015-05-27 11:02:55 -0700 | |
commit | ccb1b5751075506b4615d2112889d01ee8ad6436 (patch) | |
tree | 84bac0d48ad26f2f3bdb8c4b2ddeb95bb3459750 /src/gpu/SkGpuDevice.h | |
parent | 24a366a03756d7a8755f940d3160698cf9122cc0 (diff) |
Move SkGpuDevice::internalDrawPath to GrBlurUtils::drawPathWithMaskFilter
This CL is ugly but it:
removes the stored SkGpuDevice back pointer from GrTextContext (at the cost of passing more parameters)
moves SkGpuDevice::internalDrawPath to GrDrawContext::drawPathFull
Unfortunately, the GrTextContext-derived classes still need the SkGpuDevice for filterTextFlags calls but I will try removing that in a separate CL.
Review URL: https://codereview.chromium.org/1157773003
Diffstat (limited to 'src/gpu/SkGpuDevice.h')
-rw-r--r-- | src/gpu/SkGpuDevice.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h index 1356a6f0fb..d7dceed89d 100644 --- a/src/gpu/SkGpuDevice.h +++ b/src/gpu/SkGpuDevice.h @@ -212,10 +212,6 @@ private: int tileSize, bool bicubic); - void internalDrawPath(const SkPath& origSrcPath, const SkPaint& paint, - const SkMatrix& origViewMatrix, const SkMatrix* prePathMatrix, - const SkIRect& clipBounds, bool pathIsMutable); - bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, const SkImageInfo&, |