aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrImageTextureMaker.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-04-26 16:20:28 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-27 18:31:19 +0000
commitdf7e075c74110fcfebdc49ca503684162e118af5 (patch)
tree4d4f55d2867115102a2d2460096c9fe8ce0ecb51 /src/gpu/GrImageTextureMaker.h
parent0aa742f15a400433bafe6350c20523b4dd062f64 (diff)
Fold SkImageCacherator into SkImage_Lazy
SkImageCacherator still exists, but only as an interface implemented (solely) by SkImage_Lazy. The only external clients are GrImageTextureMaker and SkImage_Gpu::getDeferredTextureImageData. This is probably an improvement, but doesn't go as far as I'd hoped. Bug: skia: Change-Id: I6812badfabb6924b025621b21af00cbde9c16cac Reviewed-on: https://skia-review.googlesource.com/14371 Reviewed-by: Matt Sarett <msarett@google.com> Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrImageTextureMaker.h')
-rw-r--r--src/gpu/GrImageTextureMaker.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrImageTextureMaker.h b/src/gpu/GrImageTextureMaker.h
index 5145903775..4f3e8bd3de 100644
--- a/src/gpu/GrImageTextureMaker.h
+++ b/src/gpu/GrImageTextureMaker.h
@@ -17,8 +17,7 @@ class SkImageCacherator;
is kAllow the image's ID is used for the cache key. */
class GrImageTextureMaker : public GrTextureMaker {
public:
- GrImageTextureMaker(GrContext* context, SkImageCacherator* cacher, const SkImage* client,
- SkImage::CachingHint chint);
+ GrImageTextureMaker(GrContext* context, const SkImage* client, SkImage::CachingHint chint);
protected:
// TODO: consider overriding this, for the case where the underlying generator might be