Home | History | Annotate | Download | only in test

Lines Matching defs:picture

96 static Picture source_pixmap(struct test_display *t, struct test_target *target, int format)
103 Picture picture;
109 picture = XRenderCreatePicture(t->dpy, pixmap,
114 XRenderFillRectangle(t->dpy, PictOpSrc, picture, &render_color[0],
116 XRenderFillRectangle(t->dpy, PictOpSrc, picture, &render_color[1],
119 return picture;
122 static Picture source_a8r8g8b8(struct test_display *t, struct test_target *target)
127 static Picture source_x8r8g8b8(struct test_display *t, struct test_target *target)
132 static Picture source_a8(struct test_display *t, struct test_target *target)
137 static Picture source_a4(struct test_display *t, struct test_target *target)
142 static Picture source_a1(struct test_display *t, struct test_target *target)
147 static Picture source_1x1r(struct test_display *t, struct test_target *target)
152 Picture picture;
157 picture = XRenderCreatePicture(t->dpy, pixmap,
162 XRenderFillRectangle(t->dpy, PictOpSrc, picture, &render_color,
165 return picture;
168 static Picture source_solid(struct test_display *t, struct test_target *target)
174 static Picture source_linear_horizontal(struct test_display *t, struct test_target *target)
183 static Picture source_linear_vertical(struct test_display *t, struct test_target *target)
192 static Picture source_linear_diagonal(struct test_display *t, struct test_target *target)
201 static Picture source_radial_concentric(struct test_display *t, struct test_target *target)
221 static Picture source_radial_generic(struct test_display *t, struct test_target *target)
271 static Picture source_shm(struct test_display *t, struct test_target *target)
275 Picture picture;
285 picture = XRenderCreatePicture(t->dpy, pixmap,
294 return picture;
298 static Picture source_shm(struct test_display *t, struct test_target *target) { return 0; }
302 Picture (*create)(struct test_display *, struct test_target *);
325 Picture picture;
330 XRenderFillRectangle(t->dpy, PictOpClear, target.picture, &render_color,
333 picture = source[src].create(t, &target);
334 if (picture) {
338 picture, 0, target.picture,
344 XRenderFreePicture(t->dpy, picture);
384 Picture ps, pm;
389 XRenderFillRectangle(t->dpy, PictOpClear, target.picture, &render_color,
398 ps, pm, target.picture,