Lines Matching refs:ximg
82 XImage *ximg;
474 HostX.screens[index].ximg = NULL;
657 if (host_screen->ximg != NULL)
666 XDestroyImage (host_screen->ximg);
672 free(host_screen->ximg->data);
673 host_screen->ximg->data = NULL;
675 XDestroyImage(host_screen->ximg);
681 host_screen->ximg = XShmCreateImage (HostX.dpy, HostX.visual, HostX.depth,
687 host_screen->ximg->bytes_per_line * buffer_height,
689 host_screen->ximg->data = shmat(host_screen->shminfo.shmid, 0, 0);
690 host_screen->shminfo.shmaddr = host_screen->ximg->data;
692 if (host_screen->ximg->data == (char *)-1)
696 XDestroyImage(host_screen->ximg);
714 host_screen->ximg = XCreateImage (HostX.dpy,
723 host_screen->ximg->data =
724 malloc (host_screen->ximg->bytes_per_line * buffer_height);
747 return host_screen->ximg->data;
817 XPutPixel(host_screen->ximg, x, y, host_pixel);
823 XPutPixel(host_screen->ximg, x, y, HostX.cmap[pixel]);
835 HostX.gc, host_screen->ximg,
840 XPutImage (HostX.dpy, host_screen->win, HostX.gc, host_screen->ximg,