| Index: src/gpu/GrSoftwarePathRenderer.h
|
| diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h
|
| index 1548fa69c04a5afd03c9c9b787acb380302fe903..72d967323ef386122e8642464c702fbbec5b451c 100644
|
| --- a/src/gpu/GrSoftwarePathRenderer.h
|
| +++ b/src/gpu/GrSoftwarePathRenderer.h
|
| @@ -18,7 +18,9 @@ class GrTextureProvider;
|
| */
|
| class GrSoftwarePathRenderer : public GrPathRenderer {
|
| public:
|
| - GrSoftwarePathRenderer(GrTextureProvider* texProvider) : fTexProvider(texProvider) { }
|
| + GrSoftwarePathRenderer(GrTextureProvider* texProvider, bool allowCaching)
|
| + : fTexProvider(texProvider)
|
| + , fAllowCaching(allowCaching) {}
|
| private:
|
| static void DrawNonAARect(GrDrawContext* drawContext,
|
| const GrPaint& paint,
|
| @@ -45,6 +47,7 @@ private:
|
|
|
| private:
|
| GrTextureProvider* fTexProvider;
|
| + bool fAllowCaching;
|
|
|
| typedef GrPathRenderer INHERITED;
|
| };
|
|
|