| Index: src/gpu/effects/GrTextureDomain.h
|
| diff --git a/src/gpu/effects/GrTextureDomain.h b/src/gpu/effects/GrTextureDomain.h
|
| index 19b07adfb0bd8858720b005d116323f9a9653f11..dc095998b641c42374819e095eadf012f8411bb8 100644
|
| --- a/src/gpu/effects/GrTextureDomain.h
|
| +++ b/src/gpu/effects/GrTextureDomain.h
|
| @@ -138,8 +138,6 @@ protected:
|
| typedef GrSingleTextureEffect INHERITED;
|
| };
|
|
|
| -class GrGLTextureDomainEffect;
|
| -
|
| /**
|
| * A basic texture effect that uses GrTextureDomain.
|
| */
|
| @@ -155,11 +153,16 @@ public:
|
|
|
| virtual ~GrTextureDomainEffect();
|
|
|
| - static const char* Name() { return "TextureDomain"; }
|
| + virtual const char* name() const SK_OVERRIDE { return "TextureDomain"; }
|
| +
|
| + virtual void getGLProcessorKey(const GrGLCaps&, GrProcessorKeyBuilder*) const SK_OVERRIDE;
|
|
|
| - typedef GrGLTextureDomainEffect GLProcessor;
|
| + virtual GrGLFragmentProcessor* createGLInstance() const SK_OVERRIDE;
|
|
|
| - virtual const GrBackendFragmentProcessorFactory& getFactory() const SK_OVERRIDE;
|
| + virtual uint32_t classID() const {
|
| + static uint32_t id = GenClassID();
|
| + return id;
|
| + }
|
|
|
| const GrTextureDomain& textureDomain() const { return fTextureDomain; }
|
|
|
|
|