aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureProvider.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-12-05 13:14:44 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-05 19:06:43 +0000
commitfe647b2d9ae04e94f030e5ee6e0e81e88c533ca9 (patch)
treeea81ee0da18f8bcbfd722e25569c313b33d7578a /src/gpu/GrTextureProvider.cpp
parent287f6512f34d456b593ea030197925dfc5b15c65 (diff)
Make flag values in GrResourceProvider and GrTextureProvider consistent
BUG=chromium:665673 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5602 Change-Id: I41522aa24cd4b4a7e085132dd9bcbfdd66bd9617 Reviewed-on: https://skia-review.googlesource.com/5602 Reviewed-by: Chris Dalton <csmartdalton@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrTextureProvider.cpp')
-rw-r--r--src/gpu/GrTextureProvider.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/GrTextureProvider.cpp b/src/gpu/GrTextureProvider.cpp
index 8d6239d2a1..843bc0ca4f 100644
--- a/src/gpu/GrTextureProvider.cpp
+++ b/src/gpu/GrTextureProvider.cpp
@@ -19,12 +19,6 @@
#define ASSERT_SINGLE_OWNER \
SkDEBUGCODE(GrSingleOwner::AutoEnforce debug_SingleOwner(fSingleOwner);)
-enum ScratchTextureFlags {
- kExact_ScratchTextureFlag = 0x1,
- kNoPendingIO_ScratchTextureFlag = 0x2,
- kNoCreate_ScratchTextureFlag = 0x4,
-};
-
GrTextureProvider::GrTextureProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* singleOwner)
: fCache(cache)
, fGpu(gpu)