| commit | 1ce49fc91714ce8974d11246d29ebe7b97b5fe98 | [log] [tgz] |
|---|---|---|
| author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Sep 18 14:14:49 2012 +0000 |
| committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Sep 18 14:14:49 2012 +0000 |
| tree | 4e389ac0bcd225ccacf1ef0ef21c4266567c30dd | |
| parent | 10f9f4a844c8d5260c0a02df94b940b6abf66b0d [diff] [blame] |
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/GrSingleTextureEffect.cpp b/src/gpu/effects/GrSingleTextureEffect.cpp index b2e9205..e96eb47 100644 --- a/src/gpu/effects/GrSingleTextureEffect.cpp +++ b/src/gpu/effects/GrSingleTextureEffect.cpp
@@ -41,6 +41,14 @@ : fTextureAccess(texture) { } +GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, bool bilerp) + : fTextureAccess(texture, bilerp) { +} + +GrSingleTextureEffect::GrSingleTextureEffect(GrTexture* texture, const GrTextureParams& params) + : fTextureAccess(texture, params) { +} + GrSingleTextureEffect::~GrSingleTextureEffect() { }