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

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

Issue 1277233002: Make folder for batches (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 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 | « gyp/gpu.gypi ('k') | src/gpu/GrAADistanceFieldPathRenderer.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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "GrAAConvexPathRenderer.h" 9 #include "GrAAConvexPathRenderer.h"
10 10
11 #include "GrAAConvexTessellator.h" 11 #include "GrAAConvexTessellator.h"
12 #include "GrBatch.h"
13 #include "GrBatchTarget.h" 12 #include "GrBatchTarget.h"
14 #include "GrBatchTest.h" 13 #include "GrBatchTest.h"
15 #include "GrCaps.h" 14 #include "GrCaps.h"
16 #include "GrContext.h" 15 #include "GrContext.h"
17 #include "GrDefaultGeoProcFactory.h" 16 #include "GrDefaultGeoProcFactory.h"
18 #include "GrGeometryProcessor.h" 17 #include "GrGeometryProcessor.h"
19 #include "GrInvariantOutput.h" 18 #include "GrInvariantOutput.h"
20 #include "GrPathUtils.h" 19 #include "GrPathUtils.h"
21 #include "GrProcessor.h" 20 #include "GrProcessor.h"
22 #include "GrPipelineBuilder.h" 21 #include "GrPipelineBuilder.h"
23 #include "GrStrokeInfo.h" 22 #include "GrStrokeInfo.h"
24 #include "SkGeometry.h" 23 #include "SkGeometry.h"
25 #include "SkPathPriv.h" 24 #include "SkPathPriv.h"
26 #include "SkString.h" 25 #include "SkString.h"
27 #include "SkTraceEvent.h" 26 #include "SkTraceEvent.h"
27 #include "batches/GrBatch.h"
28 #include "gl/GrGLProcessor.h" 28 #include "gl/GrGLProcessor.h"
29 #include "gl/GrGLGeometryProcessor.h" 29 #include "gl/GrGLGeometryProcessor.h"
30 #include "gl/builders/GrGLProgramBuilder.h" 30 #include "gl/builders/GrGLProgramBuilder.h"
31 31
32 GrAAConvexPathRenderer::GrAAConvexPathRenderer() { 32 GrAAConvexPathRenderer::GrAAConvexPathRenderer() {
33 } 33 }
34 34
35 struct Segment { 35 struct Segment {
36 enum { 36 enum {
37 // These enum values are assumed in member functions below. 37 // These enum values are assumed in member functions below.
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 BATCH_TEST_DEFINE(AAConvexPathBatch) { 1015 BATCH_TEST_DEFINE(AAConvexPathBatch) {
1016 AAConvexPathBatch::Geometry geometry; 1016 AAConvexPathBatch::Geometry geometry;
1017 geometry.fColor = GrRandomColor(random); 1017 geometry.fColor = GrRandomColor(random);
1018 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random); 1018 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random);
1019 geometry.fPath = GrTest::TestPathConvex(random); 1019 geometry.fPath = GrTest::TestPathConvex(random);
1020 1020
1021 return AAConvexPathBatch::Create(geometry); 1021 return AAConvexPathBatch::Create(geometry);
1022 } 1022 }
1023 1023
1024 #endif 1024 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrAADistanceFieldPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698