Searched refs:DEF_BENCH (Results 1 – 12 of 12) sorted by relevance
/external/skia/bench/ |
D | BlurBench.cpp | 77 DEF_BENCH(return new BlurBench(p, SMALL, SkBlurMaskFilter::kNormal_BlurStyle);) 78 DEF_BENCH(return new BlurBench(p, SMALL, SkBlurMaskFilter::kSolid_BlurStyle);) 79 DEF_BENCH(return new BlurBench(p, SMALL, SkBlurMaskFilter::kOuter_BlurStyle);) 80 DEF_BENCH(return new BlurBench(p, SMALL, SkBlurMaskFilter::kInner_BlurStyle);) 82 DEF_BENCH(return new BlurBench(p, BIG, SkBlurMaskFilter::kNormal_BlurStyle);) 83 DEF_BENCH(return new BlurBench(p, BIG, SkBlurMaskFilter::kSolid_BlurStyle);) 84 DEF_BENCH(return new BlurBench(p, BIG, SkBlurMaskFilter::kOuter_BlurStyle);) 85 DEF_BENCH(return new BlurBench(p, BIG, SkBlurMaskFilter::kInner_BlurStyle);) 87 DEF_BENCH(return new BlurBench(p, REALBIG, SkBlurMaskFilter::kNormal_BlurStyle);) 88 DEF_BENCH(return new BlurBench(p, REALBIG, SkBlurMaskFilter::kSolid_BlurStyle);) [all …]
|
D | SortBench.cpp | 160 DEF_BENCH( return NewSkQSort(p, kRand); ) 161 DEF_BENCH( return NewSkHeap(p, kRand); ) 162 DEF_BENCH( return NewQSort(p, kRand); ) 164 DEF_BENCH( return NewSkQSort(p, kRandN); ) 165 DEF_BENCH( return NewSkHeap(p, kRandN); ) 166 DEF_BENCH( return NewQSort(p, kRandN); ) 168 DEF_BENCH( return NewSkQSort(p, kFore); ) 169 DEF_BENCH( return NewSkHeap(p, kFore); ) 170 DEF_BENCH( return NewQSort(p, kFore); ) 172 DEF_BENCH( return NewSkQSort(p, kBack); ) [all …]
|
D | DashBench.cpp | 394 DEF_BENCH( return new DashBench(p, PARAM(gDots), 0); ) 395 DEF_BENCH( return new DashBench(p, PARAM(gDots), 1); ) 396 DEF_BENCH( return new DashBench(p, PARAM(gDots), 1, true); ) 397 DEF_BENCH( return new DashBench(p, PARAM(gDots), 4); ) 398 DEF_BENCH( return new MakeDashBench(p, make_poly, "poly"); ) 399 DEF_BENCH( return new MakeDashBench(p, make_quad, "quad"); ) 400 DEF_BENCH( return new MakeDashBench(p, make_cubic, "cubic"); ) 401 DEF_BENCH( return new DashLineBench(p, 0, false); ) 402 DEF_BENCH( return new DashLineBench(p, SK_Scalar1, false); ) 403 DEF_BENCH( return new DashLineBench(p, 2 * SK_Scalar1, false); ) [all …]
|
D | TileBench.cpp | 122 DEF_BENCH(return new ConstXTileBench(p, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, fal… 123 DEF_BENCH(return new ConstXTileBench(p, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false… 124 DEF_BENCH(return new ConstXTileBench(p, SkShader::kMirror_TileMode, SkShader::kMirror_TileMode, fal… 126 DEF_BENCH(return new ConstXTileBench(p, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, tru… 127 DEF_BENCH(return new ConstXTileBench(p, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, true,… 128 DEF_BENCH(return new ConstXTileBench(p, SkShader::kMirror_TileMode, SkShader::kMirror_TileMode, tru… 130 DEF_BENCH(return new ConstXTileBench(p, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, fal… 131 DEF_BENCH(return new ConstXTileBench(p, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode, false… 132 DEF_BENCH(return new ConstXTileBench(p, SkShader::kMirror_TileMode, SkShader::kMirror_TileMode, fal… 134 DEF_BENCH(return new ConstXTileBench(p, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, tru… [all …]
|
D | RectBench.cpp | 278 DEF_BENCH( return SkNEW_ARGS(RectBench, (p, 1)); ) 279 DEF_BENCH( return SkNEW_ARGS(RectBench, (p, 1, 4)); ) 280 DEF_BENCH( return SkNEW_ARGS(RectBench, (p, 3)); ) 281 DEF_BENCH( return SkNEW_ARGS(RectBench, (p, 3, 4)); ) 282 DEF_BENCH( return SkNEW_ARGS(OvalBench, (p, 1)); ) 283 DEF_BENCH( return SkNEW_ARGS(OvalBench, (p, 3)); ) 284 DEF_BENCH( return SkNEW_ARGS(RRectBench, (p, 1)); ) 285 DEF_BENCH( return SkNEW_ARGS(RRectBench, (p, 3)); ) 286 DEF_BENCH( return SkNEW_ARGS(PointsBench, (p, SkCanvas::kPoints_PointMode, "points")); ) 287 DEF_BENCH( return SkNEW_ARGS(PointsBench, (p, SkCanvas::kLines_PointMode, "lines")); ) [all …]
|
D | BlurRectBench.cpp | 137 DEF_BENCH(return new BlurRectSeparableBench(p, SMALL);) 138 DEF_BENCH(return new BlurRectSeparableBench(p, BIG);) 139 DEF_BENCH(return new BlurRectSeparableBench(p, REALBIG);) 140 DEF_BENCH(return new BlurRectSeparableBench(p, REAL);) 141 DEF_BENCH(return new BlurRectDirectBench(p, SMALL);) 142 DEF_BENCH(return new BlurRectDirectBench(p, BIG);) 143 DEF_BENCH(return new BlurRectDirectBench(p, REALBIG);) 144 DEF_BENCH(return new BlurRectDirectBench(p, REAL);)
|
D | LineBench.cpp | 63 DEF_BENCH(return new LineBench(p, 0, false);) 64 DEF_BENCH(return new LineBench(p, SK_Scalar1, false);) 65 DEF_BENCH(return new LineBench(p, 0, true);) 66 DEF_BENCH(return new LineBench(p, SK_Scalar1/2, true);) 67 DEF_BENCH(return new LineBench(p, SK_Scalar1, true);)
|
D | BitmapRectBench.cpp | 102 DEF_BENCH(return new BitmapRectBench(p, 0xFF, false, false)) 103 DEF_BENCH(return new BitmapRectBench(p, 0x80, false, false)) 104 DEF_BENCH(return new BitmapRectBench(p, 0xFF, true, false)) 105 DEF_BENCH(return new BitmapRectBench(p, 0x80, true, false)) 107 DEF_BENCH(return new BitmapRectBench(p, 0xFF, false, true)) 108 DEF_BENCH(return new BitmapRectBench(p, 0xFF, true, true))
|
D | MatrixBench.cpp | 401 DEF_BENCH( return new EqualsMatrixBench(p); ) 402 DEF_BENCH( return new ScaleMatrixBench(p); ) 403 DEF_BENCH( return new FloatConcatMatrixBench(p); ) 404 DEF_BENCH( return new FloatDoubleConcatMatrixBench(p); ) 405 DEF_BENCH( return new DoubleConcatMatrixBench(p); ) 406 DEF_BENCH( return new GetTypeMatrixBench(p); ) 407 DEF_BENCH( return new InvertMapRectMatrixBench(p, "invert_maprect_identity", 0); ) 409 DEF_BENCH(return new InvertMapRectMatrixBench(p, 414 DEF_BENCH(return new InvertMapRectMatrixBench(p, 418 DEF_BENCH(return new InvertMapRectMatrixBench(p, [all …]
|
D | Matrix44Bench.cpp | 166 DEF_BENCH( return new EqualsMatrix44Bench(p); ) 167 DEF_BENCH( return new PreScaleMatrix44Bench(p); ) 168 DEF_BENCH( return new PostScaleMatrix44Bench(p); ) 169 DEF_BENCH( return new InvertMatrix44Bench(p); ) 170 DEF_BENCH( return new SetConcatMatrix44Bench(p); ) 171 DEF_BENCH( return new GetTypeMatrix44Bench(p); )
|
D | RepeatTileBench.cpp | 138 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config, true)) 139 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_8888_Config, false)) 140 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kRGB_565_Config)) 141 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kARGB_4444_Config)) 142 DEF_BENCH(return new RepeatTileBench(p, SkBitmap::kIndex8_Config))
|
D | SkBenchmark.h | 16 #define DEF_BENCH(code) \ macro
|