OLD | NEW |
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 #include "GrStencilAndCoverTextContext.h" | 8 #include "GrStencilAndCoverTextContext.h" |
9 #include "GrAtlasTextContext.h" | 9 #include "GrAtlasTextContext.h" |
10 #include "GrContext.h" | 10 #include "GrContext.h" |
11 #include "GrDrawContext.h" | 11 #include "GrDrawContext.h" |
12 #include "GrPath.h" | 12 #include "GrPath.h" |
13 #include "GrPathRange.h" | 13 #include "GrPathRange.h" |
14 #include "GrPipelineBuilder.h" | |
15 #include "GrResourceProvider.h" | 14 #include "GrResourceProvider.h" |
16 #include "GrTextUtils.h" | 15 #include "GrTextUtils.h" |
17 #include "SkAutoKern.h" | 16 #include "SkAutoKern.h" |
18 #include "SkDraw.h" | 17 #include "SkDraw.h" |
19 #include "SkDrawProcs.h" | 18 #include "SkDrawProcs.h" |
20 #include "SkGlyphCache.h" | 19 #include "SkGlyphCache.h" |
21 #include "SkGrPriv.h" | 20 #include "SkGrPriv.h" |
22 #include "SkDrawFilter.h" | 21 #include "SkDrawFilter.h" |
23 #include "SkPath.h" | 22 #include "SkPath.h" |
24 #include "SkTextBlobRunIterator.h" | 23 #include "SkTextBlobRunIterator.h" |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 } | 731 } |
733 | 732 |
734 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfNeed
ed(int *count) { | 733 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfNeed
ed(int *count) { |
735 *count = fCount; | 734 *count = fCount; |
736 if (fCount) { | 735 if (fCount) { |
737 this->flush(); | 736 this->flush(); |
738 return fBuilder->build(); | 737 return fBuilder->build(); |
739 } | 738 } |
740 return nullptr; | 739 return nullptr; |
741 } | 740 } |
OLD | NEW |