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

Side by Side Diff: src/gpu/effects/GrBezierEffect.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/GrPathProcessor.cpp ('k') | src/gpu/effects/GrBitmapTextGeoProc.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 2013 Google Inc. 2 * Copyright 2013 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 "GrBezierEffect.h" 8 #include "GrBezierEffect.h"
9 9
10 #include "gl/GrGLProcessor.h" 10 #include "gl/GrGLProcessor.h"
11 #include "gl/GrGLSL.h"
12 #include "gl/GrGLGeometryProcessor.h" 11 #include "gl/GrGLGeometryProcessor.h"
13 #include "gl/builders/GrGLProgramBuilder.h" 12 #include "gl/builders/GrGLProgramBuilder.h"
14 13
15 class GrGLConicEffect : public GrGLGeometryProcessor { 14 class GrGLConicEffect : public GrGLGeometryProcessor {
16 public: 15 public:
17 GrGLConicEffect(const GrGeometryProcessor&, 16 GrGLConicEffect(const GrGeometryProcessor&,
18 const GrBatchTracker&); 17 const GrBatchTracker&);
19 18
20 void onEmitCode(EmitArgs&, GrGPArgs*) override; 19 void onEmitCode(EmitArgs&, GrGPArgs*) override;
21 20
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 GrGeometryProcessor* gp; 657 GrGeometryProcessor* gp;
659 do { 658 do {
660 GrPrimitiveEdgeType edgeType = static_cast<GrPrimitiveEdgeType>( 659 GrPrimitiveEdgeType edgeType = static_cast<GrPrimitiveEdgeType>(
661 random->nextULessThan(kGrPro cessorEdgeTypeCnt)); 660 random->nextULessThan(kGrPro cessorEdgeTypeCnt));
662 gp = GrCubicEffect::Create(GrRandomColor(random), 661 gp = GrCubicEffect::Create(GrRandomColor(random),
663 GrTest::TestMatrix(random), edgeType, caps); 662 GrTest::TestMatrix(random), edgeType, caps);
664 } while (NULL == gp); 663 } while (NULL == gp);
665 return gp; 664 return gp;
666 } 665 }
667 666
OLDNEW
« no previous file with comments | « src/gpu/GrPathProcessor.cpp ('k') | src/gpu/effects/GrBitmapTextGeoProc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698