| OLD | NEW |
| 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 #include "GrAtlasTextContext.h" | 7 #include "GrAtlasTextContext.h" |
| 8 | 8 |
| 9 #include "GrAtlas.h" | |
| 10 #include "GrBatch.h" | 9 #include "GrBatch.h" |
| 11 #include "GrBatchFontCache.h" | 10 #include "GrBatchFontCache.h" |
| 12 #include "GrBatchTarget.h" | 11 #include "GrBatchTarget.h" |
| 13 #include "GrDefaultGeoProcFactory.h" | 12 #include "GrDefaultGeoProcFactory.h" |
| 14 #include "GrDrawTarget.h" | 13 #include "GrDrawTarget.h" |
| 15 #include "GrFontScaler.h" | 14 #include "GrFontScaler.h" |
| 16 #include "GrIndexBuffer.h" | 15 #include "GrIndexBuffer.h" |
| 17 #include "GrStrokeInfo.h" | 16 #include "GrStrokeInfo.h" |
| 18 #include "GrTextBlobCache.h" | 17 #include "GrTextBlobCache.h" |
| 19 #include "GrTexturePriv.h" | 18 #include "GrTexturePriv.h" |
| (...skipping 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2156 pipelineBuilder.setFromPaint(grPaint, rt, clip); | 2155 pipelineBuilder.setFromPaint(grPaint, rt, clip); |
| 2157 | 2156 |
| 2158 GrColor color = grPaint.getColor(); | 2157 GrColor color = grPaint.getColor(); |
| 2159 for (int run = 0; run < cacheBlob->fRunCount; run++) { | 2158 for (int run = 0; run < cacheBlob->fRunCount; run++) { |
| 2160 this->flushRun(target, &pipelineBuilder, cacheBlob, run, color, 0, 0, sk
Paint); | 2159 this->flushRun(target, &pipelineBuilder, cacheBlob, run, color, 0, 0, sk
Paint); |
| 2161 } | 2160 } |
| 2162 | 2161 |
| 2163 // Now flush big glyphs | 2162 // Now flush big glyphs |
| 2164 this->flushBigGlyphs(cacheBlob, rt, grPaint, clip, 0, 0); | 2163 this->flushBigGlyphs(cacheBlob, rt, grPaint, clip, 0, 0); |
| 2165 } | 2164 } |
| OLD | NEW |