| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/xlib/ |
| H A D | xlib_sw_winsys.c | 78 XShmSegmentInfo shminfo; member in struct:xlib_displaytarget 124 XShmSegmentInfo *const shminfo = & buf->shminfo; local in function:alloc_shm 126 shminfo->shmid = -1; 127 shminfo->shmaddr = (char *) -1; 130 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 131 if (shminfo->shmid < 0) { 135 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); 136 if (shminfo [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/xlib/ |
| H A D | xlib_sw_winsys.c | 78 XShmSegmentInfo shminfo; member in struct:xlib_displaytarget 124 XShmSegmentInfo *const shminfo = & buf->shminfo; local in function:alloc_shm 126 shminfo->shmid = -1; 127 shminfo->shmaddr = (char *) -1; 130 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 131 if (shminfo->shmid < 0) { 135 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); 136 if (shminfo [all...] |
| /xsrc/external/mit/xcb-util/dist/image/ |
| H A D | test_xcb_image_shm.c | 86 xcb_shm_segment_info_t shminfo; local in function:main 115 shminfo.shmid = shmget (IPC_PRIVATE, img->size, IPC_CREAT|0777); 116 shminfo.shmaddr = shmat(shminfo.shmid, 0, 0); 117 img->data = shminfo.shmaddr; 119 shminfo.shmseg = xcb_generate_id (c); 120 xcb_shm_attach(c, shminfo.shmseg, shminfo.shmid, 0); 121 shmctl(shminfo.shmid, IPC_RMID, 0); 172 img, shminfo, [all...] |
| H A D | xcb_image.h | 489 * @param shminfo A @ref xcb_shm_segment_info_t structure. 525 xcb_shm_segment_info_t shminfo, 540 * @param shminfo A @ref xcb_shm_segment_info_t structure. 561 xcb_shm_segment_info_t shminfo,
|
| H A D | xcb_image.c | 472 xcb_shm_segment_info_t shminfo, 483 if (!shminfo.shmaddr) 491 shminfo.shmseg, 492 image->data - shminfo.shmaddr); 501 xcb_shm_segment_info_t shminfo, 510 if (!shminfo.shmaddr) 517 shminfo.shmseg, 518 image->data - shminfo.shmaddr); 468 xcb_image_shm_put(xcb_connection_t * conn,xcb_drawable_t draw,xcb_gcontext_t gc,xcb_image_t * image,xcb_shm_segment_info_t shminfo,int16_t src_x,int16_t src_y,int16_t dest_x,int16_t dest_y,uint16_t src_width,uint16_t src_height,uint8_t send_event) argument 498 xcb_image_shm_get(xcb_connection_t * conn,xcb_drawable_t draw,xcb_image_t * image,xcb_shm_segment_info_t shminfo,int16_t x,int16_t y,uint32_t plane_mask) argument
|
| /xsrc/external/mit/libXext/dist/src/ |
| H A D | XShm.c | 226 Bool XShmAttach(Display *dpy, XShmSegmentInfo *shminfo) argument 237 req->shmseg = shminfo->shmseg = XAllocID(dpy); 238 req->shmid = shminfo->shmid; 239 req->readOnly = shminfo->readOnly ? xTrue : xFalse; 246 Bool XShmDetach(Display *dpy, XShmSegmentInfo *shminfo) argument 257 req->shmseg = shminfo->shmseg; 277 XShmSegmentInfo *shminfo, 287 image->obdata = (char *)shminfo; 325 XShmSegmentInfo *shminfo = (XShmSegmentInfo *)image->obdata; local in function:XShmPutImage 329 if (!shminfo) retur 271 XShmCreateImage(register Display * dpy,register Visual * visual,unsigned int depth,int format,char * data,XShmSegmentInfo * shminfo,unsigned int width,unsigned int height) argument 365 XShmSegmentInfo *shminfo = (XShmSegmentInfo *)image->obdata; local in function:XShmGetImage 404 XShmCreatePixmap(register Display * dpy,Drawable d,char * data,XShmSegmentInfo * shminfo,unsigned int width,unsigned int height,unsigned int depth) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/x11/ |
| H A D | xm_buffer.c | 84 ZPixmap, NULL, &b->shminfo, 93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line 95 if (b->shminfo.shmid < 0) { 104 b->shminfo.shmaddr = b->backxrb->ximage->data 105 = (char*)shmat(b->shminfo.shmid, 0, 0); 106 if (b->shminfo.shmaddr == (char *) -1) { 109 shmctl(b->shminfo.shmid, IPC_RMID, 0); 116 b->shminfo.readOnly = False; 120 XShmAttach(b->xm_visual->display, &b->shminfo); 128 shmdt(b->shminfo [all...] |
| H A D | xmesaP.h | 210 XShmSegmentInfo shminfo; member in struct:xmesa_buffer
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/x11/ |
| H A D | xm_buffer.c | 84 ZPixmap, NULL, &b->shminfo, 93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line 95 if (b->shminfo.shmid < 0) { 104 b->shminfo.shmaddr = b->backxrb->ximage->data 105 = (char*)shmat(b->shminfo.shmid, 0, 0); 106 if (b->shminfo.shmaddr == (char *) -1) { 109 shmctl(b->shminfo.shmid, IPC_RMID, 0); 116 b->shminfo.readOnly = False; 120 XShmAttach(b->xm_visual->display, &b->shminfo); 128 shmdt(b->shminfo [all...] |
| H A D | xmesaP.h | 210 XShmSegmentInfo shminfo; member in struct:xmesa_buffer
|
| /xsrc/external/mit/MesaLib.old/dist/src/glx/ |
| H A D | drisw_priv.h | 70 XShmSegmentInfo shminfo; member in struct:drisw_drawable
|
| H A D | drisw_glx.c | 92 pdp->shminfo.shmid = shmid; 98 &pdp->shminfo, /* shminfo */ 108 XShmAttach(dpy, &pdp->shminfo); 122 pdp->shminfo.shmid = -1; 149 if (pdp->shminfo.shmid > 0) 150 XShmDetach(dpy, &pdp->shminfo); 217 if (!pdp->ximage || shmid != pdp->shminfo.shmid) { 238 if (pdp->shminfo.shmid >= 0) { 259 pdp->shminfo [all...] |
| /xsrc/external/mit/MesaLib/dist/src/glx/ |
| H A D | drisw_priv.h | 68 XShmSegmentInfo shminfo; member in struct:drisw_drawable
|
| H A D | drisw_glx.c | 62 if ((pdp->shminfo.shmid > 0) && (shmid != pdp->shminfo.shmid)) 63 XShmDetach(dpy, &pdp->shminfo); 67 pdp->shminfo.shmid = shmid; 73 &pdp->shminfo, /* shminfo */ 83 XShmAttach(dpy, &pdp->shminfo); 97 pdp->shminfo.shmid = -1; 124 if (pdp->shminfo.shmid > 0) 125 XShmDetach(dpy, &pdp->shminfo); [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/ |
| H A D | hostx.c | 448 hostx_create_shm_segment(xcb_shm_segment_info_t *shminfo, size_t size) argument 450 shminfo->shmaddr = NULL; 457 shminfo->shmseg = xcb_generate_id(HostX.conn); 458 cookie = xcb_shm_create_segment(HostX.conn, shminfo->shmseg, size, TRUE); 464 shminfo->shmaddr = 467 if (shminfo->shmaddr == MAP_FAILED) 468 shminfo->shmaddr = NULL; 470 if (!shminfo->shmaddr) 471 xcb_shm_detach(HostX.conn, shminfo->shmseg); 477 shminfo 505 hostx_destroy_shm_segment(xcb_shm_segment_info_t * shminfo,size_t size) argument 741 xcb_shm_segment_info_t shminfo; local in function:hostx_init [all...] |
| H A D | ephyr.h | 81 xcb_shm_segment_info_t shminfo; member in struct:_ephyrScrPriv
|
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/ephyr/ |
| H A D | hostx.c | 86 XShmSegmentInfo shminfo; member in struct:EphyrHostScreen 486 XShmSegmentInfo shminfo; local in function:hostx_init 490 shminfo.shmid=shmget(IPC_PRIVATE, 1, IPC_CREAT|0777); 491 shminfo.shmaddr=shmat(shminfo.shmid,0,0); 492 shminfo.readOnly=True; 496 XShmAttach(HostX.dpy, &shminfo); 505 shmdt(shminfo.shmaddr); 506 shmctl(shminfo.shmid, IPC_RMID, 0); 665 XShmDetach(HostX.dpy, &host_screen->shminfo); [all...] |
| /xsrc/external/mit/libXv/dist/include/X11/extensions/ |
| H A D | Xvlib.h | 376 XShmSegmentInfo *shminfo
|
| /xsrc/external/mit/libXv/dist/src/ |
| H A D | Xv.c | 1034 XShmSegmentInfo *shminfo) 1041 ret->obdata = (XPointer) shminfo; 1114 XShmSegmentInfo *shminfo = (XShmSegmentInfo *) image->obdata; local in function:XvShmPutImage 1128 req->shmseg = (CARD32) shminfo->shmseg; 1138 req->offset = (CARD32) (image->data - shminfo->shmaddr); 1027 XvShmCreateImage(Display * dpy,XvPortID port,int id,char * data,int width,int height,XShmSegmentInfo * shminfo) argument
|