Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11image.c53 shminfo.shmid = shmget(IPC_PRIVATE, screen->h*screen->pitch, in try_mitshm()
55 if ( shminfo.shmid >= 0 ) { in try_mitshm()
56 shminfo.shmaddr = (char *)shmat(shminfo.shmid, 0, 0); in try_mitshm()
57 shminfo.readOnly = False; in try_mitshm()
58 if ( shminfo.shmaddr != (char *)-1 ) { in try_mitshm()
61 XShmAttach(SDL_Display, &shminfo); in try_mitshm()
65 shmdt(shminfo.shmaddr); in try_mitshm()
69 shmctl(shminfo.shmid, IPC_RMID, NULL); in try_mitshm()
76 screen->pixels = shminfo.shmaddr; in try_mitshm()
91 shminfo.shmaddr, &shminfo, in X11_SetupImage()
[all …]
DSDL_x11video.h80 XShmSegmentInfo shminfo; member
185 #define shminfo (this->hidden->shminfo) macro
/external/kernel-headers/original/linux/
Dshm.h58 struct shminfo { struct
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xv/
DXv.c990 XShmSegmentInfo *shminfo in SDL_NAME()
996 if(ret) ret->obdata = (XPointer)shminfo; in SDL_NAME()
1075 XShmSegmentInfo *shminfo = (XShmSegmentInfo *)image->obdata; in SDL_NAME() local
1089 req->shmseg = shminfo->shmseg; in SDL_NAME()
1099 req->offset = image->data - shminfo->shmaddr; in SDL_NAME()
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
DXvlib.h424 XShmSegmentInfo *shminfo