diff options
author | Robert Phillips <robertphillips@google.com> | 2017-02-28 16:20:03 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-28 22:07:05 +0000 |
commit | 32f2818c9d10090efeea62ccc211d48a33322dfb (patch) | |
tree | fd301bc81387a3c3e0cc767cba43ba214a314f86 /src/gpu/effects/GrBitmapTextGeoProc.h | |
parent | dac5f6bcbec7130a209a6899444feb022719498d (diff) |
Clean up/remove unused GrFragmentProcessor-derived ctors
This is the simple (i.e., non-TextureAdjuster) portion of: https://skia-review.googlesource.com/c/8823/ (Remove GrFragmentProcessor-derived class' GrTexture-based ctors)
Change-Id: I8f673ebe922e03c69473c18c166bcf818507c662
Reviewed-on: https://skia-review.googlesource.com/8997
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/effects/GrBitmapTextGeoProc.h')
-rw-r--r-- | src/gpu/effects/GrBitmapTextGeoProc.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gpu/effects/GrBitmapTextGeoProc.h b/src/gpu/effects/GrBitmapTextGeoProc.h index 0f30ddc0a0..17a5e9da2f 100644 --- a/src/gpu/effects/GrBitmapTextGeoProc.h +++ b/src/gpu/effects/GrBitmapTextGeoProc.h @@ -21,13 +21,6 @@ class GrInvariantOutput; */ class GrBitmapTextGeoProc : public GrGeometryProcessor { public: - static sk_sp<GrGeometryProcessor> Make(GrColor color, GrTexture* tex, const GrSamplerParams& p, - GrMaskFormat format, const SkMatrix& localMatrix, - bool usesLocalCoords) { - return sk_sp<GrGeometryProcessor>( - new GrBitmapTextGeoProc(color, tex, p, format, localMatrix, usesLocalCoords)); - } - static sk_sp<GrGeometryProcessor> Make(GrContext* context, GrColor color, sk_sp<GrTextureProxy> proxy, const GrSamplerParams& p, GrMaskFormat format, const SkMatrix& localMatrix, @@ -55,9 +48,6 @@ public: GrGLSLPrimitiveProcessor* createGLSLInstance(const GrShaderCaps& caps) const override; private: - GrBitmapTextGeoProc(GrColor, GrTexture* texture, const GrSamplerParams& params, - GrMaskFormat format, const SkMatrix& localMatrix, bool usesLocalCoords); - GrBitmapTextGeoProc(GrContext*, GrColor, sk_sp<GrTextureProxy>, const GrSamplerParams& params, GrMaskFormat format, const SkMatrix& localMatrix, bool usesLocalCoords); |