Home | History | Annotate | Download | only in demos

Lines Matching refs:WIDTH

9 #define WIDTH 200
14 uint32_t *src = malloc (WIDTH * HEIGHT * 4);
15 uint32_t *mask = malloc (WIDTH * HEIGHT * 4);
16 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
28 for (i = 0; i < WIDTH * HEIGHT; ++i)
35 simg = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, src, WIDTH * 4);
36 mimg = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, mask, WIDTH * 4);
37 dimg = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, dest, WIDTH * 4);
42 pixman_image_composite (PIXMAN_OP_OVER, simg, mimg, dimg, 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);