OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "GrDistanceFieldTextContext.h" | 8 #include "GrDistanceFieldTextContext.h" |
9 #include "GrAtlas.h" | 9 #include "GrAtlas.h" |
| 10 #include "GrAtlasTextContext.h" |
10 #include "GrBitmapTextContext.h" | 11 #include "GrBitmapTextContext.h" |
11 #include "GrDrawTarget.h" | 12 #include "GrDrawTarget.h" |
12 #include "GrDrawTargetCaps.h" | 13 #include "GrDrawTargetCaps.h" |
13 #include "GrFontAtlasSizes.h" | 14 #include "GrFontAtlasSizes.h" |
14 #include "GrFontCache.h" | 15 #include "GrFontCache.h" |
15 #include "GrFontScaler.h" | 16 #include "GrFontScaler.h" |
16 #include "GrGpu.h" | 17 #include "GrGpu.h" |
17 #include "GrIndexBuffer.h" | 18 #include "GrIndexBuffer.h" |
18 #include "GrStrokeInfo.h" | 19 #include "GrStrokeInfo.h" |
19 #include "GrTexturePriv.h" | 20 #include "GrTexturePriv.h" |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 } | 737 } |
737 } | 738 } |
738 | 739 |
739 inline void GrDistanceFieldTextContext::finish() { | 740 inline void GrDistanceFieldTextContext::finish() { |
740 this->flush(); | 741 this->flush(); |
741 fTotalVertexCount = 0; | 742 fTotalVertexCount = 0; |
742 | 743 |
743 GrTextContext::finish(); | 744 GrTextContext::finish(); |
744 } | 745 } |
745 | 746 |
OLD | NEW |