diff options
author | bsalomon <bsalomon@google.com> | 2015-10-15 12:14:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-15 12:14:55 -0700 |
commit | 5f5527fb46664297fbeb575033886a757eb44147 (patch) | |
tree | 3370bdc9bc9b765d2817b4d25b1a9d9b22f0b632 /include/core/SkImageGenerator.h | |
parent | 41c054eeb0109c35cadaa90c546cbf954edcb3fe (diff) |
Remove params from Cacherator_GrTextureMaker
Review URL: https://codereview.chromium.org/1403313003
Diffstat (limited to 'include/core/SkImageGenerator.h')
-rw-r--r-- | include/core/SkImageGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h index e04e05ea0b..3d508ddfb1 100644 --- a/include/core/SkImageGenerator.h +++ b/include/core/SkImageGenerator.h @@ -150,7 +150,7 @@ public: * so the caller must inspect the texture's width/height and compare them to the generator's * getInfo() width/height. For readback usage use GrTextureParams::ClampNoFilter() */ - GrTexture* generateTexture(GrContext*, const GrTextureParams&, const SkIRect* subset = nullptr); + GrTexture* generateTexture(GrContext*, const SkIRect* subset = nullptr); /** * If the default image decoder system can interpret the specified (encoded) data, then @@ -195,7 +195,7 @@ protected: virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], SkYUVColorSpace* colorSpace); - virtual GrTexture* onGenerateTexture(GrContext*, const GrTextureParams&, const SkIRect*) { + virtual GrTexture* onGenerateTexture(GrContext*, const SkIRect*) { return nullptr; } |