aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpuResourcePriv.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-02-25 06:33:26 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-25 06:33:27 -0800
commit57599fe6c0336feaeeeb9b1996e77b70219b483c (patch)
tree5387b10428f64c8e5e56427b24a589489d746440 /src/gpu/GrGpuResourcePriv.h
parentddb347b63c72141378fc8bd25fa40d6dac9fe916 (diff)
Move Budgeted enum out of SkSurface, use in GrTextureProvider
Diffstat (limited to 'src/gpu/GrGpuResourcePriv.h')
-rw-r--r--src/gpu/GrGpuResourcePriv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrGpuResourcePriv.h b/src/gpu/GrGpuResourcePriv.h
index 5324dccc22..62dc85059a 100644
--- a/src/gpu/GrGpuResourcePriv.h
+++ b/src/gpu/GrGpuResourcePriv.h
@@ -44,10 +44,10 @@ public:
/**
* Does the resource count against the resource budget?
*/
- bool isBudgeted() const {
+ SkBudgeted isBudgeted() const {
bool ret = GrGpuResource::kCached_LifeCycle == fResource->fLifeCycle;
SkASSERT(ret || !fResource->getUniqueKey().isValid());
- return ret;
+ return SkBudgeted(ret);
}
/**