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

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

Issue 1761523002: Retract GrDrawTarget and GrPipelineBuilder a bit more (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « src/gpu/text/GrAtlasTextContext.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 2014 Google Inc. 2 * Copyright 2014 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 GrStencilAndCoverTextContext_DEFINED 8 #ifndef GrStencilAndCoverTextContext_DEFINED
9 #define GrStencilAndCoverTextContext_DEFINED 9 #define GrStencilAndCoverTextContext_DEFINED
10 10
11 #include "GrDrawTarget.h" 11 #include "GrDrawContext.h"
12 #include "GrStrokeInfo.h" 12 #include "GrStrokeInfo.h"
13 #include "SkDrawFilter.h" 13 #include "SkDrawFilter.h"
14 #include "SkTextBlob.h" 14 #include "SkTextBlob.h"
15 #include "SkTHash.h" 15 #include "SkTHash.h"
16 #include "SkTInternalLList.h" 16 #include "SkTInternalLList.h"
17 #include "SkTLList.h" 17 #include "SkTLList.h"
18 #include "batches/GrDrawPathBatch.h" 18 #include "batches/GrDrawPathBatch.h"
19 19
20 class GrAtlasTextContext; 20 class GrAtlasTextContext;
21 class GrTextStrike; 21 class GrTextStrike;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 void purgeToFit(const TextBlob&); 148 void purgeToFit(const TextBlob&);
149 149
150 GrAtlasTextContext* fFallbackTextConte xt; 150 GrAtlasTextContext* fFallbackTextConte xt;
151 SkTHashMap<uint32_t, TextBlob*> fBlobIdCache; 151 SkTHashMap<uint32_t, TextBlob*> fBlobIdCache;
152 SkTHashTable<TextBlob*, const TextBlob::Key&, TextBlob> fBlobKeyCache; 152 SkTHashTable<TextBlob*, const TextBlob::Key&, TextBlob> fBlobKeyCache;
153 SkTInternalLList<TextBlob> fLRUList; 153 SkTInternalLList<TextBlob> fLRUList;
154 size_t fCacheSize; 154 size_t fCacheSize;
155 }; 155 };
156 156
157 #endif 157 #endif
OLDNEW
« no previous file with comments | « src/gpu/text/GrAtlasTextContext.cpp ('k') | src/gpu/text/GrStencilAndCoverTextContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698