• Home
  • Raw
  • Download

Lines Matching refs:ximage

291 static XImage *ximage;  variable
1021 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng2_x_create_window()
1024 if (!ximage) { in rpng2_x_create_window()
1037 ximage->byte_order = MSBFirst; in rpng2_x_create_window()
1096 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_load_bg_image()
1308 int bpp = ximage->bits_per_pixel; in rpng2_x_load_bg_image()
1312 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1350 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1370 XPutImage(display, window, gc, ximage, 0, 0, 0, 0, rpng2_info.width, in rpng2_x_load_bg_image()
1389 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_display_row()
1433 int bpp = ximage->bits_per_pixel; in rpng2_x_display_row()
1438 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_display_row()
1513 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_display_row()
1584 XPutImage(display, window, gc, ximage, 0, (int)firstrow, 0, in rpng2_x_display_row()
1591 XPutImage(display, window, gc, ximage, 0, (int)firstrow, 0, in rpng2_x_display_row()
1632 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_redisplay_image()
1639 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel)) in rpng2_x_redisplay_image()
1640 Trace((stderr, " (byte_order = %s)\n", ximage->byte_order == MSBFirst? in rpng2_x_redisplay_image()
1641 "MSBFirst" : (ximage->byte_order == LSBFirst? "LSBFirst" : "unknown"))) in rpng2_x_redisplay_image()
1653 int bpp = ximage->bits_per_pixel; in rpng2_x_redisplay_image()
1659 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_redisplay_image()
1772 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng2_x_redisplay_image()
1786 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_redisplay_image()
1842 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng2_x_redisplay_image()
1857 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng2_x_redisplay_image()
2107 if (ximage) { in rpng2_x_cleanup()
2108 if (ximage->data) { in rpng2_x_cleanup()
2109 free(ximage->data); /* we allocated it, so we free it */ in rpng2_x_cleanup()
2110 ximage->data = (char *)NULL; /* instead of XDestroyImage() */ in rpng2_x_cleanup()
2112 XDestroyImage(ximage); in rpng2_x_cleanup()
2113 ximage = NULL; in rpng2_x_cleanup()