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

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

Issue 1699073004: Delete GrTextContext (Closed) Base URL: https://skia.googlesource.com/skia.git@sever-the-cord
Patch Set: nits Created 4 years, 10 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/SkGpuDevice.cpp ('k') | src/gpu/text/GrAtlasTextBlob.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 GrAtlasTextBlob_DEFINED 8 #ifndef GrAtlasTextBlob_DEFINED
9 #define GrAtlasTextBlob_DEFINED 9 #define GrAtlasTextBlob_DEFINED
10 10
11 #include "GrBatchAtlas.h" 11 #include "GrBatchAtlas.h"
12 #include "GrBatchFontCache.h" 12 #include "GrBatchFontCache.h"
13 #include "GrColor.h" 13 #include "GrColor.h"
14 #include "GrMemoryPool.h" 14 #include "GrMemoryPool.h"
15 #include "SkDescriptor.h" 15 #include "SkDescriptor.h"
16 #include "SkMaskFilter.h" 16 #include "SkMaskFilter.h"
17 #include "SkSurfaceProps.h" 17 #include "SkSurfaceProps.h"
18 #include "SkTInternalLList.h" 18 #include "SkTInternalLList.h"
19 19
20 class GrBlobRegenHelper; 20 class GrBlobRegenHelper;
21 struct GrDistanceFieldAdjustTable; 21 struct GrDistanceFieldAdjustTable;
22 class GrMemoryPool; 22 class GrMemoryPool;
23 class GrTextContext;
24 class SkDrawFilter; 23 class SkDrawFilter;
25 class SkTextBlob; 24 class SkTextBlob;
26 class SkTextBlobRunIterator; 25 class SkTextBlobRunIterator;
27 26
28 // With this flag enabled, the GrAtlasTextContext will, as a sanity check, regen erate every blob 27 // With this flag enabled, the GrAtlasTextContext will, as a sanity check, regen erate every blob
29 // that comes in to verify the integrity of its cache 28 // that comes in to verify the integrity of its cache
30 #define CACHE_SANITY_CHECK 0 29 #define CACHE_SANITY_CHECK 0
31 30
32 /* 31 /*
33 * A GrAtlasTextBlob contains a fully processed SkTextBlob, suitable for nearly immediate drawing 32 * A GrAtlasTextBlob contains a fully processed SkTextBlob, suitable for nearly immediate drawing
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 // We can reuse distance field text, but only if the new viewmatrix would no t result in 526 // We can reuse distance field text, but only if the new viewmatrix would no t result in
528 // a mip change. Because there can be multiple runs in a blob, we track the overall 527 // a mip change. Because there can be multiple runs in a blob, we track the overall
529 // maximum minimum scale, and minimum maximum scale, we can support before w e need to regen 528 // maximum minimum scale, and minimum maximum scale, we can support before w e need to regen
530 SkScalar fMaxMinScale; 529 SkScalar fMaxMinScale;
531 SkScalar fMinMaxScale; 530 SkScalar fMinMaxScale;
532 int fRunCount; 531 int fRunCount;
533 uint8_t fTextType; 532 uint8_t fTextType;
534 }; 533 };
535 534
536 #endif 535 #endif
OLDNEW
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/text/GrAtlasTextBlob.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698