Move GrTextureParams from GrSamplerState to GrTextureAccess
Review URL: https://codereview.appspot.com/6496135/
git-svn-id: http://skia.googlecode.com/svn/trunk@5582 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/effects/GrTextureDomainEffect.h b/src/gpu/effects/GrTextureDomainEffect.h
index 559398e..872d57d 100644
--- a/src/gpu/effects/GrTextureDomainEffect.h
+++ b/src/gpu/effects/GrTextureDomainEffect.h
@@ -20,8 +20,11 @@
class GrTextureDomainEffect : public GrSingleTextureEffect {
public:
+ /** Uses default texture params (no filter, clamp) */
+ GrTextureDomainEffect(GrTexture*, const GrRect& domain);
- GrTextureDomainEffect(GrTexture*, GrRect domain);
+ GrTextureDomainEffect(GrTexture*, const GrRect& domain, const GrTextureParams& params);
+
virtual ~GrTextureDomainEffect();
static const char* Name() { return "TextureDomain"; }