/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11framebuffer.c | 90 XShmSegmentInfo *shminfo = &data->shminfo; in X11_CreateWindowFramebuffer() local 92 shminfo->shmid = shmget(IPC_PRIVATE, window->h*(*pitch), IPC_CREAT | 0777); in X11_CreateWindowFramebuffer() 93 if ( shminfo->shmid >= 0 ) { in X11_CreateWindowFramebuffer() 94 shminfo->shmaddr = (char *)shmat(shminfo->shmid, 0, 0); in X11_CreateWindowFramebuffer() 95 shminfo->readOnly = False; in X11_CreateWindowFramebuffer() 96 if ( shminfo->shmaddr != (char *)-1 ) { in X11_CreateWindowFramebuffer() 99 X11_XShmAttach(display, shminfo); in X11_CreateWindowFramebuffer() 103 shmdt(shminfo->shmaddr); in X11_CreateWindowFramebuffer() 107 shmctl(shminfo->shmid, IPC_RMID, NULL); in X11_CreateWindowFramebuffer() 114 shminfo->shmaddr, shminfo, in X11_CreateWindowFramebuffer() [all …]
|
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 78 XShmSegmentInfo shminfo; member 124 XShmSegmentInfo *const shminfo = & buf->shminfo; in alloc_shm() local 126 shminfo->shmid = -1; in alloc_shm() 127 shminfo->shmaddr = (char *) -1; in alloc_shm() 130 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); in alloc_shm() 131 if (shminfo->shmid < 0) { in alloc_shm() 135 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); in alloc_shm() 136 if (shminfo->shmaddr == (char *) -1) { in alloc_shm() 137 shmctl(shminfo->shmid, IPC_RMID, 0); in alloc_shm() 141 shminfo->readOnly = False; in alloc_shm() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBufferX11.cpp | 66 x_image = libX11->XShmCreateImage(x_display, visual, depth, ZPixmap, 0, &shminfo, width, height); in FrameBufferX11() 68 …shminfo.shmid = shmget(IPC_PRIVATE, x_image->bytes_per_line * x_image->height, IPC_CREAT | SHM_R |… in FrameBufferX11() 69 shminfo.shmaddr = x_image->data = (char*)shmat(shminfo.shmid, 0, 0); in FrameBufferX11() 70 shminfo.readOnly = False; in FrameBufferX11() 73 libX11->XShmAttach(x_display, &shminfo); // May produce a BadAccess error in FrameBufferX11() 82 shmdt(shminfo.shmaddr); in FrameBufferX11() 83 shmctl(shminfo.shmid, IPC_RMID, 0); in FrameBufferX11() 114 libX11->XShmDetach(x_display, &shminfo); in ~FrameBufferX11() 116 shmdt(shminfo.shmaddr); in ~FrameBufferX11() 117 shmctl(shminfo.shmid, IPC_RMID, 0); in ~FrameBufferX11()
|
D | libX11.hpp | 45 …al *visual, unsigned int depth, int format, char *data, XShmSegmentInfo *shminfo, unsigned int wid… 46 Bool (*XShmAttach)(Display *display, XShmSegmentInfo *shminfo); 47 Bool (*XShmDetach)(Display *display, XShmSegmentInfo *shminfo);
|
/third_party/mesa3d/src/mesa/drivers/x11/ |
D | xm_buffer.c | 84 ZPixmap, NULL, &b->shminfo, in alloc_back_shm_ximage() 93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line in alloc_back_shm_ximage() 95 if (b->shminfo.shmid < 0) { in alloc_back_shm_ximage() 104 b->shminfo.shmaddr = b->backxrb->ximage->data in alloc_back_shm_ximage() 105 = (char*)shmat(b->shminfo.shmid, 0, 0); in alloc_back_shm_ximage() 106 if (b->shminfo.shmaddr == (char *) -1) { in alloc_back_shm_ximage() 109 shmctl(b->shminfo.shmid, IPC_RMID, 0); in alloc_back_shm_ximage() 116 b->shminfo.readOnly = False; in alloc_back_shm_ximage() 120 XShmAttach(b->xm_visual->display, &b->shminfo); in alloc_back_shm_ximage() 128 shmdt(b->shminfo.shmaddr); in alloc_back_shm_ximage() [all …]
|
/third_party/mesa3d/src/glx/ |
D | drisw_glx.c | 62 if ((pdp->shminfo.shmid > 0) && (shmid != pdp->shminfo.shmid)) in XCreateDrawable() 63 XShmDetach(dpy, &pdp->shminfo); in XCreateDrawable() 67 pdp->shminfo.shmid = shmid; in XCreateDrawable() 73 &pdp->shminfo, /* shminfo */ in XCreateDrawable() 83 XShmAttach(dpy, &pdp->shminfo); in XCreateDrawable() 97 pdp->shminfo.shmid = -1; in XCreateDrawable() 124 if (pdp->shminfo.shmid > 0) in XDestroyDrawable() 125 XShmDetach(dpy, &pdp->shminfo); in XDestroyDrawable() 189 if (!pdp->ximage || shmid != pdp->shminfo.shmid) { in swrastXPutImage() 202 if (pdp->shminfo.shmid >= 0) { in swrastXPutImage() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | libX11.hpp | 47 …al *visual, unsigned int depth, int format, char *data, XShmSegmentInfo *shminfo, unsigned int wid… 48 Bool (*XShmAttach)(Display *display, XShmSegmentInfo *shminfo) = nullptr; 49 Bool (*XShmDetach)(Display *display, XShmSegmentInfo *shminfo) = nullptr;
|
/third_party/musl/arch/powerpc64/bits/ |
D | shm.h | 15 struct shminfo { struct
|
/third_party/musl/porting/linux/user/arch/generic/bits/ |
D | shm.h | 16 struct shminfo { struct
|
/third_party/musl/arch/generic/bits/ |
D | shm.h | 16 struct shminfo { struct
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl03.c | 20 struct shminfo info; in verify_ipcinfo()
|
/third_party/musl/arch/mips/bits/ |
D | shm.h | 21 struct shminfo { struct
|
/third_party/musl/arch/mipsn32/bits/ |
D | shm.h | 21 struct shminfo { struct
|
/third_party/musl/arch/powerpc/bits/ |
D | shm.h | 22 struct shminfo { struct
|
/third_party/musl/arch/i386/bits/ |
D | shm.h | 23 struct shminfo { struct
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
D | shm.h | 25 struct shminfo { struct
|
/third_party/musl/arch/or1k/bits/ |
D | shm.h | 23 struct shminfo { struct
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
D | shm.h | 23 struct shminfo { struct
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
D | shm.h | 23 struct shminfo { struct
|
/third_party/musl/arch/microblaze/bits/ |
D | shm.h | 23 struct shminfo { struct
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
D | shm.h | 23 struct shminfo { struct
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/ |
D | shm.h | 25 struct shminfo { struct
|
/third_party/musl/arch/sh/bits/ |
D | shm.h | 23 struct shminfo { struct
|
/third_party/musl/arch/arm/bits/ |
D | shm.h | 23 struct shminfo { struct
|
/third_party/musl/arch/m68k/bits/ |
D | shm.h | 23 struct shminfo { struct
|