Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@7406 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2013-01-26 07:06:02 +00:00
parent 4899712109
commit e16efc1882
623 changed files with 0 additions and 726 deletions

View File

@ -23,4 +23,3 @@ private:
};
#endif

View File

@ -282,4 +282,3 @@ static BenchRegistry gReg13(Fact13);
static BenchRegistry gReg14(Fact14);
static BenchRegistry gReg15(Fact15);
static BenchRegistry gReg16(Fact16);

View File

@ -106,4 +106,3 @@ DEF_BENCH(return new BitmapRectBench(p, 0x80, true, false))
DEF_BENCH(return new BitmapRectBench(p, 0xFF, false, true))
DEF_BENCH(return new BitmapRectBench(p, 0xFF, true, true))

View File

@ -103,4 +103,3 @@ DEF_BENCH(return new BlurBench(p, REALBIG, SkBlurMaskFilter::kNormal_BlurStyle,
DEF_BENCH(return new BlurBench(p, REAL, SkBlurMaskFilter::kNormal_BlurStyle, SkBlurMaskFilter::kHighQuality_BlurFlag);)
DEF_BENCH(return new BlurBench(p, 0, SkBlurMaskFilter::kNormal_BlurStyle);)

View File

@ -498,4 +498,3 @@ static inline SkBenchmark* ScrollGmailFactory(void* p) {
// Disabled this benchmark: it takes 15x longer than any other benchmark
// and is probably not giving us important information.
//static BenchRegistry gScrollGmailReg(ScrollGmailFactory);

View File

@ -287,4 +287,3 @@ static BenchRegistry gReg31(Fact31);
static BenchRegistry gReg5(Fact5);
static BenchRegistry gReg4(Fact4);

View File

@ -164,4 +164,3 @@ static BenchRegistry gReg1(M1);
static BenchRegistry gReg2(M2);
static BenchRegistry gReg3(M3);
static BenchRegistry gReg4(M4);

View File

@ -169,4 +169,3 @@ DEF_BENCH( return new PostScaleMatrix44Bench(p); )
DEF_BENCH( return new InvertMatrix44Bench(p); )
DEF_BENCH( return new SetConcatMatrix44Bench(p); )
DEF_BENCH( return new GetTypeMatrix44Bench(p); )

View File

@ -59,4 +59,3 @@ static SkBenchmark* F1(void* p) { return new ChunkAllocBench(p, 8*1024); }
static BenchRegistry gR0(F0);
static BenchRegistry gR1(F1);

View File

@ -114,4 +114,3 @@ static BenchRegistry gReg21(Fact21);
static BenchRegistry gRegNone(FactNone);
#endif

View File

@ -40,4 +40,3 @@ private:
static SkBenchmark* Fact(void* p) { return new MutexBench(p); }
static BenchRegistry gReg01(Fact);

View File

@ -144,4 +144,3 @@ static SkBenchmark* Fact2(void* p) { return new PosTextPlaybackBench(p, false);
static BenchRegistry gReg0(Fact0);
static BenchRegistry gReg1(Fact1);
static BenchRegistry gReg2(Fact2);

View File

@ -215,4 +215,3 @@ static BenchRegistry gReg1(Fact1);
static BenchRegistry gReg2(Fact2);
static BenchRegistry gReg3(Fact3);
static BenchRegistry gReg4(Fact4);

View File

@ -308,4 +308,3 @@ DEF_BENCH( return SkNEW_ARGS(BlitMaskBench,
(p, SkCanvas::kPoints_PointMode,
BlitMaskBench::KMaskShader, "maskshader")
); )

View File

@ -140,4 +140,3 @@ DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config, false))
DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kRGB_565_Config))
DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_4444_Config))
DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kIndex8_Config))

View File

@ -105,4 +105,3 @@ static BenchRegistry gReg10(Fact10);
static BenchRegistry gReg11(Fact11);
static BenchRegistry gReg20(Fact20);
static BenchRegistry gReg21(Fact21);

View File

@ -176,4 +176,3 @@ DEF_BENCH( return NewQSort(p, kBack); )
DEF_BENCH( return NewSkQSort(p, kSame); )
DEF_BENCH( return NewSkHeap(p, kSame); )
DEF_BENCH( return NewQSort(p, kSame); )

View File

@ -918,4 +918,3 @@ int main(int argc, char * const argv[]) {
return tool_main(argc, (char**) argv);
}
#endif

View File

@ -1148,4 +1148,3 @@ int QT_MANGLE_NAMESPACE(qCleanupResources)()
}
Q_DESTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qCleanupResources))

View File

@ -276,4 +276,3 @@ private:
static SkView* MyFactory() { return new DrawingClientView; }
static SkViewRegister reg(MyFactory);

View File

@ -193,4 +193,3 @@ SkColor SkColorPalette::selectColorFromGradient(SkPoint& cursorPosition) {
retval += (int)(b * 255);
return retval;
}

View File

@ -32,4 +32,3 @@ private:
};
#endif

View File

@ -48,4 +48,3 @@ void SkNetPipeController::notifyWritten(size_t bytes) {
fAtomsWritten += 1;
}

View File

@ -34,4 +34,3 @@ private:
SkGPipeReader::Status fStatus;
};
#endif

View File

@ -12,4 +12,3 @@
ReaderView* fReaderView;
}
@end

View File

@ -73,4 +73,3 @@ void ReaderView::draw(SkCanvas* canvas) {
canvas->drawBitmap(fBufferBitmaps[fFront], 0, 0, NULL);
this->inval(NULL);
}

View File

@ -27,4 +27,3 @@ private:
SkBitmap fBufferBitmaps[2];
typedef SkView INHERITED;
};

View File

@ -81,7 +81,3 @@ void ActiveEdge_Test() {
SkASSERT(!operator_less_than(right, left));
}
}

View File

@ -141,4 +141,3 @@ bool convex_x_hull(const Cubic& cubic, char connectTo0[2], char connectTo3[2]) {
return (1 << lower0Index | 1 << upper0Index
| 1 << lower3Index | 1 << upper3Index) == 0x0F;
}

View File

@ -466,6 +466,3 @@ nextTest:
;
}
}

View File

@ -516,5 +516,3 @@ void tangent(const Cubic& cubic, double t, _Point& result) {
// unit test to return and validate parametric coefficients
#include "CubicParameterization_TestUtility.cpp"

View File

@ -288,4 +288,3 @@ void SimplifyDegenerate4x4TrianglesThreaded_Test(int& testsRun) {
testsRun += waitForCompletion();
SkDebugf("%s tests=%d total=%d\n", __FUNCTION__, testsRun - testsStart, testsRun);
}

View File

@ -788,4 +788,3 @@ void SimplifyPolygonPaths_Test() {
firstTestComplete = true;
}
}

View File

@ -467,4 +467,3 @@ void SimplifyRectangularPaths_Test() {
(*simplifyTests[index])();
}
}

View File

@ -21,4 +21,3 @@ enum x_at_flags {
void x_at(const _Point& p1, const _Point& p2, double minY, double maxY,
int flags, double& tMin, double& tMax);

View File

@ -16,4 +16,3 @@
#include "ShapeOps.h"
#include "TSearch.h"
#include <algorithm> // used for std::min

View File

@ -133,4 +133,3 @@ void SimplifyAddIntersectingTs_Test() {
}
}
}

View File

@ -198,4 +198,3 @@ void Simplify4x4RectsThreaded_Test(int& testsRun)
testsRun += waitForCompletion();
SkDebugf("%s tests=%d total=%d\n", __FUNCTION__, testsRun - testsStart, testsRun);
}

View File

@ -1079,4 +1079,3 @@ void SkAntiEdge_Test() {
test_horz();
test_vert();
}

View File

@ -127,4 +127,3 @@ private:
static SkView* MyFactory() { return new NetPipeReaderView; }
static SkViewRegister reg(MyFactory);

View File

@ -14,4 +14,3 @@
@interface SimpleNSView : SkNSView
- (id)initWithDefaults;
@end

View File

@ -15,4 +15,3 @@
@property (nonatomic, retain) IBOutlet UIWindow *window;
@end

View File

@ -15,4 +15,3 @@
@property (nonatomic, retain) IBOutlet UIWindow *window;
@end

View File

@ -67,4 +67,3 @@ bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3])
matrix->getSkewY(), matrix->getScaleY()));
return true;
}

View File

@ -97,4 +97,3 @@ bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3
matrix->getSkewY(), matrix->getScaleY()));
return true;
}

View File

@ -72,4 +72,3 @@ bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3
matrix->getSkewY(), matrix->getScaleY()));
return true;
}

View File

@ -302,4 +302,3 @@ bool GrStrokePathRenderer::onDrawPath(const SkPath& origPath,
return true;
}

View File

@ -44,4 +44,3 @@ class SkEvent;
- (void)postInvalWithRect:(const SkIRect*)rectOrNil;
- (BOOL)onHandleEvent:(const SkEvent&)event;
@end

View File

@ -44,4 +44,3 @@ struct FPSState;
- (void)setSkTitle:(const char*)title;
- (void)postInvalWithRect:(const SkIRect*)rectOrNil;
@end

View File

@ -17,4 +17,3 @@
@property (nonatomic, retain) IBOutlet SkUISplitViewController* splitViewController;
@end

View File

@ -17,4 +17,3 @@
@property (nonatomic, retain) IBOutlet SkUINavigationController* fRoot;
@end

View File

@ -499,4 +499,3 @@ void ForthEnv::run(const char text[], ForthOutput* output) {
}
}
#endif

View File

@ -103,4 +103,3 @@ private:
};
#endif

View File

@ -405,4 +405,3 @@ void Forth_test_stdwords(bool verbose) {
SkDebugf("--- %d failures\n", reporter.fFailureCount);
}
}

View File

@ -459,4 +459,3 @@ void ForthParser::addStdWords() {
this->add("f>", 2, new fgt_ForthWord);
this->add("f>=", 3, new fge_ForthWord);
}

View File

@ -187,4 +187,3 @@ namespace skiagm {
static GMRegistry reg(MyFactory);
}

View File

@ -96,4 +96,3 @@ static GM* MyFactory(void*) { return new BigMatrixGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -131,6 +131,3 @@ static GM* MyFactory(void*) { return new FilterGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -107,4 +107,3 @@ static GM* MyFactory(void*) { return new BlursGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -130,5 +130,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new ColorFilterImageFilterGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -80,4 +80,3 @@ static GM* MyFactory(void*) { return new ShaderGM; }
static GMRegistry reg(MyFactory);
} // namespace

View File

@ -263,4 +263,3 @@ static GM* MyFactory(void*) { return new ConvexPathsGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -71,4 +71,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new DashCubicsGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -308,4 +308,3 @@ static skiagm::GM* F2(void*) { return new Dashing3GM; }
static skiagm::GMRegistry gR0(F0);
static skiagm::GMRegistry gR1(F1);
static skiagm::GMRegistry gR2(F2);

View File

@ -189,4 +189,3 @@ static GM* MyFactory(void*) { return new DrawBitmapRectGM; }
static GMRegistry reg(MyFactory);
#endif
}

View File

@ -99,4 +99,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new DrawLooperGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -97,4 +97,3 @@ private:
///////////////////////////////////////////////////////////////////////////////
DEF_GM(return new FatPathFillGM;)

View File

@ -93,4 +93,3 @@ static GM* MyFactory(void*) { return new FillTypeGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -131,4 +131,3 @@ static GM* MyFactory(void*) { return new FillTypePerspGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -90,4 +90,3 @@ static GM* MyFactory(void*) { return new FontScalerGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -71,4 +71,3 @@ protected:
static skiagm::GM* F(void*) { return new GetPosTextPathGM; }
static skiagm::GMRegistry gR(F);

View File

@ -152,4 +152,3 @@ static skiagm::GMRegistry reg201(G201);
static skiagm::GMRegistry reg011(G011);
static skiagm::GMRegistry reg111(G111);
static skiagm::GMRegistry reg211(G211);

View File

@ -367,5 +367,3 @@ static GMRegistry reg5(MyFactory5);
static GM* MyFactory6(void*) { return new GradientsViewPerspectiveGM; }
static GMRegistry reg6(MyFactory6);
}

View File

@ -164,4 +164,3 @@ static GMRegistry reg(MyFactory);
static GMRegistry Creg(CMyFactory);
static GMRegistry Creg2(CMyFactory2);
}

View File

@ -73,5 +73,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new HitTestPathGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -192,4 +192,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new ImageGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -223,5 +223,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new ImageFiltersBaseGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -92,5 +92,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new ImageFiltersGraphGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -115,6 +115,3 @@ static GM* MyFactory(void*) { return new NinePatchStretchGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -220,4 +220,3 @@ static skiagm::GMRegistry reg(MyFactory);
static skiagm::GM* F1(void*) { return new PathInverseFillGM; }
static skiagm::GMRegistry gR1(F1);

View File

@ -111,4 +111,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new PathInteriorGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -71,4 +71,3 @@ static GM* MyFactory(void*) { return new PointsGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -106,4 +106,3 @@ static GM* MyFactory(void*) { return new Poly2PolyGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -167,4 +167,3 @@ private:
};
DEF_GM( return new RRectGM; )

View File

@ -146,5 +146,3 @@ DEF_GM( return new RRectGM(false, true); )
DEF_GM( return new RRectGM(true, true); )
}

View File

@ -149,4 +149,3 @@ private:
///////////////////////////////////////////////////////////////////////////////
DEF_GM(return new SrcModeGM;)

View File

@ -110,4 +110,3 @@ private:
///////////////////////////////////////////////////////////////////////////////////////////////////
DEF_GM(return new StrokeRectGM;)

View File

@ -81,4 +81,3 @@ static GM* MyFactory(void*) { return new StrokeRectGM; }
static GMRegistry reg(MyFactory);
}

View File

@ -248,5 +248,3 @@ static skiagm::GM* F2(void*) { return new Strokes3GM; }
static skiagm::GMRegistry R0(F0);
static skiagm::GMRegistry R1(F1);
static skiagm::GMRegistry R2(F2);

View File

@ -395,5 +395,3 @@ ADD_GM(TalkGM, (4, true))
//static GM* MyFactory(void*) { return new TalkGM(0, false); }
//static GMRegistry reg(MyFactory);

View File

@ -142,5 +142,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new TestImageFiltersGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -215,4 +215,3 @@ private:
static skiagm::GM* MyFactory(void*) { return new TextEffectsGM; }
static skiagm::GMRegistry reg(MyFactory);

View File

@ -257,5 +257,3 @@ static skiagm::GMRegistry reg2(MyFactory2);
static skiagm::GM* MyFactory3(void*) { return new Tiling2GM(make_grad, "gradient"); }
static skiagm::GMRegistry reg3(MyFactory3);

View File

@ -109,4 +109,3 @@ protected:
static skiagm::GM* F(void*) { return new TwoPointRadialGM; }
static skiagm::GMRegistry gR(F);

View File

@ -498,4 +498,3 @@ private:
};
#endif

View File

@ -37,4 +37,3 @@ private:
};
#endif

View File

@ -228,4 +228,3 @@ struct SK_API Sk64 {
};
#endif

View File

@ -91,4 +91,3 @@ private:
};
#endif

View File

@ -464,4 +464,3 @@ private:
};
#endif

View File

@ -164,4 +164,3 @@ typedef SkPMColor (*SkXfermodeProc)(SkPMColor src, SkPMColor dst);
typedef uint16_t (*SkXfermodeProc16)(SkPMColor src, uint16_t dst);
#endif

Some files were not shown because too many files have changed in this diff Show More