Lines Matching refs:ref
31 struct test_target *ref)
41 fill_rect(ref, alu, color, x, y, w, h);
45 struct test_target *ref)
47 int sx = rand() % (2*out->width) - ref->width;
48 int sy = rand() % (2*out->height) - ref->height;
49 int dx = rand() % (2*out->width) - ref->width;
50 int dy = rand() % (2*out->height) - ref->height;
62 XChangeGC(ref->dpy->dpy, ref->gc, GCFunction, &val);
63 XCopyArea(ref->dpy->dpy,
64 ref->draw, ref->draw, ref->gc,
94 struct test_target *ref)
104 _put(ref, x, y, w, h, color, alu);
109 struct test_target out, ref;
122 test_target_create_render(&test->ref, target, &ref);
125 clear(&ref);
128 ops[rand() % ARRAY_SIZE(ops)](&out, &ref);
132 ref.draw, ref.format,
139 test_target_destroy_render(&test->ref, &ref);