aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureMaker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTextureMaker.h')
-rw-r--r--src/gpu/GrTextureMaker.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/GrTextureMaker.h b/src/gpu/GrTextureMaker.h
index e2dd3c852a..a365b50444 100644
--- a/src/gpu/GrTextureMaker.h
+++ b/src/gpu/GrTextureMaker.h
@@ -28,7 +28,8 @@ public:
protected:
GrTextureMaker(GrContext* context, int width, int height, bool isAlphaOnly)
- : INHERITED(context, width, height, isAlphaOnly) {}
+ : INHERITED(width, height, isAlphaOnly)
+ , fContext(context) {}
/**
* Return the maker's "original" texture. It is the responsibility of the maker to handle any
@@ -53,9 +54,10 @@ private:
sk_sp<GrTextureProxy> onRefTextureProxyForParams(const GrSamplerState&,
SkColorSpace* dstColorSpace,
sk_sp<SkColorSpace>* proxyColorSpace,
- bool willBeMipped,
SkScalar scaleAdjust[2]) override;
+ GrContext* fContext;
+
typedef GrTextureProducer INHERITED;
};