Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13679 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
5bee0543f0
commit
06acb58074
@ -172,7 +172,7 @@ template <int N> class GrVertexAttribArray : public SkSTArray<N, GrVertexAttrib,
|
||||
|
||||
/**
|
||||
* We have coverage effects that clip rendering to the edge of some geometric primitive.
|
||||
* This enum specifies how that clipping is performed. Not all factories that take a
|
||||
* This enum specifies how that clipping is performed. Not all factories that take a
|
||||
* GrEffectEdgeType will succeed with all values and it is up to the caller to check for
|
||||
* a NULL return.
|
||||
*/
|
||||
|
@ -39,7 +39,7 @@ public:
|
||||
const SkRRect& getRRect() const { return fRRect; }
|
||||
|
||||
RRectType getType() const { return fRRectType; }
|
||||
|
||||
|
||||
GrEffectEdgeType getEdgeType() const { return fEdgeType; }
|
||||
|
||||
typedef GLRRectEffect GLEffect;
|
||||
@ -227,7 +227,7 @@ void GLRRectEffect::emitCode(GrGLShaderBuilder* builder,
|
||||
radiusPlusHalfName);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (kInverseFillBW_GrEffectEdgeType == rre.getEdgeType()) {
|
||||
builder->fsCodeAppend("\t\talpha = 1.0 - alpha;\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user