diff options
author | bsalomon <bsalomon@google.com> | 2015-01-23 07:19:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-23 07:19:22 -0800 |
commit | c2f35b750a57d7dc0b8053a98279631d1ccb9b56 (patch) | |
tree | 35b59af3eeed08001a3db48069ddb2c27bacd8b2 /include | |
parent | 4dffede04afd6432ffd406b5ba875db8a698dd4a (diff) |
Allow unbudgeted resources to be recycled by the cache as scratch.
Review URL: https://codereview.chromium.org/870743002
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrGpuResource.h | 1 |
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 |