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

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

Issue 2165283002: Remove DrawFace enum from GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: try again 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"
12 #include "GrGlyph.h" 13 #include "GrGlyph.h"
13 #include "SkGlyphCache.h" 14 #include "SkGlyphCache.h"
14 #include "SkTDynamicHash.h" 15 #include "SkTDynamicHash.h"
15 #include "SkVarAlloc.h" 16 #include "SkVarAlloc.h"
16 17
17 class GrBatchFontCache; 18 class GrBatchFontCache;
18 class GrGpu; 19 class GrGpu;
19 20
20 /** 21 /**
21 * The GrBatchTextStrike manages a pool of CPU backing memory for GrGlyphs. Th is backing memory 22 * 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
231 232
232 using StrikeHash = SkTDynamicHash<GrBatchTextStrike, SkDescriptor>; 233 using StrikeHash = SkTDynamicHash<GrBatchTextStrike, SkDescriptor>;
233 GrContext* fContext; 234 GrContext* fContext;
234 StrikeHash fCache; 235 StrikeHash fCache;
235 GrBatchAtlas* fAtlases[kMaskFormatCount]; 236 GrBatchAtlas* fAtlases[kMaskFormatCount];
236 GrBatchTextStrike* fPreserveStrike; 237 GrBatchTextStrike* fPreserveStrike;
237 GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount]; 238 GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount];
238 }; 239 };
239 240
240 #endif 241 #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