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

Unified Diff: include/gpu/GrGpuResource.h

Issue 932863004: Use an array of nonpurgeable resources in GrResourceCache (Closed) Base URL: https://skia.googlesource.com/skia.git@queue
Patch Set: add assert back Created 5 years, 10 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/GrResourceCache.h » ('j') | src/gpu/GrResourceCache.h » ('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 8a8b0b28c36546c1dfcf7b510bfb754de4dec70b..eae164b5349c5d3b92617286b4d94e83bddf3960 100644
--- a/include/gpu/GrGpuResource.h
+++ b/include/gpu/GrGpuResource.h
@@ -12,7 +12,6 @@
#include "GrTypesPriv.h"
#include "SkData.h"
#include "SkInstCnt.h"
-#include "SkTInternalLList.h"
class GrContext;
class GrGpu;
@@ -283,10 +282,6 @@ private:
static uint32_t CreateUniqueID();
- // We're in an internal doubly linked list owned by GrResourceCache. TODO: Replace this with an
- // array of unpurgeable resources in the cache.
- SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrGpuResource);
-
// These are used for cache bookkeeping
int fCacheArrayIndex;
uint32_t fTimestamp;
« no previous file with comments | « no previous file | src/gpu/GrResourceCache.h » ('j') | src/gpu/GrResourceCache.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698