From 87f7f1c3ce519115141b40f1d8faede437c8f357 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Mon, 15 May 2017 14:56:51 -0400 Subject: Convert DstTexture to DstProxy The last GrTexture-based TextureSampler::reset call must be removed before the TextureSamplers can become purely GrTextureProxy-backed Split out of: https://skia-review.googlesource.com/c/10484/ (Omnibus: Push instantiation of GrTextures later (post TextureSampler)) Change-Id: Ic1435177d8b5d9bd3fc38b4903c9baae8205cfb0 Reviewed-on: https://skia-review.googlesource.com/16908 Reviewed-by: Greg Daniel Commit-Queue: Robert Phillips --- src/gpu/GrProcessor.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gpu/GrProcessor.h') diff --git a/src/gpu/GrProcessor.h b/src/gpu/GrProcessor.h index 027a34e334..c1669ef753 100644 --- a/src/gpu/GrProcessor.h +++ b/src/gpu/GrProcessor.h @@ -222,12 +222,6 @@ public: */ TextureSampler(); - // MDB TODO: this is the last GrTexture-based reset call! - void reset(GrTexture*, - GrSamplerParams::FilterMode = GrSamplerParams::kNone_FilterMode, - SkShader::TileMode tileXAndY = SkShader::kClamp_TileMode, - GrShaderFlags visibility = kFragment_GrShaderFlag); - // MDB TODO: ultimately we shouldn't need the resource provider parameter TextureSampler(GrResourceProvider*, sk_sp, const GrSamplerParams&); explicit TextureSampler(GrResourceProvider*, sk_sp, -- cgit v1.2.3