Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9117 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
381bb43efb
commit
0431b87a98
@ -80,7 +80,7 @@ private:
|
||||
|
||||
info.fFlagsMask = 0;
|
||||
// TODO: add a color filter to better match what is seen in the wild
|
||||
info.fPaintBits = /* SkLayerDrawLooper::kColorFilter_Bit |*/
|
||||
info.fPaintBits = /* SkLayerDrawLooper::kColorFilter_Bit |*/
|
||||
SkLayerDrawLooper::kMaskFilter_Bit;
|
||||
info.fColorMode = SkXfermode::kDst_Mode;
|
||||
info.fOffset.set(xOff, 0);
|
||||
|
@ -273,4 +273,3 @@ SkFontMgr* SkFontMgr::Factory() {
|
||||
SkFontConfigInterface* fci = RefFCI();
|
||||
return fci ? SkNEW_ARGS(SkFontMgr_fontconfig, (fci)) : NULL;
|
||||
}
|
||||
|
||||
|
@ -287,7 +287,7 @@ GrEffectRef* EllipseEdgeEffect::TestCreate(SkMWCRandom* random,
|
||||
|
||||
/**
|
||||
* The output of this effect is a modulation of the input color and coverage for an axis-aligned
|
||||
* ellipse, specified as an offset vector from center and reciprocals of outer and inner radii in
|
||||
* ellipse, specified as an offset vector from center and reciprocals of outer and inner radii in
|
||||
* both x and y directions.
|
||||
*
|
||||
* This uses a slightly different algorithm than the EllipseEdgeEffect, above. Rather than
|
||||
@ -958,7 +958,7 @@ bool GrOvalRenderer::drawSimpleRRect(GrDrawTarget* target, GrContext* context, b
|
||||
SkScalar recipOuterY = SK_Scalar1/yOuterRadius;
|
||||
SkScalar recipInnerX = SK_Scalar1/xInnerRadius;
|
||||
SkScalar recipInnerY = SK_Scalar1/yInnerRadius;
|
||||
|
||||
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
verts->fPos = SkPoint::Make(bounds.fLeft, yCoords[i]);
|
||||
verts->fOffset = SkPoint::Make(-xOuterRadius, yOuterOffsets[i]);
|
||||
|
@ -232,4 +232,3 @@ void FontConfigTypeface::onGetFontDescriptor(SkFontDescriptor* desc,
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user