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

Side by Side Diff: src/gpu/text/GrBatchFontCache.h

Issue 2167193002: Revert of Remove DrawFace enum from GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « src/gpu/text/GrAtlasTextBlob.cpp ('k') | src/gpu/text/GrStencilAndCoverTextContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrBatchFontCache_DEFINED 8 #ifndef GrBatchFontCache_DEFINED
9 #define GrBatchFontCache_DEFINED 9 #define GrBatchFontCache_DEFINED
10 10
11 #include "GrBatchAtlas.h" 11 #include "GrBatchAtlas.h"
12 #include "GrCaps.h"
13 #include "GrGlyph.h" 12 #include "GrGlyph.h"
14 #include "SkGlyphCache.h" 13 #include "SkGlyphCache.h"
15 #include "SkTDynamicHash.h" 14 #include "SkTDynamicHash.h"
16 #include "SkVarAlloc.h" 15 #include "SkVarAlloc.h"
17 16
18 class GrBatchFontCache; 17 class GrBatchFontCache;
19 class GrGpu; 18 class GrGpu;
20 19
21 /** 20 /**
22 * The GrBatchTextStrike manages a pool of CPU backing memory for GrGlyphs. Th is backing memory 21 * The GrBatchTextStrike manages a pool of CPU backing memory for GrGlyphs. Th is backing memory
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 231
233 using StrikeHash = SkTDynamicHash<GrBatchTextStrike, SkDescriptor>; 232 using StrikeHash = SkTDynamicHash<GrBatchTextStrike, SkDescriptor>;
234 GrContext* fContext; 233 GrContext* fContext;
235 StrikeHash fCache; 234 StrikeHash fCache;
236 GrBatchAtlas* fAtlases[kMaskFormatCount]; 235 GrBatchAtlas* fAtlases[kMaskFormatCount];
237 GrBatchTextStrike* fPreserveStrike; 236 GrBatchTextStrike* fPreserveStrike;
238 GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount]; 237 GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount];
239 }; 238 };
240 239
241 #endif 240 #endif
OLDNEW
« no previous file with comments | « src/gpu/text/GrAtlasTextBlob.cpp ('k') | src/gpu/text/GrStencilAndCoverTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698