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

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

Issue 1202293002: Move GLSL-specific routines/classes to separate glsl directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rename GrGLGLSL.{cpp,h} Created 5 years, 6 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/effects/SkMagnifierImageFilter.cpp ('k') | src/gpu/GrAALinearizingConvexPathRenderer.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" 12 #include "GrBatch.h"
13 #include "GrBatchTarget.h" 13 #include "GrBatchTarget.h"
14 #include "GrBatchTest.h" 14 #include "GrBatchTest.h"
15 #include "GrCaps.h" 15 #include "GrCaps.h"
16 #include "GrContext.h" 16 #include "GrContext.h"
17 #include "GrDefaultGeoProcFactory.h" 17 #include "GrDefaultGeoProcFactory.h"
18 #include "GrGeometryProcessor.h" 18 #include "GrGeometryProcessor.h"
19 #include "GrInvariantOutput.h" 19 #include "GrInvariantOutput.h"
20 #include "GrPathUtils.h" 20 #include "GrPathUtils.h"
21 #include "GrProcessor.h" 21 #include "GrProcessor.h"
22 #include "GrPipelineBuilder.h" 22 #include "GrPipelineBuilder.h"
23 #include "GrStrokeInfo.h" 23 #include "GrStrokeInfo.h"
24 #include "SkGeometry.h" 24 #include "SkGeometry.h"
25 #include "SkPathPriv.h" 25 #include "SkPathPriv.h"
26 #include "SkString.h" 26 #include "SkString.h"
27 #include "SkTraceEvent.h" 27 #include "SkTraceEvent.h"
28 #include "gl/GrGLProcessor.h" 28 #include "gl/GrGLProcessor.h"
29 #include "gl/GrGLSL.h"
30 #include "gl/GrGLGeometryProcessor.h" 29 #include "gl/GrGLGeometryProcessor.h"
31 #include "gl/builders/GrGLProgramBuilder.h" 30 #include "gl/builders/GrGLProgramBuilder.h"
32 31
33 GrAAConvexPathRenderer::GrAAConvexPathRenderer() { 32 GrAAConvexPathRenderer::GrAAConvexPathRenderer() {
34 } 33 }
35 34
36 struct Segment { 35 struct Segment {
37 enum { 36 enum {
38 // These enum values are assumed in member functions below. 37 // These enum values are assumed in member functions below.
39 kLine = 0, 38 kLine = 0,
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 BATCH_TEST_DEFINE(AAConvexPathBatch) { 1019 BATCH_TEST_DEFINE(AAConvexPathBatch) {
1021 AAConvexPathBatch::Geometry geometry; 1020 AAConvexPathBatch::Geometry geometry;
1022 geometry.fColor = GrRandomColor(random); 1021 geometry.fColor = GrRandomColor(random);
1023 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random); 1022 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random);
1024 geometry.fPath = GrTest::TestPathConvex(random); 1023 geometry.fPath = GrTest::TestPathConvex(random);
1025 1024
1026 return AAConvexPathBatch::Create(geometry); 1025 return AAConvexPathBatch::Create(geometry);
1027 } 1026 }
1028 1027
1029 #endif 1028 #endif
OLDNEW
« no previous file with comments | « src/effects/SkMagnifierImageFilter.cpp ('k') | src/gpu/GrAALinearizingConvexPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698