/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11image.c | 53 shminfo.shmid = shmget(IPC_PRIVATE, screen->h*screen->pitch, 55 if ( shminfo.shmid >= 0 ) { 56 shminfo.shmaddr = (char *)shmat(shminfo.shmid, 0, 0); 57 shminfo.readOnly = False; 58 if ( shminfo.shmaddr != (char *)-1 ) { 61 XShmAttach(SDL_Display, &shminfo); 65 shmdt(shminfo.shmaddr); 69 shmctl(shminfo.shmid, IPC_RMID, NULL); 76 screen->pixels = shminfo.shmaddr [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/xlib/ |
xlib_sw_winsys.c | 77 XShmSegmentInfo shminfo; member in struct:xlib_displaytarget 123 XShmSegmentInfo *const shminfo = & buf->shminfo; local 125 shminfo->shmid = -1; 126 shminfo->shmaddr = (char *) -1; 128 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0777); 129 if (shminfo->shmid < 0) { 133 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); 134 if (shminfo->shmaddr == (char *) -1) [all...] |
/external/mesa3d/src/gallium/winsys/sw/xlib/ |
xlib_sw_winsys.c | 77 XShmSegmentInfo shminfo; member in struct:xlib_displaytarget 123 XShmSegmentInfo *const shminfo = & buf->shminfo; local 125 shminfo->shmid = -1; 126 shminfo->shmaddr = (char *) -1; 128 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0777); 129 if (shminfo->shmid < 0) { 133 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); 134 if (shminfo->shmaddr == (char *) -1) [all...] |
/external/chromium_org/content/browser/renderer_host/ |
backing_store_gtk.cc | 64 XShmSegmentInfo* shminfo) { 65 XShmDetach(display, shminfo); 67 shmdt(shminfo->shmaddr); 380 XShmSegmentInfo shminfo = {0}; local 381 shminfo.shmseg = dib->MapToX(display_); 388 // |shminfo|. Since both are NULL, the offset will be calculated to be 0, 390 pixmap = XShmCreatePixmap(display_, root_window_, NULL, &shminfo, 401 XShmSegmentInfo shminfo; local 402 memset(&shminfo, 0, sizeof(shminfo)); 532 XShmSegmentInfo shminfo; \/\/ Used only when shared memory is enabled. local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
xm_buffer.c | 83 ZPixmap, NULL, &b->shminfo, 91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line 93 if (b->shminfo.shmid < 0) { 102 b->shminfo.shmaddr = b->backxrb->ximage->data 103 = (char*)shmat(b->shminfo.shmid, 0, 0); 104 if (b->shminfo.shmaddr == (char *) -1) { 107 shmctl(b->shminfo.shmid, IPC_RMID, 0); 114 b->shminfo.readOnly = False; 118 XShmAttach(b->xm_visual->display, &b->shminfo); 126 shmdt(b->shminfo.shmaddr) [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
xm_buffer.c | 83 ZPixmap, NULL, &b->shminfo, 91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line 93 if (b->shminfo.shmid < 0) { 102 b->shminfo.shmaddr = b->backxrb->ximage->data 103 = (char*)shmat(b->shminfo.shmid, 0, 0); 104 if (b->shminfo.shmaddr == (char *) -1) { 107 shmctl(b->shminfo.shmid, IPC_RMID, 0); 114 b->shminfo.readOnly = False; 118 XShmAttach(b->xm_visual->display, &b->shminfo); 126 shmdt(b->shminfo.shmaddr) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
XShm.h | 95 XShmSegmentInfo* /* shminfo */ 100 XShmSegmentInfo* /* shminfo */ 132 XShmSegmentInfo* /* shminfo */, 141 XShmSegmentInfo* /* shminfo */,
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
XShm.h | 95 XShmSegmentInfo* /* shminfo */ 100 XShmSegmentInfo* /* shminfo */ 132 XShmSegmentInfo* /* shminfo */, 141 XShmSegmentInfo* /* shminfo */,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
XShm.h | 95 XShmSegmentInfo* /* shminfo */ 100 XShmSegmentInfo* /* shminfo */ 132 XShmSegmentInfo* /* shminfo */, 141 XShmSegmentInfo* /* shminfo */,
|
/development/ndk/platforms/android-3/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/ |
shm.h | 57 struct shminfo { struct
|