Home | History | Annotate | Download | only in tests

Lines Matching defs:random

12 #include <random>
262 // This test uses the random GrFragmentProcessor test factory, which relies on static initializers.
266 DEFINE_bool(randomProcessorTest, false, "Use non-deterministic seed for random processor tests?");
293 bool init_test_textures(GrProxyProvider* proxyProvider, SkRandom* random,
308 input_texel_color(random->nextULessThan(256), random->nextULessThan(256));
318 // Put random values into the alpha texture that the test FPs can optionally use.
323 alphaData[kTestTextureSize * y + x] = random->nextULessThan(256);
366 SkRandom random(seed);
374 if (!init_test_textures(proxyProvider, &random, proxies)) {
378 GrProcessorTestData testData(&random, context, rtc.get(), proxies);
383 // Because processor factories configure themselves in random ways, this is not exhaustive.
498 SkRandom random;
506 if (!init_test_textures(proxyProvider, &random, proxies)) {
510 GrProcessorTestData testData(&random, context, rtc.get(), proxies);
518 // Because processor factories configure themselves in random ways, this is not exhaustive.