Lines Matching refs:ximage
186 if (!xrb->ximage)
199 GLuint *ptr4 = (GLuint *) xrb->ximage->data;
228 XMesaImage *img = xrb->ximage;
389 XMesaImage ximage;
400 memset(&ximage, 0, sizeof(XMesaImage));
401 ximage.width = width;
402 ximage.height = height;
403 ximage.format = ZPixmap;
404 ximage.data = (char *) pixels
406 ximage.byte_order = LSBFirst;
407 ximage.bitmap_unit = 32;
408 ximage.bitmap_bit_order = LSBFirst;
409 ximage.bitmap_pad = 32;
410 ximage.depth = 32;
411 ximage.bits_per_pixel = 32;
412 ximage.bytes_per_line = -rowLength * 4; /* negative to flip image */
413 /* it seems we don't need to set the ximage.red/green/blue_mask fields */
416 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h);
523 XMesaImage ximage;
533 memset(&ximage, 0, sizeof(XMesaImage));
534 ximage.width = width;
535 ximage.height = height;
536 ximage.format = ZPixmap;
537 ximage.data = (char *) pixels
539 ximage.byte_order = LSBFirst;
540 ximage.bitmap_unit = 16;
541 ximage.bitmap_bit_order = LSBFirst;
542 ximage.bitmap_pad = 16;
543 ximage.depth = 16;
544 ximage.bits_per_pixel = 16;
545 ximage.bytes_per_line = -rowLength * 2; /* negative to flip image */
546 /* it seems we don't need to set the ximage.red/green/blue_mask fields */
549 XPutImage(dpy, xrb->pixmap, gc, &ximage, 0, 0, dstX, dstY, w, h);