aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-03-18 11:49:12 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-18 11:49:12 -0700
commit5efb8b8407c956b7fbb85236f3f538f2a104fe98 (patch)
tree0bbd26b5a43e3346a9a3a17624f6611f95a95801 /src/gpu/SkGpuDevice.h
parent97ca98d74e1a79798d7786cd4716c779380dc57f (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.h4
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();