Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: include/gpu/GrGpuResource.h

Issue 870743002: Allow unbudgeted resources to be recycled by the cache as scratch. (Closed) Base URL: https://skia.googlesource.com/skia.git@ckey
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/GrGpuResource.cpp » ('j') | src/gpu/GrResourceCache2.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrGpuResource.h
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h
index d6abc4d12cd949cd529e0ac7466f2edfa78cee35..56b73a0f07fc59295f3f96f37920a346e9dcc623 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
« no previous file with comments | « no previous file | src/gpu/GrGpuResource.cpp » ('j') | src/gpu/GrResourceCache2.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698