GrTexture* SkImage_Generator::asTextureRef(GrContext* ctx, const GrTextureParams& params) const { return fCache->lockAsTexture(ctx, params, this); }
GrTexture* SkImage_Generator::asTextureRef(GrContext* ctx, SkImageUsageType usage) const { return fCache->lockAsTexture(ctx, usage, this); }