Home
last modified time | relevance | path

Searched refs:xlib_dt (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c149 alloc_shm_ximage(struct xlib_displaytarget *xlib_dt, in alloc_shm_ximage() argument
161 xlib_dt->tempImage = XShmCreateImage(xlib_dt->display, in alloc_shm_ximage()
166 &xlib_dt->shminfo, in alloc_shm_ximage()
168 if (xlib_dt->tempImage == NULL) { in alloc_shm_ximage()
169 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in alloc_shm_ximage()
170 xlib_dt->shm = False; in alloc_shm_ximage()
178 XShmAttach(xlib_dt->display, &xlib_dt->shminfo); in alloc_shm_ximage()
179 XSync(xlib_dt->display, False); in alloc_shm_ximage()
184 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in alloc_shm_ximage()
188 XFlush(xlib_dt->display); in alloc_shm_ximage()
[all …]