Searched refs:xshm_info (Results 1 – 1 of 1) sorted by relevance
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
D | X11GraphicsWindow.c | 58 XShmSegmentInfo xshm_info; member 110 Drv->depth, ZPixmap, NULL, &Drv->xshm_info, in TryCreateShmImage() 129 Drv->xshm_info.shmid = shmget ( in TryCreateShmImage() 133 if (Drv->xshm_info.shmid < 0) { in TryCreateShmImage() 138 Drv->image_data = shmat (Drv->xshm_info.shmid, NULL, 0); in TryCreateShmImage() 140 shmctl (Drv->xshm_info.shmid, IPC_RMID, NULL); in TryCreateShmImage() 150 shmctl (Drv->xshm_info.shmid, IPC_RMID, NULL); in TryCreateShmImage() 153 Drv->xshm_info.shmaddr = (char*)Drv->image_data; in TryCreateShmImage() 156 if (!XShmAttach (Drv->display, &Drv->xshm_info)) { in TryCreateShmImage() 1010 shmctl (Drv->xshm_info.shmid, IPC_RMID, NULL); in X11GraphicsWindowClose()
|