diff options
author | joshualitt <joshualitt@chromium.org> | 2015-03-18 11:49:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-18 11:49:12 -0700 |
commit | 5efb8b8407c956b7fbb85236f3f538f2a104fe98 (patch) | |
tree | 0bbd26b5a43e3346a9a3a17624f6611f95a95801 /src/gpu/SkGpuDevice.h | |
parent | 97ca98d74e1a79798d7786cd4716c779380dc57f (diff) |
Simple patch to have draw path call an internal drawPath
The purpose of this patch is to expose an internal draw path call which text contexts can use.
BUG=skia:
Review URL: https://codereview.chromium.org/1012143005
Diffstat (limited to 'src/gpu/SkGpuDevice.h')
-rw-r--r-- | src/gpu/SkGpuDevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h index 50aa58685f..af6dd0bcc2 100644 --- a/src/gpu/SkGpuDevice.h +++ b/src/gpu/SkGpuDevice.h @@ -199,6 +199,10 @@ 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 SkPicture::AccelData::Key ComputeAccelDataKey(); |