| Index: src/gpu/effects/GrDistanceFieldTextureEffect.h
|
| diff --git a/src/gpu/effects/GrDistanceFieldTextureEffect.h b/src/gpu/effects/GrDistanceFieldTextureEffect.h
|
| index dca1949c506faf89acb68d6e95c0691d3a72fff2..8c00c81c585e438b5e8db2b8f6bf580d9c273763 100644
|
| --- a/src/gpu/effects/GrDistanceFieldTextureEffect.h
|
| +++ b/src/gpu/effects/GrDistanceFieldTextureEffect.h
|
| @@ -9,7 +9,7 @@
|
| #define GrDistanceFieldTextureEffect_DEFINED
|
|
|
| #include "GrEffect.h"
|
| -#include "GrVertexEffect.h"
|
| +#include "GrGeometryProcessor.h"
|
|
|
| class GrGLDistanceFieldTextureEffect;
|
| class GrGLDistanceFieldLCDTextureEffect;
|
| @@ -38,7 +38,7 @@ enum GrDistanceFieldEffectFlags {
|
| * It allows explicit specification of the filtering and wrap modes (GrTextureParams). The input
|
| * coords are a custom attribute. Gamma correction is handled via a texture LUT.
|
| */
|
| -class GrDistanceFieldTextureEffect : public GrVertexEffect {
|
| +class GrDistanceFieldTextureEffect : public GrGeometryProcessor {
|
| public:
|
| #ifdef SK_GAMMA_APPLY_TO_A8
|
| static GrEffect* Create(GrTexture* tex, const GrTextureParams& params,
|
| @@ -95,7 +95,7 @@ private:
|
| * It allows explicit specification of the filtering and wrap modes (GrTextureParams). The input
|
| * coords are a custom attribute. Gamma correction is handled via a texture LUT.
|
| */
|
| -class GrDistanceFieldLCDTextureEffect : public GrVertexEffect {
|
| +class GrDistanceFieldLCDTextureEffect : public GrGeometryProcessor {
|
| public:
|
| static GrEffect* Create(GrTexture* tex, const GrTextureParams& params,
|
| GrTexture* gamma, const GrTextureParams& gammaParams,
|
|
|