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

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

Issue 1151283004: Split drawing functionality out of GrContext and into new GrDrawContext (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix no-GPU builds Created 5 years, 6 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/GrAtlasTextContext.cpp ('k') | src/gpu/GrClipMaskManager.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 "GrDrawTarget.h"
13 #include "GrFontScaler.h" 12 #include "GrFontScaler.h"
14 #include "GrGlyph.h" 13 #include "GrGlyph.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 GrBatchTarget; 18 class GrBatchTarget;
20 class GrGpu; 19 class GrGpu;
21 20
22 /** 21 /**
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 181
183 static void HandleEviction(GrBatchAtlas::AtlasID, void*); 182 static void HandleEviction(GrBatchAtlas::AtlasID, void*);
184 183
185 GrContext* fContext; 184 GrContext* fContext;
186 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey> fCache; 185 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey> fCache;
187 GrBatchAtlas* fAtlases[kMaskFormatCount]; 186 GrBatchAtlas* fAtlases[kMaskFormatCount];
188 GrBatchTextStrike* fPreserveStrike; 187 GrBatchTextStrike* fPreserveStrike;
189 }; 188 };
190 189
191 #endif 190 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAtlasTextContext.cpp ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698