Lines Matching refs:out

122 	struct test_target out, ref;
128 test_target_create_render(&t->out, target, &out);
129 clear(&out);
136 int x = rand() % out.width;
137 int y = rand() % out.height;
138 int w = rand() % out.width;
140 int tx = rand() % (2*out.width) - out.width;
141 int ty = rand() % (2*out.height) - out.height;
147 fill_rect(&out, alu, NULL, 0,
156 fill_rect(&out, alu, NULL, 0,
167 out.draw, out.format,
169 0, 0, out.width, out.height,
173 int x = rand() % (t->out.width-out.width);
174 int y = rand() % (t->out.height-out.height);
176 clear(&out);
179 XMoveWindow(out.dpy->dpy, out.draw, x, y);
182 clear(&out);
189 test_target_destroy_render(&t->out, &out);
195 struct test_target out, ref;
201 test_target_create_render(&t->out, target, &out);
202 clear(&out);
209 int x = rand() % out.width;
210 int y = rand() % out.height;
211 int w = rand() % (out.width - x);
212 int h = rand() % (out.height - y);
213 int tx = rand() % (2*out.width) - out.width;
214 int ty = rand() % (2*out.height) - out.height;
220 fill_rect(&out, alu, NULL, 0,
231 out.draw, out.format,
233 0, 0, out.width, out.height,
237 int x = rand() % (t->out.width-out.width);
238 int y = rand() % (t->out.height-out.height);
240 clear(&out);
243 XMoveWindow(out.dpy->dpy, out.draw, x, y);
246 clear(&out);
253 test_target_destroy_render(&t->out, &out);
259 struct test_target out, ref;
265 test_target_create_render(&t->out, target, &out);
266 clear(&out);
273 int x = rand() % (2*out.width) - out.width;
274 int y = rand() % (2*out.height) - out.height;
275 int w = rand() % (2*out.width);
276 int h = rand() % (2*out.height);
277 int tx = rand() % (2*out.width) - out.width;
278 int ty = rand() % (2*out.height) - out.height;
284 fill_rect(&out, alu, NULL, 0,
295 out.draw, out.format,
297 0, 0, out.width, out.height,
301 int x = rand() % (t->out.width-out.width);
302 int y = rand() % (t->out.height-out.height);
304 clear(&out);
307 XMoveWindow(out.dpy->dpy, out.draw, x, y);
310 clear(&out);
317 test_target_destroy_render(&t->out, &out);
323 struct test_target out, ref;
330 test_target_create_render(&t->out, target, &out);
331 clear(&out);
340 clip[r].x = rand() % out.width;
341 clip[r].y = rand() % out.height;
342 clip[r].width = rand() % (out.width - clip[r].x);
343 clip[r].height = rand() % (out.height - clip[r].y);
347 int x = rand() % (2*out.width) - out.width;
348 int y = rand() % (2*out.height) - out.height;
349 int w = rand() % (2*out.width);
350 int h = rand() % (2*out.height);
351 int tx = rand() % (2*out.width) - out.width;
352 int ty = rand() % (2*out.height) - out.height;
358 fill_rect(&out, alu, clip, nclip,
369 out.draw, out.format,
371 0, 0, out.width, out.height,
377 int x = rand() % (t->out.width-out.width);
378 int y = rand() % (t->out.height-out.height);
380 clear(&out);
383 XMoveWindow(out.dpy->dpy, out.draw, x, y);
386 clear(&out);
393 test_target_destroy_render(&t->out, &out);