Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@6809 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2012-12-14 02:02:06 +00:00
parent ffbe903bc8
commit 61b05dcc7e
10 changed files with 29 additions and 29 deletions

View File

@ -79,22 +79,22 @@ private:
class InvertMatrix44Bench : public Matrix44Bench {
public:
InvertMatrix44Bench(void* param) : INHERITED(param, "invert") {
fM0.set(0, 0, -1.1);
fM0.set(0, 1, 2.1);
fM0.set(0, 2, -3.1);
fM0.set(0, 3, 4.1);
fM0.set(1, 0, 5.1);
fM0.set(1, 1, -6.1);
fM0.set(1, 2, 7.1);
fM0.set(1, 3, 8.1);
fM0.set(2, 0, -9.1);
fM0.set(2, 1, 10.1);
fM0.set(2, 2, 11.1);
fM0.set(2, 3, -12.1);
fM0.set(3, 0, -13.1);
fM0.set(3, 1, 14.1);
fM0.set(3, 2, -15.1);
fM0.set(3, 3, 16.1);
fM0.set(0, 0, -1.1);
fM0.set(0, 1, 2.1);
fM0.set(0, 2, -3.1);
fM0.set(0, 3, 4.1);
fM0.set(1, 0, 5.1);
fM0.set(1, 1, -6.1);
fM0.set(1, 2, 7.1);
fM0.set(1, 3, 8.1);
fM0.set(2, 0, -9.1);
fM0.set(2, 1, 10.1);
fM0.set(2, 2, 11.1);
fM0.set(2, 3, -12.1);
fM0.set(3, 0, -13.1);
fM0.set(3, 1, 14.1);
fM0.set(3, 2, -15.1);
fM0.set(3, 3, 16.1);
}
protected:
virtual void performTest() {

View File

@ -14,7 +14,7 @@ void cubecode_test(int test);
void Intersection_Tests() {
int testsRun = 0;
SimplifyNew_Test();
Simplify4x4QuadraticsThreaded_Test(testsRun);
QuadLineIntersectThreaded_Test(testsRun);

View File

@ -5711,7 +5711,7 @@ static void assemble(const PathWrapper& path, PathWrapper& simple) {
} else {
SkDebugf(" ");
}
SkDebugf(" start=(%1.9g,%1.9g) end=(%1.9g,%1.9g)\n",
SkDebugf(" start=(%1.9g,%1.9g) end=(%1.9g,%1.9g)\n",
eStart.fX, eStart.fY, eEnd.fX, eEnd.fY);
#endif
if (approximatelyEqual(eStart, eEnd)) {
@ -5814,8 +5814,8 @@ static void assemble(const PathWrapper& path, PathWrapper& simple) {
SkASSERT(eIndex != INT_MAX);
#if DEBUG_ASSEMBLE
SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e',
sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e',
eIndex < 0 ? ~eIndex : eIndex);
sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e',
eIndex < 0 ? ~eIndex : eIndex);
#endif
do {
outer = runs[rIndex];
@ -5832,7 +5832,7 @@ static void assemble(const PathWrapper& path, PathWrapper& simple) {
}
#if DEBUG_ASSEMBLE
SkDebugf("%s rIndex=%d eIndex=%s%d close=%d\n", __FUNCTION__, rIndex,
eIndex < 0 ? "~" : "", eIndex < 0 ? ~eIndex : eIndex,
eIndex < 0 ? "~" : "", eIndex < 0 ? ~eIndex : eIndex,
sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex));
#endif
if (sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)) {

View File

@ -3091,7 +3091,7 @@ static struct {
TEST(testQuadratic71),
TEST(testQuadratic70x),
TEST(testQuadratic69),
TEST(testQuadratic68),
TEST(testQuadratic68),
TEST(testQuadratic67x),
TEST(testQuadratic65),
TEST(testQuadratic64),

View File

@ -26,4 +26,4 @@ private:
int fTileWidth, fTileHeight, fXTileCount, fYTileCount;
};
#endif
#endif

View File

@ -587,7 +587,7 @@ public:
}
return true;
}
virtual void endContext() SK_OVERRIDE {
if (fProxy) {
fProxy->endContext();

View File

@ -98,4 +98,4 @@ void SkTileGrid::clear() {
int SkTileGrid::getCount() const {
return fInsertionCount;
}
}

View File

@ -117,4 +117,4 @@ void* SkTileGridNextDatum(SkTDArray<void*>** tileData, SkTDArray<int>& tileIndic
return NULL;
}
#endif
#endif

View File

@ -496,7 +496,7 @@ public:
this->drawRect(rect, matrix, NULL, NULL);
}
/**
* This call is used to draw multiple instances of some geometry with a
* given number of vertices (V) and indices (I) per-instance. The indices in
@ -895,7 +895,7 @@ protected:
};
GR_DECL_BITFIELD_OPS_FRIENDS(BlendOptFlags);
/**
/**
* Determines what optimizations can be applied based on the blend. The coefficients may have
* to be tweaked in order for the optimization to work. srcCoeff and dstCoeff are optional
* params that receive the tweaked coefficients. Normally the function looks at the current

View File

@ -55,7 +55,7 @@ public:
static void TestUnalignedQuery(skiatest::Reporter* reporter) {
// Use SkTileGridPicture to generate a SkTileGrid with a helper
SkTileGridPicture picture(10, 10, 20, 20);
SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(0), SkIntToScalar(0),
SkRect rect1 = SkRect::MakeXYWH(SkIntToScalar(0), SkIntToScalar(0),
SkIntToScalar(8), SkIntToScalar(8));
SkRect rect2 = SkRect::MakeXYWH(SkIntToScalar(11), SkIntToScalar(11),
SkIntToScalar(1), SkIntToScalar(1));