aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrGpuResource.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-01-23 07:19:22 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-23 07:19:22 -0800
commitc2f35b750a57d7dc0b8053a98279631d1ccb9b56 (patch)
tree35b59af3eeed08001a3db48069ddb2c27bacd8b2 /include/gpu/GrGpuResource.h
parent4dffede04afd6432ffd406b5ba875db8a698dd4a (diff)
Allow unbudgeted resources to be recycled by the cache as scratch.
Diffstat (limited to 'include/gpu/GrGpuResource.h')
-rw-r--r--include/gpu/GrGpuResource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h
index d6abc4d12c..56b73a0f07 100644
--- a/include/gpu/GrGpuResource.h
+++ b/include/gpu/GrGpuResource.h
@@ -263,6 +263,7 @@ private:
void notifyIsPurgable() const;
void removeScratchKey();
void makeBudgeted();
+ void makeUnbudgeted();
#ifdef SK_DEBUG
friend class GrGpu; // for assert in GrGpu to access getGpu