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:
parent
4899712109
commit
e16efc1882
@ -23,4 +23,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -282,4 +282,3 @@ static BenchRegistry gReg13(Fact13);
|
||||
static BenchRegistry gReg14(Fact14);
|
||||
static BenchRegistry gReg15(Fact15);
|
||||
static BenchRegistry gReg16(Fact16);
|
||||
|
||||
|
@ -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))
|
||||
|
||||
|
@ -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);)
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -287,4 +287,3 @@ static BenchRegistry gReg31(Fact31);
|
||||
static BenchRegistry gReg5(Fact5);
|
||||
|
||||
static BenchRegistry gReg4(Fact4);
|
||||
|
||||
|
@ -164,4 +164,3 @@ static BenchRegistry gReg1(M1);
|
||||
static BenchRegistry gReg2(M2);
|
||||
static BenchRegistry gReg3(M3);
|
||||
static BenchRegistry gReg4(M4);
|
||||
|
||||
|
@ -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); )
|
||||
|
||||
|
@ -59,4 +59,3 @@ static SkBenchmark* F1(void* p) { return new ChunkAllocBench(p, 8*1024); }
|
||||
|
||||
static BenchRegistry gR0(F0);
|
||||
static BenchRegistry gR1(F1);
|
||||
|
||||
|
@ -114,4 +114,3 @@ static BenchRegistry gReg21(Fact21);
|
||||
static BenchRegistry gRegNone(FactNone);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -40,4 +40,3 @@ private:
|
||||
static SkBenchmark* Fact(void* p) { return new MutexBench(p); }
|
||||
|
||||
static BenchRegistry gReg01(Fact);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -215,4 +215,3 @@ static BenchRegistry gReg1(Fact1);
|
||||
static BenchRegistry gReg2(Fact2);
|
||||
static BenchRegistry gReg3(Fact3);
|
||||
static BenchRegistry gReg4(Fact4);
|
||||
|
||||
|
@ -308,4 +308,3 @@ DEF_BENCH( return SkNEW_ARGS(BlitMaskBench,
|
||||
(p, SkCanvas::kPoints_PointMode,
|
||||
BlitMaskBench::KMaskShader, "maskshader")
|
||||
); )
|
||||
|
||||
|
@ -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))
|
||||
|
||||
|
@ -105,4 +105,3 @@ static BenchRegistry gReg10(Fact10);
|
||||
static BenchRegistry gReg11(Fact11);
|
||||
static BenchRegistry gReg20(Fact20);
|
||||
static BenchRegistry gReg21(Fact21);
|
||||
|
||||
|
@ -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); )
|
||||
|
||||
|
@ -918,4 +918,3 @@ int main(int argc, char * const argv[]) {
|
||||
return tool_main(argc, (char**) argv);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -1148,4 +1148,3 @@ int QT_MANGLE_NAMESPACE(qCleanupResources)()
|
||||
}
|
||||
|
||||
Q_DESTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qCleanupResources))
|
||||
|
||||
|
@ -276,4 +276,3 @@ private:
|
||||
|
||||
static SkView* MyFactory() { return new DrawingClientView; }
|
||||
static SkViewRegister reg(MyFactory);
|
||||
|
||||
|
@ -193,4 +193,3 @@ SkColor SkColorPalette::selectColorFromGradient(SkPoint& cursorPosition) {
|
||||
retval += (int)(b * 255);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
@ -32,4 +32,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -48,4 +48,3 @@ void SkNetPipeController::notifyWritten(size_t bytes) {
|
||||
|
||||
fAtomsWritten += 1;
|
||||
}
|
||||
|
||||
|
@ -34,4 +34,3 @@ private:
|
||||
SkGPipeReader::Status fStatus;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -12,4 +12,3 @@
|
||||
ReaderView* fReaderView;
|
||||
}
|
||||
@end
|
||||
|
||||
|
@ -73,4 +73,3 @@ void ReaderView::draw(SkCanvas* canvas) {
|
||||
canvas->drawBitmap(fBufferBitmaps[fFront], 0, 0, NULL);
|
||||
this->inval(NULL);
|
||||
}
|
||||
|
||||
|
@ -27,4 +27,3 @@ private:
|
||||
SkBitmap fBufferBitmaps[2];
|
||||
typedef SkView INHERITED;
|
||||
};
|
||||
|
||||
|
@ -81,7 +81,3 @@ void ActiveEdge_Test() {
|
||||
SkASSERT(!operator_less_than(right, left));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -466,6 +466,3 @@ nextTest:
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
||||
|
@ -288,4 +288,3 @@ void SimplifyDegenerate4x4TrianglesThreaded_Test(int& testsRun) {
|
||||
testsRun += waitForCompletion();
|
||||
SkDebugf("%s tests=%d total=%d\n", __FUNCTION__, testsRun - testsStart, testsRun);
|
||||
}
|
||||
|
||||
|
@ -788,4 +788,3 @@ void SimplifyPolygonPaths_Test() {
|
||||
firstTestComplete = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -467,4 +467,3 @@ void SimplifyRectangularPaths_Test() {
|
||||
(*simplifyTests[index])();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -16,4 +16,3 @@
|
||||
#include "ShapeOps.h"
|
||||
#include "TSearch.h"
|
||||
#include <algorithm> // used for std::min
|
||||
|
||||
|
@ -133,4 +133,3 @@ void SimplifyAddIntersectingTs_Test() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -198,4 +198,3 @@ void Simplify4x4RectsThreaded_Test(int& testsRun)
|
||||
testsRun += waitForCompletion();
|
||||
SkDebugf("%s tests=%d total=%d\n", __FUNCTION__, testsRun - testsStart, testsRun);
|
||||
}
|
||||
|
||||
|
@ -1079,4 +1079,3 @@ void SkAntiEdge_Test() {
|
||||
test_horz();
|
||||
test_vert();
|
||||
}
|
||||
|
||||
|
@ -127,4 +127,3 @@ private:
|
||||
|
||||
static SkView* MyFactory() { return new NetPipeReaderView; }
|
||||
static SkViewRegister reg(MyFactory);
|
||||
|
||||
|
@ -14,4 +14,3 @@
|
||||
@interface SimpleNSView : SkNSView
|
||||
- (id)initWithDefaults;
|
||||
@end
|
||||
|
||||
|
@ -15,4 +15,3 @@
|
||||
@property (nonatomic, retain) IBOutlet UIWindow *window;
|
||||
|
||||
@end
|
||||
|
||||
|
@ -15,4 +15,3 @@
|
||||
@property (nonatomic, retain) IBOutlet UIWindow *window;
|
||||
|
||||
@end
|
||||
|
||||
|
@ -67,4 +67,3 @@ bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3])
|
||||
matrix->getSkewY(), matrix->getScaleY()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -97,4 +97,3 @@ bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3
|
||||
matrix->getSkewY(), matrix->getScaleY()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -72,4 +72,3 @@ bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3
|
||||
matrix->getSkewY(), matrix->getScaleY()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -302,4 +302,3 @@ bool GrStrokePathRenderer::onDrawPath(const SkPath& origPath,
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -44,4 +44,3 @@ class SkEvent;
|
||||
- (void)postInvalWithRect:(const SkIRect*)rectOrNil;
|
||||
- (BOOL)onHandleEvent:(const SkEvent&)event;
|
||||
@end
|
||||
|
||||
|
@ -44,4 +44,3 @@ struct FPSState;
|
||||
- (void)setSkTitle:(const char*)title;
|
||||
- (void)postInvalWithRect:(const SkIRect*)rectOrNil;
|
||||
@end
|
||||
|
||||
|
@ -17,4 +17,3 @@
|
||||
@property (nonatomic, retain) IBOutlet SkUISplitViewController* splitViewController;
|
||||
|
||||
@end
|
||||
|
||||
|
@ -17,4 +17,3 @@
|
||||
@property (nonatomic, retain) IBOutlet SkUINavigationController* fRoot;
|
||||
|
||||
@end
|
||||
|
||||
|
@ -499,4 +499,3 @@ void ForthEnv::run(const char text[], ForthOutput* output) {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -103,4 +103,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -405,4 +405,3 @@ void Forth_test_stdwords(bool verbose) {
|
||||
SkDebugf("--- %d failures\n", reporter.fFailureCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -459,4 +459,3 @@ void ForthParser::addStdWords() {
|
||||
this->add("f>", 2, new fgt_ForthWord);
|
||||
this->add("f>=", 3, new fge_ForthWord);
|
||||
}
|
||||
|
||||
|
@ -187,4 +187,3 @@ namespace skiagm {
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -96,4 +96,3 @@ static GM* MyFactory(void*) { return new BigMatrixGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -131,6 +131,3 @@ static GM* MyFactory(void*) { return new FilterGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -107,4 +107,3 @@ static GM* MyFactory(void*) { return new BlursGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -130,5 +130,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new ColorFilterImageFilterGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
||||
|
@ -80,4 +80,3 @@ static GM* MyFactory(void*) { return new ShaderGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
} // namespace
|
||||
|
||||
|
@ -263,4 +263,3 @@ static GM* MyFactory(void*) { return new ConvexPathsGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -71,4 +71,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new DashCubicsGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -189,4 +189,3 @@ static GM* MyFactory(void*) { return new DrawBitmapRectGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -99,4 +99,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new DrawLooperGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
@ -97,4 +97,3 @@ private:
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
DEF_GM(return new FatPathFillGM;)
|
||||
|
||||
|
@ -93,4 +93,3 @@ static GM* MyFactory(void*) { return new FillTypeGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -131,4 +131,3 @@ static GM* MyFactory(void*) { return new FillTypePerspGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -90,4 +90,3 @@ static GM* MyFactory(void*) { return new FontScalerGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -71,4 +71,3 @@ protected:
|
||||
|
||||
static skiagm::GM* F(void*) { return new GetPosTextPathGM; }
|
||||
static skiagm::GMRegistry gR(F);
|
||||
|
||||
|
@ -152,4 +152,3 @@ static skiagm::GMRegistry reg201(G201);
|
||||
static skiagm::GMRegistry reg011(G011);
|
||||
static skiagm::GMRegistry reg111(G111);
|
||||
static skiagm::GMRegistry reg211(G211);
|
||||
|
||||
|
@ -367,5 +367,3 @@ static GMRegistry reg5(MyFactory5);
|
||||
static GM* MyFactory6(void*) { return new GradientsViewPerspectiveGM; }
|
||||
static GMRegistry reg6(MyFactory6);
|
||||
}
|
||||
|
||||
|
||||
|
@ -164,4 +164,3 @@ static GMRegistry reg(MyFactory);
|
||||
static GMRegistry Creg(CMyFactory);
|
||||
static GMRegistry Creg2(CMyFactory2);
|
||||
}
|
||||
|
||||
|
@ -73,5 +73,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new HitTestPathGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
||||
|
@ -192,4 +192,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new ImageGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
@ -223,5 +223,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new ImageFiltersBaseGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
||||
|
@ -92,5 +92,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new ImageFiltersGraphGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
||||
|
@ -115,6 +115,3 @@ static GM* MyFactory(void*) { return new NinePatchStretchGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -220,4 +220,3 @@ static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
static skiagm::GM* F1(void*) { return new PathInverseFillGM; }
|
||||
static skiagm::GMRegistry gR1(F1);
|
||||
|
||||
|
@ -111,4 +111,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new PathInteriorGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
@ -71,4 +71,3 @@ static GM* MyFactory(void*) { return new PointsGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -106,4 +106,3 @@ static GM* MyFactory(void*) { return new Poly2PolyGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -167,4 +167,3 @@ private:
|
||||
};
|
||||
|
||||
DEF_GM( return new RRectGM; )
|
||||
|
||||
|
@ -146,5 +146,3 @@ DEF_GM( return new RRectGM(false, true); )
|
||||
DEF_GM( return new RRectGM(true, true); )
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -149,4 +149,3 @@ private:
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
DEF_GM(return new SrcModeGM;)
|
||||
|
||||
|
@ -110,4 +110,3 @@ private:
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
DEF_GM(return new StrokeRectGM;)
|
||||
|
||||
|
@ -81,4 +81,3 @@ static GM* MyFactory(void*) { return new StrokeRectGM; }
|
||||
static GMRegistry reg(MyFactory);
|
||||
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
@ -395,5 +395,3 @@ ADD_GM(TalkGM, (4, true))
|
||||
|
||||
//static GM* MyFactory(void*) { return new TalkGM(0, false); }
|
||||
//static GMRegistry reg(MyFactory);
|
||||
|
||||
|
||||
|
@ -142,5 +142,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new TestImageFiltersGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
||||
|
@ -215,4 +215,3 @@ private:
|
||||
|
||||
static skiagm::GM* MyFactory(void*) { return new TextEffectsGM; }
|
||||
static skiagm::GMRegistry reg(MyFactory);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
@ -109,4 +109,3 @@ protected:
|
||||
static skiagm::GM* F(void*) { return new TwoPointRadialGM; }
|
||||
|
||||
static skiagm::GMRegistry gR(F);
|
||||
|
||||
|
@ -498,4 +498,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -37,4 +37,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -228,4 +228,3 @@ struct SK_API Sk64 {
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -91,4 +91,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -464,4 +464,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user