diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-05 03:02:06 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-05 03:02:06 +0000 |
commit | de34b998fe4adae157afcd96189d9f46fe4fda20 (patch) | |
tree | 162a6e35e099d94a3ddb78ca0cfeb9069d04424c /gpu/effects/GrRRectEffect.cpp | |
parent | f2f0ebf48ce6da1113903c0cb39e24e0f64bca61 (diff) | |
download | src-de34b998fe4adae157afcd96189d9f46fe4fda20.tar.gz |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk/src@13665 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/effects/GrRRectEffect.cpp')
-rw-r--r-- | gpu/effects/GrRRectEffect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/effects/GrRRectEffect.cpp b/gpu/effects/GrRRectEffect.cpp index 583e3858..a5901867 100644 --- a/gpu/effects/GrRRectEffect.cpp +++ b/gpu/effects/GrRRectEffect.cpp @@ -21,7 +21,7 @@ class RRectEffect : public GrEffect { public: // This effect only supports circular corner rrects where the radius is >= kRadiusMin. static const SkScalar kRadiusMin; - + /// The types of circular corner rrects supported enum RRectType { kCircleCorner_RRectType, //<! All four corners have the same circular radius. @@ -39,7 +39,7 @@ public: const SkRRect& getRRect() const { return fRRect; } RRectType getType() const { return fRRectType; } - + EdgeType getEdgeType() const { return fEdgeType; } typedef GLRRectEffect GLEffect; @@ -221,7 +221,7 @@ void GLRRectEffect::emitCode(GrGLShaderBuilder* builder, radiusPlusHalfName); break; } - + if (kInverseFillAA_EdgeType == rre.getEdgeType()) { builder->fsCodeAppend("\t\talpha = 1.0 - alpha;\n"); } |