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

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

Issue 1105263002: Remove vertex/index buffer factilities from GrDrawTarget. (Closed) Base URL: https://skia.googlesource.com/skia.git@josh
Patch Set: rebase 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 | « src/gpu/GrAARectRenderer.cpp ('k') | src/gpu/GrBatchAtlas.cpp » ('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 "GrBatch.h" 9 #include "GrBatch.h"
10 #include "GrBatchFontCache.h" 10 #include "GrBatchFontCache.h"
11 #include "GrBatchTarget.h" 11 #include "GrBatchTarget.h"
12 #include "GrDefaultGeoProcFactory.h" 12 #include "GrDefaultGeoProcFactory.h"
13 #include "GrDrawTarget.h" 13 #include "GrDrawTarget.h"
14 #include "GrFontScaler.h" 14 #include "GrFontScaler.h"
15 #include "GrIndexBuffer.h" 15 #include "GrIndexBuffer.h"
16 #include "GrStrokeInfo.h" 16 #include "GrStrokeInfo.h"
17 #include "GrTextBlobCache.h" 17 #include "GrTextBlobCache.h"
18 #include "GrTexturePriv.h" 18 #include "GrTexturePriv.h"
19 #include "GrVertexBuffer.h"
19 20
20 #include "SkAutoKern.h" 21 #include "SkAutoKern.h"
21 #include "SkColorPriv.h" 22 #include "SkColorPriv.h"
22 #include "SkColorFilter.h" 23 #include "SkColorFilter.h"
23 #include "SkDistanceFieldGen.h" 24 #include "SkDistanceFieldGen.h"
24 #include "SkDraw.h" 25 #include "SkDraw.h"
25 #include "SkDrawFilter.h" 26 #include "SkDrawFilter.h"
26 #include "SkDrawProcs.h" 27 #include "SkDrawProcs.h"
27 #include "SkGlyphCache.h" 28 #include "SkGlyphCache.h"
28 #include "SkGpuDevice.h" 29 #include "SkGpuDevice.h"
(...skipping 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after
2155 pipelineBuilder.setFromPaint(grPaint, rt, clip); 2156 pipelineBuilder.setFromPaint(grPaint, rt, clip);
2156 2157
2157 GrColor color = grPaint.getColor(); 2158 GrColor color = grPaint.getColor();
2158 for (int run = 0; run < cacheBlob->fRunCount; run++) { 2159 for (int run = 0; run < cacheBlob->fRunCount; run++) {
2159 this->flushRun(target, &pipelineBuilder, cacheBlob, run, color, 0, 0, sk Paint); 2160 this->flushRun(target, &pipelineBuilder, cacheBlob, run, color, 0, 0, sk Paint);
2160 } 2161 }
2161 2162
2162 // Now flush big glyphs 2163 // Now flush big glyphs
2163 this->flushBigGlyphs(cacheBlob, rt, grPaint, clip, 0, 0); 2164 this->flushBigGlyphs(cacheBlob, rt, grPaint, clip, 0, 0);
2164 } 2165 }
OLDNEW
« no previous file with comments | « src/gpu/GrAARectRenderer.cpp ('k') | src/gpu/GrBatchAtlas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698