aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/gpu/GrGlyph.h2
-rw-r--r--src/gpu/GrResourceProvider.cpp5
-rw-r--r--src/gpu/GrResourceProvider.h1
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.