| Index: src/gpu/effects/GrDistanceFieldGeoProc.h
|
| diff --git a/src/gpu/effects/GrDistanceFieldGeoProc.h b/src/gpu/effects/GrDistanceFieldGeoProc.h
|
| index ad8cf972f1bea59a48adb80659e5d3e02348c6ac..a7e9b77626fb1ff16a1710ee910cb2a0cf4c2820 100644
|
| --- a/src/gpu/effects/GrDistanceFieldGeoProc.h
|
| +++ b/src/gpu/effects/GrDistanceFieldGeoProc.h
|
| @@ -49,9 +49,9 @@ public:
|
| #ifdef SK_GAMMA_APPLY_TO_A8
|
| static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix,
|
| GrTexture* tex, const GrTextureParams& params,
|
| - float lum, uint32_t flags, bool usesLocalCoords) {
|
| + float lum, uint32_t flags, bool usesLocalCoords, GrRenderTarget* dst) {
|
| return new GrDistanceFieldA8TextGeoProc(color, viewMatrix, tex, params, lum, flags,
|
| - usesLocalCoords);
|
| + usesLocalCoords, dst);
|
| }
|
| #else
|
| static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix,
|
| @@ -89,7 +89,7 @@ private:
|
| #ifdef SK_GAMMA_APPLY_TO_A8
|
| float distanceAdjust,
|
| #endif
|
| - uint32_t flags, bool usesLocalCoords);
|
| + uint32_t flags, bool usesLocalCoords, GrRenderTarget* dst);
|
|
|
| GrColor fColor;
|
| SkMatrix fViewMatrix;
|
| @@ -119,9 +119,9 @@ class GrDistanceFieldPathGeoProc : public GrGeometryProcessor {
|
| public:
|
| static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix, GrTexture* tex,
|
| const GrTextureParams& params,
|
| - uint32_t flags, bool usesLocalCoords) {
|
| + uint32_t flags, bool usesLocalCoords, GrRenderTarget* dst) {
|
| return new GrDistanceFieldPathGeoProc(color, viewMatrix, tex, params, flags,
|
| - usesLocalCoords);
|
| + usesLocalCoords, dst);
|
| }
|
|
|
| virtual ~GrDistanceFieldPathGeoProc() {}
|
| @@ -145,7 +145,7 @@ public:
|
| private:
|
| GrDistanceFieldPathGeoProc(GrColor, const SkMatrix& viewMatrix, GrTexture* texture,
|
| const GrTextureParams& params, uint32_t flags,
|
| - bool usesLocalCoords);
|
| + bool usesLocalCoords, GrRenderTarget* dst);
|
|
|
| GrColor fColor;
|
| SkMatrix fViewMatrix;
|
| @@ -187,9 +187,9 @@ public:
|
| static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix,
|
| GrTexture* tex, const GrTextureParams& params,
|
| DistanceAdjust distanceAdjust, uint32_t flags,
|
| - bool usesLocalCoords) {
|
| + bool usesLocalCoords, GrRenderTarget* dst) {
|
| return new GrDistanceFieldLCDTextGeoProc(color, viewMatrix, tex, params, distanceAdjust,
|
| - flags, usesLocalCoords);
|
| + flags, usesLocalCoords, dst);
|
| }
|
|
|
| virtual ~GrDistanceFieldLCDTextGeoProc() {}
|
| @@ -213,7 +213,7 @@ private:
|
| GrDistanceFieldLCDTextGeoProc(GrColor, const SkMatrix& viewMatrix,
|
| GrTexture* texture, const GrTextureParams& params,
|
| DistanceAdjust wa, uint32_t flags,
|
| - bool usesLocalCoords);
|
| + bool usesLocalCoords, GrRenderTarget* dst);
|
|
|
| GrColor fColor;
|
| SkMatrix fViewMatrix;
|
|
|