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

Unified Diff: src/gpu/GrTextStrike.h

Issue 99993002: Add GPU support for color bitmap fonts (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Add ignored test Created 7 years 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/GrTextStrike.h
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h
index 422ae0c379a936f7930e0d35d1638df05c18954a..70ceb93be93bac5e0beef9fdc6a3482c2d9bc370 100644
--- a/src/gpu/GrTextStrike.h
+++ b/src/gpu/GrTextStrike.h
@@ -110,6 +110,7 @@ public:
private:
friend class GrFontPurgeListener;
robertphillips 2013/12/02 21:05:40 // The current set of atlases are: ...?
+ static const int kAtlasCount = 3;
class Key;
GrTHashTable<GrTextStrike, Key, 8> fCache;
@@ -118,7 +119,7 @@ private:
GrTextStrike* fTail;
GrGpu* fGpu;
- GrAtlasMgr* fAtlasMgr[kMaskFormatCount];
+ GrAtlasMgr* fAtlasMgr[kAtlasCount];
GrTextStrike* generateStrike(GrFontScaler*, const Key&);
inline void detachStrikeFromList(GrTextStrike*);

Powered by Google App Engine
This is Rietveld 408576698