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

Unified Diff: src/gpu/GrAtlas.cpp

Issue 1011403004: BitmapTextBatch and BitmapTextBlob (Closed) Base URL: https://skia.googlesource.com/skia.git@dfpr_take_2
Patch Set: feedback inc Created 5 years, 9 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
Index: src/gpu/GrAtlas.cpp
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp
index 7ebdf6eb12587952d0d0233a7c28bca2dcdb2e73..ef4578e8d80a2e96df8a21e127c9ff5ae03cc3b2 100644
--- a/src/gpu/GrAtlas.cpp
+++ b/src/gpu/GrAtlas.cpp
@@ -226,9 +226,6 @@ GrPlot* GrAtlas::addToAtlas(ClientPlotUsage* usage,
desc.fConfig = fPixelConfig;
fTexture = fGpu->createTexture(desc, true, NULL, 0);
Jvsquare 2015/03/27 15:07:29 Why is this removed?
joshualitt 2015/03/30 14:56:43 Acknowledged.
- if (NULL == fTexture) {
- return NULL;
- }
}
// now look through all allocated plots for one we can share, in MRU order

Powered by Google App Engine
This is Rietveld 408576698