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

Unified Diff: include/gpu/GrTextureProvider.h

Issue 1139753002: Refactor GrBufferAllocPools to use resource cache (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up Created 5 years, 7 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/GrBatchTarget.cpp » ('j') | src/gpu/GrBatchTarget.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrTextureProvider.h
diff --git a/include/gpu/GrTextureProvider.h b/include/gpu/GrTextureProvider.h
index 3f8c760f9b8c3b29343b8dba324143d1d04942da..10b66c0b3cf701cb0cbff9be7367d197dba9f939 100644
--- a/include/gpu/GrTextureProvider.h
+++ b/include/gpu/GrTextureProvider.h
@@ -160,12 +160,12 @@ protected:
GrGpu* gpu() { return fGpu; }
const GrGpu* gpu() const { return fGpu; }
-private:
bool isAbandoned() const {
bsalomon 2015/05/13 16:24:07 protected?
robertphillips 2015/05/13 16:56:14 All these guys already are.
SkASSERT(SkToBool(fGpu) == SkToBool(fCache));
return !SkToBool(fCache);
}
+private:
GrResourceCache* fCache;
GrGpu* fGpu;
};
« no previous file with comments | « no previous file | src/gpu/GrBatchTarget.cpp » ('j') | src/gpu/GrBatchTarget.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698