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 "GrDrawContext.h" | 10 #include "GrDrawContext.h" |
11 #include "GrDrawTarget.h" | |
12 #include "GrPath.h" | 11 #include "GrPath.h" |
13 #include "GrPathRange.h" | 12 #include "GrPathRange.h" |
14 #include "GrResourceProvider.h" | 13 #include "GrResourceProvider.h" |
15 #include "GrTextUtils.h" | 14 #include "GrTextUtils.h" |
16 #include "SkAutoKern.h" | 15 #include "SkAutoKern.h" |
17 #include "SkDraw.h" | 16 #include "SkDraw.h" |
18 #include "SkDrawProcs.h" | 17 #include "SkDrawProcs.h" |
19 #include "SkGlyphCache.h" | 18 #include "SkGlyphCache.h" |
20 #include "SkGpuDevice.h" | 19 #include "SkGpuDevice.h" |
21 #include "SkGrPriv.h" | 20 #include "SkGrPriv.h" |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 } | 696 } |
698 | 697 |
699 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfNeed
ed(int *count) { | 698 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfNeed
ed(int *count) { |
700 *count = fCount; | 699 *count = fCount; |
701 if (fCount) { | 700 if (fCount) { |
702 this->flush(); | 701 this->flush(); |
703 return fBuilder->build(); | 702 return fBuilder->build(); |
704 } | 703 } |
705 return nullptr; | 704 return nullptr; |
706 } | 705 } |
OLD | NEW |