Lines Matching refs:GradientBench
186 class GradientBench : public Benchmark { class
188 GradientBench(GradType gradType, in GradientBench() function in GradientBench
211 GradientBench(GradType gradType, GradData data, bool dither) in GradientBench() function in GradientBench
271 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0]); )
272 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1]); )
273 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2]); )
274 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[4]); )
275 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kRepeat_TileMode); )
276 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kRepeat_TileMode); )
277 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kRepeat_TileMode); )
278 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[0], SkShader::kMirror_TileMode); )
279 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[1], SkShader::kMirror_TileMode); )
280 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[2], SkShader::kMirror_TileMode); )
282 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0]); )
283 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[1]); )
284 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[2]); )
287 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kClamp_TileMode, kRec…
291 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kClamp_TileMode, kOva…
293 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kMirror_TileMode); )
294 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[0], SkShader::kRepeat_TileMode); )
295 DEF_BENCH( return new GradientBench(kSweep_GradType); )
296 DEF_BENCH( return new GradientBench(kSweep_GradType, gGradData[1]); )
297 DEF_BENCH( return new GradientBench(kSweep_GradType, gGradData[2]); )
298 DEF_BENCH( return new GradientBench(kConical_GradType); )
299 DEF_BENCH( return new GradientBench(kConical_GradType, gGradData[1]); )
300 DEF_BENCH( return new GradientBench(kConical_GradType, gGradData[2]); )
301 DEF_BENCH( return new GradientBench(kConicalZero_GradType); )
302 DEF_BENCH( return new GradientBench(kConicalZero_GradType, gGradData[1]); )
303 DEF_BENCH( return new GradientBench(kConicalZero_GradType, gGradData[2]); )
304 DEF_BENCH( return new GradientBench(kConicalOut_GradType); )
305 DEF_BENCH( return new GradientBench(kConicalOut_GradType, gGradData[1]); )
306 DEF_BENCH( return new GradientBench(kConicalOut_GradType, gGradData[2]); )
307 DEF_BENCH( return new GradientBench(kConicalOutZero_GradType); )
308 DEF_BENCH( return new GradientBench(kConicalOutZero_GradType, gGradData[1]); )
309 DEF_BENCH( return new GradientBench(kConicalOutZero_GradType, gGradData[2]); )
312 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[3], true); )
313 DEF_BENCH( return new GradientBench(kLinear_GradType, gGradData[3], false); )
314 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[3], true); )
315 DEF_BENCH( return new GradientBench(kRadial_GradType, gGradData[3], false); )
316 DEF_BENCH( return new GradientBench(kSweep_GradType, gGradData[3], true); )
317 DEF_BENCH( return new GradientBench(kSweep_GradType, gGradData[3], false); )
318 DEF_BENCH( return new GradientBench(kConical_GradType, gGradData[3], true); )
319 DEF_BENCH( return new GradientBench(kConical_GradType, gGradData[3], false); )