| 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 "GrDrawContext.h" | 11 #include "GrDrawContext.h" |
| 11 #include "GrPath.h" | 12 #include "GrPath.h" |
| 12 #include "GrPathRange.h" | 13 #include "GrPathRange.h" |
| 13 #include "GrResourceProvider.h" | 14 #include "GrResourceProvider.h" |
| 14 #include "GrTextUtils.h" | 15 #include "GrTextUtils.h" |
| 15 #include "SkAutoKern.h" | 16 #include "SkAutoKern.h" |
| 16 #include "SkDraw.h" | 17 #include "SkDraw.h" |
| 17 #include "SkDrawProcs.h" | 18 #include "SkDrawProcs.h" |
| 18 #include "SkGlyphCache.h" | 19 #include "SkGlyphCache.h" |
| 19 #include "SkGpuDevice.h" | |
| 20 #include "SkGrPriv.h" | 20 #include "SkGrPriv.h" |
| 21 #include "SkDrawFilter.h" | 21 #include "SkDrawFilter.h" |
| 22 #include "SkPath.h" | 22 #include "SkPath.h" |
| 23 #include "SkTextBlobRunIterator.h" | 23 #include "SkTextBlobRunIterator.h" |
| 24 #include "SkTextMapStateProc.h" | 24 #include "SkTextMapStateProc.h" |
| 25 #include "SkTextFormatParams.h" | 25 #include "SkTextFormatParams.h" |
| 26 | 26 |
| 27 #include "batches/GrDrawPathBatch.h" | 27 #include "batches/GrDrawPathBatch.h" |
| 28 | 28 |
| 29 template<typename Key, typename Val> static void delete_hash_map_entry(const Key
&, Val* val) { | 29 template<typename Key, typename Val> static void delete_hash_map_entry(const Key
&, Val* val) { |
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 } | 703 } |
| 704 | 704 |
| 705 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfNeed
ed(int *count) { | 705 const SkTextBlob* GrStencilAndCoverTextContext::FallbackBlobBuilder::buildIfNeed
ed(int *count) { |
| 706 *count = fCount; | 706 *count = fCount; |
| 707 if (fCount) { | 707 if (fCount) { |
| 708 this->flush(); | 708 this->flush(); |
| 709 return fBuilder->build(); | 709 return fBuilder->build(); |
| 710 } | 710 } |
| 711 return nullptr; | 711 return nullptr; |
| 712 } | 712 } |
| OLD | NEW |