Home
last modified time | relevance | path

Searched refs:mask_img (Results 1 – 7 of 7) sorted by relevance

/third_party/pixman/test/
Dblitters-test.c237 pixman_image_t *mask_img = NULL; in test_composite() local
301 mask_img = NULL; in test_composite()
312 mask_img = pixman_image_create_bits (mask_fmt, in test_composite()
325 mask_img = create_random_image (mask_fmt_list, max_width, max_height, in test_composite()
331 mask_img = create_random_image (mask_fmt_list, 1, 1, in test_composite()
333 pixman_image_set_repeat (mask_img, PIXMAN_REPEAT_NORMAL); in test_composite()
337 pixman_image_set_component_alpha (mask_img, 1); in test_composite()
339 mask_x = prng_rand_n (pixman_image_get_width (mask_img)); in test_composite()
340 mask_y = prng_rand_n (pixman_image_get_height (mask_img)); in test_composite()
362 pixman_image_composite (op, src_img, mask_img, dst_img, in test_composite()
[all …]
Dscaling-test.c54 pixman_image_t * mask_img; in test_composite() local
172 mask_img = pixman_image_create_bits ( in test_composite()
200 pixman_image_set_transform (mask_img, &transform); in test_composite()
224 pixman_image_set_repeat (mask_img, mask_repeat); in test_composite()
255 pixman_image_set_filter (mask_img, PIXMAN_FILTER_NEAREST, NULL, 0); in test_composite()
257 pixman_image_set_filter (mask_img, PIXMAN_FILTER_BILINEAR, NULL, 0); in test_composite()
310 pixman_image_set_clip_region (mask_img, &clip); in test_composite()
311 pixman_image_set_source_clipping (mask_img, 1); in test_composite()
343 pixman_image_unref (mask_img); in test_composite()
344 mask_img = NULL; in test_composite()
[all …]
Dsolid-test.c277 pixman_image_t *mask_img = NULL; in test_solid() local
294 mask_img = create_multi_pixel_image (mask_fmt_list, mask_buf, &mask_fmt); in test_solid()
298 mask_img = create_solid_image (mask_fmt_list, mask_buf, &mask_fmt); in test_solid()
304 if (mask_img) in test_solid()
307 pixman_image_set_component_alpha (mask_img, ca); in test_solid()
318 !mask_img || mask_fmt == PIXMAN_solid ? 1 : mask_img->bits.width, in test_solid()
322 pixman_image_composite (op, src_img, mask_img, dst_img, in test_solid()
332 if (mask_img) in test_solid()
333 pixman_image_unref (mask_img); in test_solid()
Dlowlevel-blt-bench.c173 pixman_image_t * mask_img, in bench_L() argument
204 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 63 - x, 0, width, lines_count); in bench_L()
214 pixman_image_t * mask_img, in bench_M() argument
226 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 1, 0, WIDTH - 64, HEIGHT); in bench_M()
236 pixman_image_t * mask_img, in bench_HT() argument
260 call_func (func, op, src_img, mask_img, dst_img, x, y, x, y, x, y, w, h); in bench_HT()
271 pixman_image_t * mask_img, in bench_VT() argument
295 call_func (func, op, src_img, mask_img, dst_img, x, y, x, y, x, y, w, h); in bench_VT()
306 pixman_image_t * mask_img, in bench_R() argument
331 call_func (func, op, src_img, mask_img, dst_img, sx, sy, sx, sy, dx, dy, w, h); in bench_R()
[all …]
Dcover-test.c265 pixman_image_t *src_img, *dst_img, *mask_img; in test_cover() local
333 mask_img = NULL; in test_cover()
339 mask_img = mask_bits_img; in test_cover()
340 pixman_image_set_filter (mask_img, filter, NULL, 0); in test_cover()
343 mask_img->bits.width, in test_cover()
347 mask_img->bits.height, in test_cover()
357 mask_img = pixman_image_create_solid_fill (&color); in test_cover()
375 pixman_image_set_transform (mask_img, &mask_transform); in test_cover()
403 check_transform (dst_img, mask_img, &mask_transform, bilinear); in test_cover()
406 pixman_image_composite (op, src_img, mask_img, dst_img, in test_cover()
[all …]
Da1-trap-test.c14 pixman_image_t *mask_img; in main() local
32 mask_img = pixman_image_create_bits ( in main()
38 pixman_add_traps (mask_img, 0, 0, 1, &trap); in main()
41 src_img, mask_img, dest_img, in main()
/third_party/pixman/demos/
Dtrap-test.c14 pixman_image_t *mask_img; in main() local
32 mask_img = pixman_image_create_bits (PIXMAN_a8, WIDTH, HEIGHT, mbits, WIDTH); in main()
36 pixman_add_traps (mask_img, 0, 0, 1, &trap); in main()
39 src_img, mask_img, dest_img, in main()