diff options
author | 2014-05-19 19:35:57 +0000 | |
---|---|---|
committer | 2014-05-19 19:35:57 +0000 | |
commit | 3595f88aff0a1b490aa6661f0ba2d3534ee86353 (patch) | |
tree | 4eecd9143b57a487722feab10a60fbaf0868961c /src/gpu/effects/GrDashingEffect.h | |
parent | 584f337832d585e23037e59517f7bcc420424692 (diff) |
Pass in GrContext instead of SkGpuDevice for dashing and Sk2GrPaint conversion
BUG=skia:
R=bsalomon@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/292773002
git-svn-id: http://skia.googlecode.com/svn/trunk@14790 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects/GrDashingEffect.h')
-rw-r--r-- | src/gpu/effects/GrDashingEffect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrDashingEffect.h b/src/gpu/effects/GrDashingEffect.h index a1c2829fb8..0ed1cf031e 100644 --- a/src/gpu/effects/GrDashingEffect.h +++ b/src/gpu/effects/GrDashingEffect.h @@ -12,13 +12,13 @@ #include "GrTypesPriv.h" #include "SkPathEffect.h" -class SkGpuDevice; +class GrContext; class GrGLDashingEffect; class SkPath; namespace GrDashingEffect { - bool DrawDashLine(const SkPoint pnts[2], const SkPaint& paint, SkGpuDevice* dev); + bool DrawDashLine(const SkPoint pnts[2], const SkPaint& paint, GrContext* context); /** * An effect that renders a dashed line. It is intended to be used as a coverage effect. |