Searched refs:n_traps (Results 1 – 4 of 4) sorted by relevance
/external/pixman/test/ |
D | composite-traps-test.c | 64 int n_traps; in test_composite() local 169 n_traps = prng_rand_n (25); in test_composite() 170 traps = fence_malloc (n_traps * sizeof (pixman_trapezoid_t)); in test_composite() 172 for (i = 0; i < n_traps; ++i) in test_composite() 215 src_x, src_y, dst_x, dst_y, n_traps, traps); in test_composite()
|
D | stress-test.c | 763 create_random_trapezoids (int *n_traps, int height, int width) in create_random_trapezoids() argument 768 *n_traps = prng_rand_n (16) + 1; in create_random_trapezoids() 770 trapezoids = malloc (sizeof (pixman_trapezoid_t) * *n_traps); in create_random_trapezoids() 772 for (i = 0; i < *n_traps; ++i) in create_random_trapezoids() 864 int n_traps; in run_test() local 879 &n_traps, dest->bits.width, dest->bits.height))) in run_test() 898 n_traps, trapezoids); in run_test() 904 dest, &trapezoids[prng_rand_n (n_traps)], in run_test() 910 dest, rand_x (dest), rand_y (dest), n_traps, trapezoids); in run_test()
|
/external/pixman/pixman/ |
D | pixman-trap.c | 409 const pixman_trapezoid_t *traps, int n_traps, in get_trap_extents() argument 432 for (i = 0; i < n_traps; ++i) in get_trap_extents() 489 int n_traps, in pixman_composite_trapezoids() argument 496 if (n_traps <= 0) in pixman_composite_trapezoids() 507 for (i = 0; i < n_traps; ++i) in pixman_composite_trapezoids() 523 if (!get_trap_extents (op, dst, traps, n_traps, &box)) in pixman_composite_trapezoids() 530 for (i = 0; i < n_traps; ++i) in pixman_composite_trapezoids()
|
D | pixman.h | 1091 int n_traps,
|