/external/skia/bench/ |
D | PatchBench.cpp | 239 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kNone_VertexMode); ) 240 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kColors_VertexMode); ) 241 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kTexCoords_VertexMode); ) 242 DEF_BENCH( return new PatchBench(SkVector::Make(0.1f, 0.1f), PatchBench::kBoth_VertexMode); ) 243 DEF_BENCH( return new PatchBench(SkVector::Make(1.f, 1.0f), PatchBench::kNone_VertexMode); ) 244 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kColors_VertexMode); ) 245 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kTexCoords_VertexMode); ) 246 DEF_BENCH( return new PatchBench(SkVector::Make(1.0f, 1.0f), PatchBench::kBoth_VertexMode); ) 247 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kNone_VertexMode); ) 248 DEF_BENCH( return new PatchBench(SkVector::Make(3.0f, 3.0f), PatchBench::kColors_VertexMode); ) [all …]
|
D | BlurRectBench.cpp | 183 DEF_BENCH(return new BlurRectBoxFilterBench(SMALL);) 184 DEF_BENCH(return new BlurRectBoxFilterBench(BIG);) 185 DEF_BENCH(return new BlurRectBoxFilterBench(REALBIG);) 186 DEF_BENCH(return new BlurRectBoxFilterBench(REAL);) 187 DEF_BENCH(return new BlurRectGaussianBench(SMALL);) 188 DEF_BENCH(return new BlurRectGaussianBench(BIG);) 189 DEF_BENCH(return new BlurRectGaussianBench(REALBIG);) 190 DEF_BENCH(return new BlurRectGaussianBench(REAL);) 191 DEF_BENCH(return new BlurRectDirectBench(SMALL);) 192 DEF_BENCH(return new BlurRectDirectBench(BIG);) [all …]
|
D | MemsetBench.cpp | 60 DEF_BENCH(return (new MemsetBench<uint32_t, true>(1))); 61 DEF_BENCH(return (new MemsetBench<uint32_t, false>(1))); 62 DEF_BENCH(return (new MemsetBench<uint32_t, true>(10))); 63 DEF_BENCH(return (new MemsetBench<uint32_t, false>(10))); 64 DEF_BENCH(return (new MemsetBench<uint32_t, true>(100))); 65 DEF_BENCH(return (new MemsetBench<uint32_t, false>(100))); 66 DEF_BENCH(return (new MemsetBench<uint32_t, true>(1000))); 67 DEF_BENCH(return (new MemsetBench<uint32_t, false>(1000))); 68 DEF_BENCH(return (new MemsetBench<uint32_t, true>(10000))); 69 DEF_BENCH(return (new MemsetBench<uint32_t, false>(10000))); [all …]
|
D | BlurBench.cpp | 82 DEF_BENCH(return new BlurBench(MINI, kNormal_SkBlurStyle);) 83 DEF_BENCH(return new BlurBench(MINI, kSolid_SkBlurStyle);) 84 DEF_BENCH(return new BlurBench(MINI, kOuter_SkBlurStyle);) 85 DEF_BENCH(return new BlurBench(MINI, kInner_SkBlurStyle);) 87 DEF_BENCH(return new BlurBench(SMALL, kNormal_SkBlurStyle);) 88 DEF_BENCH(return new BlurBench(SMALL, kSolid_SkBlurStyle);) 89 DEF_BENCH(return new BlurBench(SMALL, kOuter_SkBlurStyle);) 90 DEF_BENCH(return new BlurBench(SMALL, kInner_SkBlurStyle);) 92 DEF_BENCH(return new BlurBench(BIG, kNormal_SkBlurStyle);) 93 DEF_BENCH(return new BlurBench(BIG, kSolid_SkBlurStyle);) [all …]
|
D | RotatedRectBench.cpp | 160 DEF_BENCH(return new RotRectBench(true, kConstantOpaque_ColorType, SkXfermode::kS… 161 DEF_BENCH(return new RotRectBench(true, kConstantTransparent_ColorType, SkXfermode::kS… 162 DEF_BENCH(return new RotRectBench(true, kChangingOpaque_ColorType, SkXfermode::kS… 163 DEF_BENCH(return new RotRectBench(true, kChangingTransparent_ColorType, SkXfermode::kS… 164 DEF_BENCH(return new RotRectBench(true, kAlternatingOpaqueAndTransparent_ColorType, SkXfermode::kS… 166 DEF_BENCH(return new RotRectBench(false, kConstantOpaque_ColorType, SkXfermode::kS… 167 DEF_BENCH(return new RotRectBench(false, kConstantTransparent_ColorType, SkXfermode::kS… 168 DEF_BENCH(return new RotRectBench(false, kChangingOpaque_ColorType, SkXfermode::kS… 169 DEF_BENCH(return new RotRectBench(false, kChangingTransparent_ColorType, SkXfermode::kS… 170 DEF_BENCH(return new RotRectBench(false, kAlternatingOpaqueAndTransparent_ColorType, SkXfermode::kS… [all …]
|
D | PictureNestingBench.cpp | 166 DEF_BENCH( return new PictureNestingRecording(8, 0); ) 167 DEF_BENCH( return new PictureNestingRecording(8, 1); ) 168 DEF_BENCH( return new PictureNestingRecording(8, 2); ) 169 DEF_BENCH( return new PictureNestingRecording(8, 3); ) 170 DEF_BENCH( return new PictureNestingRecording(8, 4); ) 171 DEF_BENCH( return new PictureNestingRecording(8, 5); ) 172 DEF_BENCH( return new PictureNestingRecording(8, 6); ) 173 DEF_BENCH( return new PictureNestingRecording(8, 7); ) 174 DEF_BENCH( return new PictureNestingRecording(8, 8); ) 176 DEF_BENCH( return new PictureNestingPlayback(8, 0); ) [all …]
|
D | GradientBench.cpp | 279 DEF_BENCH( return new GradientBench(kLinear_GradType); ) 280 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1]); ) 281 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2]); ) 282 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kMirror_TileMode); ) 284 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0]); ) 285 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[1]); ) 286 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[2]); ) 289 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kClamp_TileMode, kRec… 293 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kClamp_TileMode, kOva… 295 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kMirror_TileMode); ) [all …]
|
D | SortBench.cpp | 154 DEF_BENCH( return NewSkQSort(kRand); ) 155 DEF_BENCH( return NewSkHeap(kRand); ) 156 DEF_BENCH( return NewQSort(kRand); ) 158 DEF_BENCH( return NewSkQSort(kRandN); ) 159 DEF_BENCH( return NewSkHeap(kRandN); ) 160 DEF_BENCH( return NewQSort(kRandN); ) 162 DEF_BENCH( return NewSkQSort(kFore); ) 163 DEF_BENCH( return NewSkHeap(kFore); ) 164 DEF_BENCH( return NewQSort(kFore); ) 166 DEF_BENCH( return NewSkQSort(kBack); ) [all …]
|
D | BlurImageFilterBench.cpp | 86 DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_LARGE, 0, false);) 87 DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SMALL, 0, false);) 88 DEF_BENCH(return new BlurImageFilterBench(0, BLUR_SIGMA_LARGE, false);) 89 DEF_BENCH(return new BlurImageFilterBench(0, BLUR_SIGMA_SMALL, false);) 90 DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_MINI, BLUR_SIGMA_MINI, true);) 91 DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_MINI, BLUR_SIGMA_MINI, false);) 92 DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL, true);) 93 DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL, false);) 94 DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, true);) 95 DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, false);) [all …]
|
D | TextBench.cpp | 153 DEF_BENCH( return new TextBench(STR, 16, 0xFF000000, kBW); ) 154 DEF_BENCH( return new TextBench(STR, 16, 0xFFFF0000, kBW); ) 155 DEF_BENCH( return new TextBench(STR, 16, 0x88FF0000, kBW); ) 157 DEF_BENCH( return new TextBench(STR, 16, 0xFF000000, kAA); ) 158 DEF_BENCH( return new TextBench(STR, 16, 0xFFFF0000, kAA); ) 159 DEF_BENCH( return new TextBench(STR, 16, 0x88FF0000, kAA); ) 161 DEF_BENCH( return new TextBench(STR, 16, 0xFF000000, kLCD); ) 162 DEF_BENCH( return new TextBench(STR, 16, 0xFFFF0000, kLCD); ) 163 DEF_BENCH( return new TextBench(STR, 16, 0x88FF0000, kLCD); ) 165 DEF_BENCH( return new TextBench(STR, 16, 0xFF000000, kBW, true); ) [all …]
|
D | RectBench.cpp | 253 DEF_BENCH( return SkNEW_ARGS(RectBench, (1)); ) 254 DEF_BENCH( return SkNEW_ARGS(RectBench, (1, 4)); ) 255 DEF_BENCH( return SkNEW_ARGS(RectBench, (3)); ) 256 DEF_BENCH( return SkNEW_ARGS(RectBench, (3, 4)); ) 257 DEF_BENCH( return SkNEW_ARGS(OvalBench, (1)); ) 258 DEF_BENCH( return SkNEW_ARGS(OvalBench, (3)); ) 259 DEF_BENCH( return SkNEW_ARGS(OvalBench, (1, 4)); ) 260 DEF_BENCH( return SkNEW_ARGS(OvalBench, (3, 4)); ) 261 DEF_BENCH( return SkNEW_ARGS(RRectBench, (1)); ) 262 DEF_BENCH( return SkNEW_ARGS(RRectBench, (1, 4)); ) [all …]
|
D | DashBench.cpp | 448 DEF_BENCH( return new DashBench(PARAM(gDots), 0); ) 449 DEF_BENCH( return new DashBench(PARAM(gDots), 1); ) 450 DEF_BENCH( return new DashBench(PARAM(gDots), 1, true); ) 451 DEF_BENCH( return new DashBench(PARAM(gDots), 4); ) 452 DEF_BENCH( return new MakeDashBench(make_poly, "poly"); ) 453 DEF_BENCH( return new MakeDashBench(make_quad, "quad"); ) 454 DEF_BENCH( return new MakeDashBench(make_cubic, "cubic"); ) 455 DEF_BENCH( return new DashLineBench(0, false); ) 456 DEF_BENCH( return new DashLineBench(SK_Scalar1, false); ) 457 DEF_BENCH( return new DashLineBench(2 * SK_Scalar1, false); ) [all …]
|
D | MathBench.cpp | 576 DEF_BENCH(return new DivModBench<uint8_t>("uint8_t")) 577 DEF_BENCH(return new DivModBench<uint16_t>("uint16_t")) 578 DEF_BENCH(return new DivModBench<uint32_t>("uint32_t")) 579 DEF_BENCH(return new DivModBench<uint64_t>("uint64_t")) 581 DEF_BENCH(return new DivModBench<int8_t>("int8_t")) 582 DEF_BENCH(return new DivModBench<int16_t>("int16_t")) 583 DEF_BENCH(return new DivModBench<int32_t>("int32_t")) 584 DEF_BENCH(return new DivModBench<int64_t>("int64_t")) 588 DEF_BENCH( return new NoOpMathBench(); ) 589 DEF_BENCH( return new SkRSqrtMathBench(); ) [all …]
|
D | BitmapScaleBench.cpp | 104 DEF_BENCH(return new BitmapFilterScaleBench(10, 90);) 105 DEF_BENCH(return new BitmapFilterScaleBench(30, 90);) 106 DEF_BENCH(return new BitmapFilterScaleBench(80, 90);) 107 DEF_BENCH(return new BitmapFilterScaleBench(90, 90);) 108 DEF_BENCH(return new BitmapFilterScaleBench(90, 80);) 109 DEF_BENCH(return new BitmapFilterScaleBench(90, 30);) 110 DEF_BENCH(return new BitmapFilterScaleBench(90, 10);) 111 DEF_BENCH(return new BitmapFilterScaleBench(256, 64);) 112 DEF_BENCH(return new BitmapFilterScaleBench(64, 256);)
|
D | PathBench.cpp | 835 DEF_BENCH( return new ConicBench_Chop; ) 859 DEF_BENCH( return new ConicBench_EvalPos(false); ) 860 DEF_BENCH( return new ConicBench_EvalPos(true); ) 884 DEF_BENCH( return new ConicBench_EvalTan(false); ) 885 DEF_BENCH( return new ConicBench_EvalTan(true); ) in DEF_BENCH() function 995 DEF_BENCH( return new TrianglePathBench(FLAGS00); ) 996 DEF_BENCH( return new TrianglePathBench(FLAGS01); ) 997 DEF_BENCH( return new TrianglePathBench(FLAGS10); ) 998 DEF_BENCH( return new TrianglePathBench(FLAGS11); ) 1000 DEF_BENCH( return new RectPathBench(FLAGS00); ) [all …]
|
D | BitmapBench.cpp | 362 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, false); ) 363 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, false); ) 364 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, true); ) 365 DEF_BENCH( return new BitmapBench(kRGB_565_SkColorType, kOpaque_SkAlphaType, false, false, false); ) 366 DEF_BENCH( return new BitmapBench(kIndex_8_SkColorType, kPremul_SkAlphaType, false, false, false); ) 367 DEF_BENCH( return new BitmapBench(kIndex_8_SkColorType, kOpaque_SkAlphaType, false, false, false); ) 368 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, true, false); ) 369 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, true, false, false); ) 372 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale… 373 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kOpaque_SkAlphaType, false, false, kScale… [all …]
|
D | ColorFilterBench.cpp | 283 DEF_BENCH( return new ColorFilterDimBrightBench(true); ) 284 DEF_BENCH( return new ColorFilterBrightGrayBench(true); ) 285 DEF_BENCH( return new ColorFilterGrayBrightBench(true); ) 286 DEF_BENCH( return new ColorFilterBlueBrightBench(true); ) 287 DEF_BENCH( return new ColorFilterBrightBlueBench(true); ) 288 DEF_BENCH( return new ColorFilterBrightBench(true); ) 289 DEF_BENCH( return new ColorFilterBlueBench(true); ) 290 DEF_BENCH( return new ColorFilterGrayBench(true); ) 292 DEF_BENCH( return new ColorFilterDimBrightBench(false); ) 293 DEF_BENCH( return new ColorFilterBrightGrayBench(false); ) [all …]
|
D | StrokeBench.cpp | 94 DEF_BENCH( return new StrokeRRectBench(SkPaint::kRound_Join, draw_rect); ) 95 DEF_BENCH( return new StrokeRRectBench(SkPaint::kBevel_Join, draw_rect); ) 96 DEF_BENCH( return new StrokeRRectBench(SkPaint::kMiter_Join, draw_rect); ) 98 DEF_BENCH( return new StrokeRRectBench(SkPaint::kRound_Join, draw_rrect); ) 99 DEF_BENCH( return new StrokeRRectBench(SkPaint::kBevel_Join, draw_rrect); ) 100 DEF_BENCH( return new StrokeRRectBench(SkPaint::kMiter_Join, draw_rrect); ) 102 DEF_BENCH( return new StrokeRRectBench(SkPaint::kRound_Join, draw_oval); ) 103 DEF_BENCH( return new StrokeRRectBench(SkPaint::kBevel_Join, draw_oval); ) 104 DEF_BENCH( return new StrokeRRectBench(SkPaint::kMiter_Join, draw_oval); )
|
D | MatrixBench.cpp | 229 DEF_BENCH( return new EqualsMatrixBench(); ) 230 DEF_BENCH( return new ScaleMatrixBench(); ) in DEF_BENCH() function 231 DEF_BENCH( return new GetTypeMatrixBench(); ) 232 DEF_BENCH( return new DecomposeMatrixBench(); ) 234 DEF_BENCH( return new InvertMapRectMatrixBench("invert_maprect_identity", 0); ) 236 DEF_BENCH(return new InvertMapRectMatrixBench( 241 DEF_BENCH(return new InvertMapRectMatrixBench( 245 DEF_BENCH(return new InvertMapRectMatrixBench( 251 DEF_BENCH( return new InvertMapRectMatrixBench( 255 DEF_BENCH( return new InvertMapRectMatrixBench( [all …]
|
D | LightingBench.cpp | 235 DEF_BENCH( return new LightingPointLitDiffuseBench(true); ) 236 DEF_BENCH( return new LightingPointLitDiffuseBench(false); ) 237 DEF_BENCH( return new LightingDistantLitDiffuseBench(true); ) 238 DEF_BENCH( return new LightingDistantLitDiffuseBench(false); ) 239 DEF_BENCH( return new LightingSpotLitDiffuseBench(true); ) 240 DEF_BENCH( return new LightingSpotLitDiffuseBench(false); ) 241 DEF_BENCH( return new LightingPointLitSpecularBench(true); ) 242 DEF_BENCH( return new LightingPointLitSpecularBench(false); ) 243 DEF_BENCH( return new LightingDistantLitSpecularBench(true); ) 244 DEF_BENCH( return new LightingDistantLitSpecularBench(false); ) [all …]
|
D | HairlinePathBench.cpp | 220 DEF_BENCH( return new LinePathBench(FLAGS00); ) 221 DEF_BENCH( return new LinePathBench(FLAGS01); ) 222 DEF_BENCH( return new LinePathBench(FLAGS10); ) 223 DEF_BENCH( return new LinePathBench(FLAGS11); ) 225 DEF_BENCH( return new QuadPathBench(FLAGS00); ) 226 DEF_BENCH( return new QuadPathBench(FLAGS01); ) 227 DEF_BENCH( return new QuadPathBench(FLAGS10); ) 228 DEF_BENCH( return new QuadPathBench(FLAGS11); ) 233 DEF_BENCH( return new ConicPathBench(FLAGS10); ) 234 DEF_BENCH( return new ConicPathBench(FLAGS11); ) [all …]
|
D | PatchGridBench.cpp | 236 DEF_BENCH( return new PatchGridBench(PatchGridBench::kSmall_Size, 238 DEF_BENCH( return new PatchGridBench(PatchGridBench::kSmall_Size, 240 DEF_BENCH( return new PatchGridBench(PatchGridBench::kSmall_Size, 242 DEF_BENCH( return new PatchGridBench(PatchGridBench::kSmall_Size, 244 DEF_BENCH( return new PatchGridBench(PatchGridBench::kMedium_Size, 246 DEF_BENCH( return new PatchGridBench(PatchGridBench::kMedium_Size, 248 DEF_BENCH( return new PatchGridBench(PatchGridBench::kMedium_Size, 250 DEF_BENCH( return new PatchGridBench(PatchGridBench::kMedium_Size, 252 DEF_BENCH( return new PatchGridBench(PatchGridBench::kBig_Size, 254 DEF_BENCH( return new PatchGridBench(PatchGridBench::kBig_Size, [all …]
|
D | MorphologyBench.cpp | 87 DEF_BENCH( return new MorphologyBench(SMALL, kErode_MT); ) 88 DEF_BENCH( return new MorphologyBench(SMALL, kDilate_MT); ) 90 DEF_BENCH( return new MorphologyBench(BIG, kErode_MT); ) 91 DEF_BENCH( return new MorphologyBench(BIG, kDilate_MT); ) 93 DEF_BENCH( return new MorphologyBench(REAL, kErode_MT); ) 94 DEF_BENCH( return new MorphologyBench(REAL, kDilate_MT); ) 96 DEF_BENCH( return new MorphologyBench(0, kErode_MT); )
|
D | BigPathBench.cpp | 84 DEF_BENCH( return new BigPathBench(kLeft_Align, false); ) 85 DEF_BENCH( return new BigPathBench(kMiddle_Align, false); ) 86 DEF_BENCH( return new BigPathBench(kRight_Align, false); ) 88 DEF_BENCH( return new BigPathBench(kLeft_Align, true); ) 89 DEF_BENCH( return new BigPathBench(kMiddle_Align, true); ) 90 DEF_BENCH( return new BigPathBench(kRight_Align, true); )
|
D | RegionBench.cpp | 124 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, union_proc, "union")); ) 125 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, sect_proc, "intersect")); ) 126 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, diff_proc, "difference")); ) 127 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, diffrect_proc, "differencerect")); ) 128 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, diffrectbig_proc, "differencerectbig")); ) 129 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, containsrect_proc, "containsrect")); ) 130 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, sectsrgn_proc, "intersectsrgn")); ) 131 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, sectsrect_proc, "intersectsrect")); ) 132 DEF_BENCH( return SkNEW_ARGS(RegionBench, (SMALL, containsxy_proc, "containsxy")); )
|