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

Side by Side Diff: src/gpu/GrAALinearizingConvexPathRenderer.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/gpu/GrAAConvexPathRenderer.cpp ('k') | src/gpu/GrOvalRenderer.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 2015 Google Inc. 3 * Copyright 2015 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 "GrAALinearizingConvexPathRenderer.h" 9 #include "GrAALinearizingConvexPathRenderer.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 "GrContext.h" 15 #include "GrContext.h"
16 #include "GrDefaultGeoProcFactory.h" 16 #include "GrDefaultGeoProcFactory.h"
17 #include "GrGeometryProcessor.h" 17 #include "GrGeometryProcessor.h"
18 #include "GrInvariantOutput.h" 18 #include "GrInvariantOutput.h"
19 #include "GrPathUtils.h" 19 #include "GrPathUtils.h"
20 #include "GrProcessor.h" 20 #include "GrProcessor.h"
21 #include "GrPipelineBuilder.h" 21 #include "GrPipelineBuilder.h"
22 #include "GrStrokeInfo.h" 22 #include "GrStrokeInfo.h"
23 #include "SkGeometry.h" 23 #include "SkGeometry.h"
24 #include "SkString.h" 24 #include "SkString.h"
25 #include "SkTraceEvent.h" 25 #include "SkTraceEvent.h"
26 #include "gl/GrGLProcessor.h" 26 #include "gl/GrGLProcessor.h"
27 #include "gl/GrGLSL.h"
28 #include "gl/GrGLGeometryProcessor.h" 27 #include "gl/GrGLGeometryProcessor.h"
29 #include "gl/builders/GrGLProgramBuilder.h" 28 #include "gl/builders/GrGLProgramBuilder.h"
30 29
31 #define DEFAULT_BUFFER_SIZE 100 30 #define DEFAULT_BUFFER_SIZE 100
32 31
33 GrAALinearizingConvexPathRenderer::GrAALinearizingConvexPathRenderer() { 32 GrAALinearizingConvexPathRenderer::GrAALinearizingConvexPathRenderer() {
34 } 33 }
35 34
36 /////////////////////////////////////////////////////////////////////////////// 35 ///////////////////////////////////////////////////////////////////////////////
37 36
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 BATCH_TEST_DEFINE(AAFlatteningConvexPathBatch) { 310 BATCH_TEST_DEFINE(AAFlatteningConvexPathBatch) {
312 AAFlatteningConvexPathBatch::Geometry geometry; 311 AAFlatteningConvexPathBatch::Geometry geometry;
313 geometry.fColor = GrRandomColor(random); 312 geometry.fColor = GrRandomColor(random);
314 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random); 313 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random);
315 geometry.fPath = GrTest::TestPathConvex(random); 314 geometry.fPath = GrTest::TestPathConvex(random);
316 315
317 return AAFlatteningConvexPathBatch::Create(geometry); 316 return AAFlatteningConvexPathBatch::Create(geometry);
318 } 317 }
319 318
320 #endif 319 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrAAConvexPathRenderer.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698