Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index 41ee15917f44c60b71a3aecd7044debeea61aa57..2044d3597a8a313a7b56e79ae07574e7e36b0975 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -39,6 +39,7 @@ class GrTestTarget; |
class GrTextureParams; |
class GrVertexBuffer; |
class GrVertexBufferAllocPool; |
+class GrStrokeInfo; |
class GrSoftwarePathRenderer; |
class SkStrokeRec; |
@@ -463,7 +464,7 @@ public: |
*/ |
void drawRect(const GrPaint& paint, |
const SkRect&, |
- const SkStrokeRec* stroke = NULL, |
+ const GrStrokeInfo* strokeInfo = NULL, |
const SkMatrix* matrix = NULL); |
/** |
@@ -492,7 +493,7 @@ public: |
* @param rrect the roundrect to draw |
robertphillips
2014/06/05 18:27:59
strokeInfo ?
|
* @param stroke the stroke information (width, join, cap) |
*/ |
- void drawRRect(const GrPaint& paint, const SkRRect& rrect, const SkStrokeRec& stroke); |
+ void drawRRect(const GrPaint& paint, const SkRRect& rrect, const GrStrokeInfo& strokeInfo); |
/** |
* Shortcut for drawing an SkPath consisting of nested rrects using a paint. |
@@ -513,7 +514,7 @@ public: |
* @param path the path to draw |
robertphillips
2014/06/05 18:28:00
strokeInfo ?
|
* @param stroke the stroke information (width, join, cap) |
*/ |
- void drawPath(const GrPaint& paint, const SkPath& path, const SkStrokeRec& stroke); |
+ void drawPath(const GrPaint& paint, const SkPath& path, const GrStrokeInfo& strokeInfo); |
/** |
* Draws vertices with a paint. |
@@ -549,7 +550,7 @@ public: |
*/ |
void drawOval(const GrPaint& paint, |
const SkRect& oval, |
- const SkStrokeRec& stroke); |
+ const GrStrokeInfo& strokeInfo); |
/////////////////////////////////////////////////////////////////////////// |
// Misc. |
@@ -995,7 +996,7 @@ private: |
GrDrawTarget* prepareToDraw(const GrPaint*, BufferedDraw, AutoRestoreEffects*, AutoCheckFlush*); |
void internalDrawPath(GrDrawTarget* target, bool useAA, const SkPath& path, |
- const SkStrokeRec& stroke); |
+ const GrStrokeInfo& stroke); |
GrTexture* createResizedTexture(const GrTextureDesc& desc, |
const GrCacheID& cacheID, |