| Index: src/gpu/GrGpuResourcePriv.h
|
| diff --git a/src/gpu/GrGpuResourcePriv.h b/src/gpu/GrGpuResourcePriv.h
|
| index 5da1c948783ffdae44c984885e6ceaf7e9e02f32..db305a66de5f5ef7dda4948cc943d8738bcc1a24 100644
|
| --- a/src/gpu/GrGpuResourcePriv.h
|
| +++ b/src/gpu/GrGpuResourcePriv.h
|
| @@ -44,16 +44,12 @@ public:
|
| /**
|
| * Does the resource count against the resource budget?
|
| */
|
| - SkBudgeted isBudgeted() const {
|
| - bool ret = GrGpuResource::kCached_LifeCycle == fResource->fLifeCycle;
|
| - SkASSERT(ret || !fResource->getUniqueKey().isValid());
|
| - return SkBudgeted(ret);
|
| - }
|
| + SkBudgeted isBudgeted() const { return fResource->fBudgeted; }
|
|
|
| /**
|
| * Is the resource object wrapping an externally allocated GPU resource?
|
| */
|
| - bool isExternal() const { return fResource->isExternal(); }
|
| + bool refsWrappedResources() const { return fResource->refsWrappedResources(); }
|
|
|
| /**
|
| * If this resource can be used as a scratch resource this returns a valid scratch key.
|
|
|