| Index: src/gpu/GrTest.cpp
|
| diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp
|
| index 2f32eb5d4a53dc503e8dad31acea427bfd26e0c4..14259e6b3887bd80fc2926dd27d1a2692efbf1d9 100644
|
| --- a/src/gpu/GrTest.cpp
|
| +++ b/src/gpu/GrTest.cpp
|
| @@ -9,7 +9,7 @@
|
| #include "GrTest.h"
|
|
|
| #include "GrInOrderDrawBuffer.h"
|
| -#include "GrResourceCache2.h"
|
| +#include "GrResourceCache.h"
|
| #include "SkString.h"
|
|
|
| void GrTestTarget::init(GrContext* ctx, GrDrawTarget* target) {
|
| @@ -38,12 +38,12 @@ void GrContext::setMaxTextureSizeOverride(int maxTextureSizeOverride) {
|
| }
|
|
|
| void GrContext::purgeAllUnlockedResources() {
|
| - fResourceCache2->purgeAllUnlocked();
|
| + fResourceCache->purgeAllUnlocked();
|
| }
|
|
|
| void GrContext::dumpCacheStats(SkString* out) const {
|
| #if GR_CACHE_STATS
|
| - fResourceCache2->dumpStats(out);
|
| + fResourceCache->dumpStats(out);
|
| #endif
|
| }
|
|
|
| @@ -75,7 +75,7 @@ void GrGpu::Stats::dump(SkString* out) {
|
| #endif
|
|
|
| #if GR_CACHE_STATS
|
| -void GrResourceCache2::dumpStats(SkString* out) const {
|
| +void GrResourceCache::dumpStats(SkString* out) const {
|
| this->validate();
|
|
|
| int locked = 0;
|
|
|