Lines Matching +refs:format +refs:test
7 #include "test.h"
14 XRenderPictFormat *format;
21 tt->format = XRenderFindStandardFormat(t->dpy, PictStandardARGB32);
24 size, size, tt->format->depth);
25 tt->pa = XRenderCreatePicture(t->dpy, tt->a, tt->format, 0, NULL);
34 size, size, tt->format->depth);
35 tt->pb = XRenderCreatePicture(t->dpy, tt->b, tt->format, 0, NULL);
55 struct test test;
59 test_init(&test, argc, argv);
63 target_init(&test.out, &out, size);
64 target_init(&test.ref, &ref, size);
81 XRenderComposite(test.out.dpy, PictOpSrc,
90 XRenderComposite(test.ref.dpy, PictOpSrc,
101 test_compare(&test,
102 out.a, out.format,
103 ref.a, ref.format,
106 test_compare(&test,
107 out.b, out.format,
108 ref.b, ref.format,
112 target_fini(&test.out, &out);
113 target_fini(&test.ref, &ref);