Index: src/gpu/effects/GrDistanceFieldGeoProc.cpp |
diff --git a/src/gpu/effects/GrDistanceFieldGeoProc.cpp b/src/gpu/effects/GrDistanceFieldGeoProc.cpp |
index 90a08986866662dbbdd5ebbd6b1d0e4fbc17d124..42a9411a642686e2e6bc73c125e81d6d17870de1 100644 |
--- a/src/gpu/effects/GrDistanceFieldGeoProc.cpp |
+++ b/src/gpu/effects/GrDistanceFieldGeoProc.cpp |
@@ -213,10 +213,10 @@ GrDistanceFieldA8TextGeoProc::GrDistanceFieldA8TextGeoProc(GrColor color, |
float distanceAdjust, |
#endif |
uint32_t flags, |
- bool usesLocalCoords) |
+ bool usesLocalCoords, GrRenderTarget* dst) |
: fColor(color) |
, fViewMatrix(viewMatrix) |
- , fTextureAccess(texture, params) |
+ , fTextureAccess(texture, params, dst) |
#ifdef SK_GAMMA_APPLY_TO_A8 |
, fDistanceAdjust(distanceAdjust) |
#endif |
@@ -271,7 +271,7 @@ const GrGeometryProcessor* GrDistanceFieldA8TextGeoProc::TestCreate(GrProcessorT |
#endif |
d->fRandom->nextBool() ? |
kSimilarity_DistanceFieldEffectFlag : 0, |
- d->fRandom->nextBool()); |
+ d->fRandom->nextBool(), NULL); |
} |
/////////////////////////////////////////////////////////////////////////////// |
@@ -433,10 +433,10 @@ GrDistanceFieldPathGeoProc::GrDistanceFieldPathGeoProc( |
GrTexture* texture, |
const GrTextureParams& params, |
uint32_t flags, |
- bool usesLocalCoords) |
+ bool usesLocalCoords, GrRenderTarget* dst) |
: fColor(color) |
, fViewMatrix(viewMatrix) |
- , fTextureAccess(texture, params) |
+ , fTextureAccess(texture, params, dst) |
, fFlags(flags & kNonLCD_DistanceFieldEffectMask) |
, fInColor(nullptr) |
, fUsesLocalCoords(usesLocalCoords) { |
@@ -486,7 +486,7 @@ const GrGeometryProcessor* GrDistanceFieldPathGeoProc::TestCreate(GrProcessorTes |
params, |
d->fRandom->nextBool() ? |
kSimilarity_DistanceFieldEffectFlag : 0, |
- d->fRandom->nextBool()); |
+ d->fRandom->nextBool(), NULL); |
} |
/////////////////////////////////////////////////////////////////////////////// |
@@ -706,10 +706,10 @@ GrDistanceFieldLCDTextGeoProc::GrDistanceFieldLCDTextGeoProc( |
GrColor color, const SkMatrix& viewMatrix, |
GrTexture* texture, const GrTextureParams& params, |
DistanceAdjust distanceAdjust, |
- uint32_t flags, bool usesLocalCoords) |
+ uint32_t flags, bool usesLocalCoords, GrRenderTarget* dst) |
: fColor(color) |
, fViewMatrix(viewMatrix) |
- , fTextureAccess(texture, params) |
+ , fTextureAccess(texture, params, dst) |
, fDistanceAdjust(distanceAdjust) |
, fFlags(flags & kLCD_DistanceFieldEffectMask) |
, fUsesLocalCoords(usesLocalCoords) { |
@@ -758,5 +758,5 @@ const GrGeometryProcessor* GrDistanceFieldLCDTextGeoProc::TestCreate(GrProcessor |
d->fTextures[texIdx], params, |
wa, |
flags, |
- d->fRandom->nextBool()); |
+ d->fRandom->nextBool(), NULL); |
} |