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

Side by Side Diff: src/gpu/batches/GrTessellatingPathRenderer.cpp

Issue 2167193002: Revert of Remove DrawFace enum from GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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/batches/GrStencilAndCoverPathRenderer.cpp ('k') | src/gpu/gl/GrGLGpu.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 7
8 #include "GrTessellatingPathRenderer.h" 8 #include "GrTessellatingPathRenderer.h"
9 9
10 #include "GrAuditTrail.h" 10 #include "GrAuditTrail.h"
11 #include "GrBatchFlushState.h" 11 #include "GrBatchFlushState.h"
12 #include "GrBatchTest.h" 12 #include "GrBatchTest.h"
13 #include "GrClip.h" 13 #include "GrClip.h"
14 #include "GrDefaultGeoProcFactory.h" 14 #include "GrDefaultGeoProcFactory.h"
15 #include "GrMesh.h" 15 #include "GrMesh.h"
16 #include "GrPathUtils.h" 16 #include "GrPathUtils.h"
17 #include "GrPipelineBuilder.h"
18 #include "GrResourceCache.h" 17 #include "GrResourceCache.h"
19 #include "GrResourceProvider.h" 18 #include "GrResourceProvider.h"
20 #include "GrTessellator.h" 19 #include "GrTessellator.h"
21 #include "SkGeometry.h" 20 #include "SkGeometry.h"
22 21
23 #include "batches/GrVertexBatch.h" 22 #include "batches/GrVertexBatch.h"
24 23
25 #include <stdio.h> 24 #include <stdio.h>
26 25
27 /* 26 /*
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 vmi.mapRect(&clipBounds); 296 vmi.mapRect(&clipBounds);
298 GrStyle style; 297 GrStyle style;
299 do { 298 do {
300 GrTest::TestStyle(random, &style); 299 GrTest::TestStyle(random, &style);
301 } while (style.strokeRec().isHairlineStyle()); 300 } while (style.strokeRec().isHairlineStyle());
302 GrShape shape(path, style); 301 GrShape shape(path, style);
303 return TessellatingPathBatch::Create(color, shape, viewMatrix, clipBounds); 302 return TessellatingPathBatch::Create(color, shape, viewMatrix, clipBounds);
304 } 303 }
305 304
306 #endif 305 #endif
OLDNEW
« no previous file with comments | « src/gpu/batches/GrStencilAndCoverPathRenderer.cpp ('k') | src/gpu/gl/GrGLGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698