Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@6023 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2012-10-20 02:01:23 +00:00
parent c6126c1828
commit 24c29d91ca
2 changed files with 6 additions and 6 deletions

View File

@ -829,7 +829,7 @@ public:
fID = ++gSegmentID;
#endif
}
bool operator<(const Segment& rh) const {
return fBounds.fTop < rh.fBounds.fTop;
}
@ -1675,7 +1675,7 @@ public:
const Span& mSpan = fTs[SkMin32(start, end)];
return mSpan.fDone;
}
Segment* findNextOp(SkTDArray<Span*>& chase, bool active,
int& nextStart, int& nextEnd, int& winding, int& spanWinding,
bool& unsortable, ShapeOp op,
@ -2619,7 +2619,7 @@ public:
span.fWindSum = winding;
return &span;
}
void markUnsortable(int start, int end) {
Span* span = &fTs[start];
if (start < end) {
@ -3067,7 +3067,7 @@ public:
windSum -= segment.spanSign(&angle);
}
SkDebugf("%s [%d] %sid=%d %s start=%d (%1.9g,%,1.9g) end=%d (%1.9g,%,1.9g)"
" sign=%d windValue=%d windSum=",
" sign=%d windValue=%d windSum=",
__FUNCTION__, index, angle.unsortable() ? "*** UNSORTABLE *** " : "",
segment.fID, kLVerbStr[segment.fVerb],
start, segment.xAtT(&sSpan), segment.yAtT(&sSpan), end,

View File

@ -72,7 +72,7 @@ protected:
virtual void onDraw(SkCanvas* canvas) {
// size of rect for each test case
static const int kRectWidth = 20;
static const int kRectHeight = 20;
static const int kRectHeight = 20;
static const int kCheckSize = 10;
@ -101,7 +101,7 @@ protected:
// used with shaders
SkColor alphas[] = {0xFFFFFFFF, 0x80808080};
SkXfermode::Mode modes[] = { // currently just doing the Modes expressible as Coeffs
SkXfermode::kClear_Mode,
SkXfermode::kSrc_Mode,