Lines Matching +refs:format +refs:test
8 #include "test.h"
19 10+w, 20+h, tt->format->depth);
20 src = XRenderCreatePicture(tt->dpy->dpy, tmp, tt->format, 0, NULL);
128 test_init_image(&image, &tt->dpy->shm, tt->format, w, h);
159 static void rect_tests(struct test *test, int iterations, enum target target)
174 test_target_create_render(&test->out, target, &out);
175 test_target_create_render(&test->ref, target, &ref);
183 test_compare(test,
184 out.draw, out.format,
185 ref.draw, ref.format,
191 test_target_destroy_render(&test->out, &out);
192 test_target_destroy_render(&test->ref, &ref);
197 struct test test;
200 test_init(&test, argc, argv);
204 rect_tests(&test, iterations, 0);
205 rect_tests(&test, iterations, 1);