Home | History | Annotate | Download | only in glx

Lines Matching refs:XImage

67    XImage *ximage;
97 /* create XImage */
98 pdp->ximage = XCreateImage(dpy,
111 if (pdp->ximage->bits_per_pixel == 24)
112 pdp->ximage->bits_per_pixel = 32;
120 XDestroyImage(pdp->ximage);
182 XImage *ximage;
198 ximage = pdp->ximage;
199 ximage->data = data;
200 ximage->width = w;
201 ximage->height = h;
202 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32);
204 XPutImage(dpy, drawable, gc, ximage, 0, 0, x, y, w, h);
206 ximage->data = NULL;
218 XImage *ximage;
222 ximage = prp->ximage;
223 ximage->data = data;
224 ximage->width = w;
225 ximage->height = h;
226 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32);
228 XGetSubImage(dpy, readable, x, y, w, h, ~0L, ZPixmap, ximage, 0, 0);
230 ximage->data = NULL;