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

Side by Side Diff: src/gpu/effects/GrRRectEffect.cpp

Issue 1246193002: Moved GrGLFragmentProcessor definition to its own file (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 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/effects/GrOvalEffect.cpp ('k') | src/gpu/effects/GrSimpleTextureEffect.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 2014 Google Inc. 2 * Copyright 2014 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 "GrRRectEffect.h" 8 #include "GrRRectEffect.h"
9 9
10 #include "GrConvexPolyEffect.h" 10 #include "GrConvexPolyEffect.h"
11 #include "GrFragmentProcessor.h" 11 #include "GrFragmentProcessor.h"
12 #include "GrInvariantOutput.h" 12 #include "GrInvariantOutput.h"
13 #include "GrOvalEffect.h" 13 #include "GrOvalEffect.h"
14 #include "SkRRect.h" 14 #include "SkRRect.h"
15 #include "gl/GrGLProcessor.h" 15 #include "gl/GrGLFragmentProcessor.h"
16 #include "gl/builders/GrGLProgramBuilder.h" 16 #include "gl/builders/GrGLProgramBuilder.h"
17 17
18 // The effects defined here only handle rrect radii >= kRadiusMin. 18 // The effects defined here only handle rrect radii >= kRadiusMin.
19 static const SkScalar kRadiusMin = SK_ScalarHalf; 19 static const SkScalar kRadiusMin = SK_ScalarHalf;
20 20
21 ////////////////////////////////////////////////////////////////////////////// 21 //////////////////////////////////////////////////////////////////////////////
22 22
23 class CircularRRectEffect : public GrFragmentProcessor { 23 class CircularRRectEffect : public GrFragmentProcessor {
24 public: 24 public:
25 25
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 if (rrect.isNinePatch()) { 727 if (rrect.isNinePatch()) {
728 return EllipticalRRectEffect::Create(edgeType, rrect); 728 return EllipticalRRectEffect::Create(edgeType, rrect);
729 } 729 }
730 return NULL; 730 return NULL;
731 } 731 }
732 } 732 }
733 } 733 }
734 734
735 return NULL; 735 return NULL;
736 } 736 }
OLDNEW
« no previous file with comments | « src/gpu/effects/GrOvalEffect.cpp ('k') | src/gpu/effects/GrSimpleTextureEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698