Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: src/gpu/GrAtlasTextContext.cpp

Issue 1104343003: remove old text contexts and fontcache (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweak Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrBitmapTextContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrBitmapTextContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698