Index: src/gpu/GrTexturePriv.h |
diff --git a/src/gpu/GrTexturePriv.h b/src/gpu/GrTexturePriv.h |
index d6c2dc2bf8f6d626e717edfdbb426f72bdb15452..c093a9bbc63d7d45e95790f73ddf3ec4345afb85 100644 |
--- a/src/gpu/GrTexturePriv.h |
+++ b/src/gpu/GrTexturePriv.h |
@@ -39,16 +39,11 @@ public: |
return GrTexture::kNotAllocated_MipMapsStatus != fTexture->fMipMapsStatus; |
} |
- static GrResourceKey::ResourceType ResourceType() { |
- static const GrResourceKey::ResourceType gType = GrResourceKey::GenerateResourceType(); |
- return gType; |
- } |
- |
static GrResourceKey ComputeKey(const GrGpu* gpu, |
const GrTextureParams* params, |
const GrSurfaceDesc& desc, |
const GrCacheID& cacheID); |
- static GrResourceKey ComputeScratchKey(const GrSurfaceDesc& desc); |
+ static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*); |
static bool NeedsResizing(const GrResourceKey& key); |
static bool NeedsBilerp(const GrResourceKey& key); |