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

Unified Diff: src/gpu/GrLayerCache.cpp

Issue 844613002: Allow non-atlasable layer to still be hoisted (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: refactor 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/GrLayerHoister.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrLayerCache.cpp
diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp
index e521b3e3239678c5c16d2ec2be35edf7648e9b04..8f6a69bcf51aaaa8a8948817e52ae203da58dc6f 100644
--- a/src/gpu/GrLayerCache.cpp
+++ b/src/gpu/GrLayerCache.cpp
@@ -253,9 +253,7 @@ bool GrLayerCache::lock(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* n
usage = GrContext::kExact_ScratchTexMatch;
}
- SkAutoTUnref<GrTexture> tex(
- fContext->refScratchTexture(desc, usage));
-
+ SkAutoTUnref<GrTexture> tex(fContext->refScratchTexture(desc, usage));
if (!tex) {
return false;
}
« no previous file with comments | « no previous file | src/gpu/GrLayerHoister.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698