diff options
author | 2017-09-26 15:04:35 -0400 | |
---|---|---|
committer | 2017-09-26 19:26:56 +0000 | |
commit | 2481501dfe45a269031c065b21f821f1d608e795 (patch) | |
tree | bb9de326a31cb6a5468902eb3587f20356f212cf /src/gpu | |
parent | bed683addbd2f31da05dc19f24f3257bee30ee8c (diff) |
Remove old, unused code
Bug: skia:
Change-Id: I815464931bf2c156a7d974d6c2e2c85e46409ec6
Reviewed-on: https://skia-review.googlesource.com/51241
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrGlyph.h | 2 | ||||
-rw-r--r-- | src/gpu/GrResourceProvider.cpp | 5 | ||||
-rw-r--r-- | src/gpu/GrResourceProvider.h | 1 |
3 files changed, 0 insertions, 8 deletions
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. |