aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureProducer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTextureProducer.h')
-rw-r--r--src/gpu/GrTextureProducer.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gpu/GrTextureProducer.h b/src/gpu/GrTextureProducer.h
index 66adb6fa4e..b42bbcfc9a 100644
--- a/src/gpu/GrTextureProducer.h
+++ b/src/gpu/GrTextureProducer.h
@@ -124,9 +124,8 @@ public:
protected:
friend class GrTextureProducer_TestAccess;
- GrTextureProducer(GrContext* context, int width, int height, bool isAlphaOnly)
- : fContext(context)
- , fWidth(width)
+ GrTextureProducer(int width, int height, bool isAlphaOnly)
+ : fWidth(width)
, fHeight(height)
, fIsAlphaOnly(isAlphaOnly) {}
@@ -186,13 +185,10 @@ protected:
const SkRect& domain,
const GrSamplerState::Filter* filterOrNullForBicubic);
- GrContext* fContext;
-
private:
virtual sk_sp<GrTextureProxy> onRefTextureProxyForParams(const GrSamplerState&,
SkColorSpace* dstColorSpace,
sk_sp<SkColorSpace>* proxyColorSpace,
- bool willBeMipped,
SkScalar scaleAdjust[2]) = 0;
const int fWidth;