From 2481501dfe45a269031c065b21f821f1d608e795 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Tue, 26 Sep 2017 15:04:35 -0400 Subject: Remove old, unused code Bug: skia: Change-Id: I815464931bf2c156a7d974d6c2e2c85e46409ec6 Reviewed-on: https://skia-review.googlesource.com/51241 Reviewed-by: Robert Phillips Commit-Queue: Brian Osman --- src/gpu/GrGlyph.h | 2 -- src/gpu/GrResourceProvider.cpp | 5 ----- src/gpu/GrResourceProvider.h | 1 - 3 files changed, 8 deletions(-) (limited to 'src/gpu') diff --git a/src/gpu/GrGlyph.h b/src/gpu/GrGlyph.h index fbd389e4ab..9ab1630dd5 100644 --- a/src/gpu/GrGlyph.h +++ b/src/gpu/GrGlyph.h @@ -16,8 +16,6 @@ #include "SkFixed.h" #include "SkPath.h" -class GrPlot; - /* Need this to be quad-state: - complete w/ image - just metrics diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp index 6ab8e19f73..cb23e38bbc 100644 --- a/src/gpu/GrResourceProvider.cpp +++ b/src/gpu/GrResourceProvider.cpp @@ -296,11 +296,6 @@ GrTexture* GrResourceProvider::findAndRefTextureByUniqueKey(const GrUniqueKey& k return nullptr; } -void GrResourceProvider::assignUniqueKeyToTexture(const GrUniqueKey& key, GrTexture* texture) { - SkASSERT(key.isValid()); - this->assignUniqueKeyToResource(key, texture); -} - void GrResourceProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) { ASSERT_SINGLE_OWNER SkASSERT(key.isValid()); diff --git a/src/gpu/GrResourceProvider.h b/src/gpu/GrResourceProvider.h index b3fe32a0b1..7729e80a79 100644 --- a/src/gpu/GrResourceProvider.h +++ b/src/gpu/GrResourceProvider.h @@ -264,7 +264,6 @@ public: private: GrTexture* findAndRefTextureByUniqueKey(const GrUniqueKey& key); - void assignUniqueKeyToTexture(const GrUniqueKey& key, GrTexture* texture); // Attempts to find a resource in the cache that exactly matches the GrSurfaceDesc. Failing that // it returns null. If non-null, the resulting texture is always budgeted. -- cgit v1.2.3