aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathRange.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-12-30 12:50:52 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-30 12:50:52 -0800
commit7775c85611c734a2af709b3a9c127939a4296c48 (patch)
tree5a9b50af9aec7b1b4a03d3162322c51a6eb6bfcc /src/gpu/GrPathRange.h
parentbe9588ade8e3dac0adc8e038c46de006ca21af48 (diff)
Add a simpler key type for scratch resource keys.
Diffstat (limited to 'src/gpu/GrPathRange.h')
-rw-r--r--src/gpu/GrPathRange.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gpu/GrPathRange.h b/src/gpu/GrPathRange.h
index a1431b93c7..014b7ece74 100644
--- a/src/gpu/GrPathRange.h
+++ b/src/gpu/GrPathRange.h
@@ -28,14 +28,6 @@ public:
static const bool kIsWrapped = false;
- /**
- * Return the resourceType intended for cache lookups involving GrPathRange.
- */
- static GrResourceKey::ResourceType resourceType() {
- static const GrResourceKey::ResourceType type = GrResourceKey::GenerateResourceType();
- return type;
- }
-
enum PathIndexType {
kU8_PathIndexType, //!< uint8_t
kU16_PathIndexType, //!< uint16_t