| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| shm-test.c | 39 #error Failed to find the right header for X11 MIT-SHM protocol definitions 51 #include <sys/shm.h> 74 XShmSegmentInfo shm; local 79 printf("Creating %dx%d SHM pixmap\n", width, height); 86 shm.shmid = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); 87 if (shm.shmid == -1) 90 shm.shmaddr = shmat(shm.shmid, 0, 0); 91 if (shm.shmaddr == (char *) -1) { 92 shmctl(shm.shmid, IPC_RMID, NULL) [all...] |
| lowlevel-blt-bench.c | 47 #error Failed to find the right header for X11 MIT-SHM protocol definitions 50 #include <sys/shm.h> 238 XShmSegmentInfo shm; local 241 shm.shmid = -1; 249 shm.shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0666); 250 if (shm.shmid == -1) 253 shm.shmaddr = shmat(shm.shmid, 0, 0); 254 if (shm.shmaddr == (char *) -1) { 255 shmctl(shm.shmid, IPC_RMID, NULL) 273 XShmSegmentInfo *shm = t->target == REF ? &shmref : &shmout; local [all...] |
| test_display.c | 6 #include <sys/shm.h> 110 d->shm.shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 111 if (d->shm.shmid == -1) 112 die("failed to allocated %d bytes for a shm segment\n", size); 114 d->shm.shmaddr = shmat(d->shm.shmid, NULL, 0); 115 d->shm.readOnly = 0; 116 XShmAttach(d->dpy, &d->shm);
|
| test_image.c | 211 test_init_image(&out_image, &t->out.shm, out_format, w, h); 212 test_init_image(&ref_image, &t->ref.shm, ref_format, w, h); 256 XShmSegmentInfo *shm, 265 ximage->data = shm->shmaddr; 266 ximage->obdata = (void *)shm;
|
| dri3-test.c | 39 #error Failed to find the right header for X11 MIT-SHM protocol definitions 53 #include <sys/shm.h> 436 XShmSegmentInfo shm; local 447 printf("Creating %dx%d SHM pixmap\n", width, height); 450 shm.shmid = shmget(IPC_PRIVATE, height * 4*width, IPC_CREAT | 0666); 451 if (shm.shmid == -1) 454 shm.shmaddr = shmat(shm.shmid, 0, 0); 455 if (shm.shmaddr == (char *) -1) { 456 shmctl(shm.shmid, IPC_RMID, NULL) [all...] |
| test.h | 32 XShmSegmentInfo shm; member in struct:test::test_display 71 XShmSegmentInfo *shm,
|
| basic-putimage.c | 50 test_init_image(&image, &dpy->shm, format, w, h); 80 printf("Testing setting of single pixels (%s %s shm): ", 102 test_init_image(&image, &t->out.shm, tt.format, 1, 1); 150 printf("Testing area sets (%s %s shm): ", 157 test_init_image(&image, &t->out.shm, tt.format, tt.width, tt.height);
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| shm-test.c | 39 #error Failed to find the right header for X11 MIT-SHM protocol definitions 51 #include <sys/shm.h> 74 XShmSegmentInfo shm; local 79 printf("Creating %dx%d SHM pixmap\n", width, height); 86 shm.shmid = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); 87 if (shm.shmid == -1) 90 shm.shmaddr = shmat(shm.shmid, 0, 0); 91 if (shm.shmaddr == (char *) -1) { 92 shmctl(shm.shmid, IPC_RMID, NULL) [all...] |
| lowlevel-blt-bench.c | 47 #error Failed to find the right header for X11 MIT-SHM protocol definitions 50 #include <sys/shm.h> 238 XShmSegmentInfo shm; local 241 shm.shmid = -1; 249 shm.shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0666); 250 if (shm.shmid == -1) 253 shm.shmaddr = shmat(shm.shmid, 0, 0); 254 if (shm.shmaddr == (char *) -1) { 255 shmctl(shm.shmid, IPC_RMID, NULL) 273 XShmSegmentInfo *shm = t->target == REF ? &shmref : &shmout; local [all...] |
| test_display.c | 6 #include <sys/shm.h> 110 d->shm.shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); 111 if (d->shm.shmid == -1) 112 die("failed to allocated %d bytes for a shm segment\n", size); 114 d->shm.shmaddr = shmat(d->shm.shmid, NULL, 0); 115 d->shm.readOnly = 0; 116 XShmAttach(d->dpy, &d->shm);
|
| present-test.c | 43 #error Failed to find the right header for X11 MIT-SHM protocol definitions 61 #include <sys/shm.h> 446 XShmSegmentInfo shm; local 461 printf("Using %dx%d SHM\n", width, height); 463 shm.shmid = shmget(IPC_PRIVATE, height * 4*width, IPC_CREAT | 0666); 464 if (shm.shmid == -1) 467 shm.shmaddr = shmat(shm.shmid, 0, 0); 468 if (shm.shmaddr == (char *) -1) 471 shm.readOnly = False [all...] |
| test.h | 32 XShmSegmentInfo shm; member in struct:test::test_display 71 XShmSegmentInfo *shm,
|
| dri3-test.c | 39 #error Failed to find the right header for X11 MIT-SHM protocol definitions 53 #include <sys/shm.h> 441 XShmSegmentInfo shm; local 452 printf("Creating %dx%d SHM pixmap\n", width, height); 455 shm.shmid = shmget(IPC_PRIVATE, height * 4*width, IPC_CREAT | 0666); 456 if (shm.shmid == -1) 459 shm.shmaddr = shmat(shm.shmid, 0, 0); 460 if (shm.shmaddr == (char *) -1) { 461 shmctl(shm.shmid, IPC_RMID, NULL) [all...] |
| test_image.c | 214 test_init_image(&out_image, &t->out.shm, out_format, w, h); 215 test_init_image(&ref_image, &t->ref.shm, ref_format, w, h); 272 XShmSegmentInfo *shm, 281 ximage->data = shm->shmaddr; 282 ximage->obdata = (void *)shm;
|
| basic-putimage.c | 50 test_init_image(&image, &dpy->shm, format, w, h); 80 printf("Testing setting of single pixels (%s %s shm): ", 102 test_init_image(&image, &t->out.shm, tt.format, 1, 1); 150 printf("Testing area sets (%s %s shm): ", 157 test_init_image(&image, &t->out.shm, tt.format, tt.width, tt.height);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/x11/ |
| glxheader.h | 35 # ifdef USE_XSHM /* was SHM */ 37 # include <sys/shm.h>
|
| xm_buffer.c | 88 b->shm = 0; 100 b->shm = 0; 112 b->shm = 0; 131 b->shm = 0; 152 b->shm = 0; 180 if (b->shm) { 195 if (b->shm == 0 || !alloc_back_shm_ximage(b, width, height)) { 399 if (b->shm) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/x11/ |
| glxheader.h | 35 # ifdef USE_XSHM /* was SHM */ 37 # include <sys/shm.h>
|
| xm_buffer.c | 88 b->shm = 0; 100 b->shm = 0; 112 b->shm = 0; 131 b->shm = 0; 152 b->shm = 0; 180 if (b->shm) { 195 if (b->shm == 0 || !alloc_back_shm_ximage(b, width, height)) { 399 if (b->shm) {
|
| /xsrc/external/mit/libXext/dist/include/X11/extensions/ |
| XShm.h | 33 #include <X11/extensions/shm.h>
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/xlib/ |
| xlib_sw_winsys.c | 49 #include <sys/shm.h> 79 Bool shm; /** Using shared memory images? */ member in struct:xlib_displaytarget 171 xlib_dt->shm = False; 193 xlib_dt->shm = False; 198 xlib_dt->shm = True; 208 if (xlib_dt->shm) { 351 if (xlib_dt->shm) { 426 XQueryExtension(xlib_dt->display, "MIT-SHM", &ignore, &ignore, &ignore)) { 429 xlib_dt->shm = True;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/xlib/ |
| xlib_sw_winsys.c | 49 #include <sys/shm.h> 79 Bool shm; /** Using shared memory images? */ member in struct:xlib_displaytarget 171 xlib_dt->shm = False; 193 xlib_dt->shm = False; 198 xlib_dt->shm = True; 208 if (xlib_dt->shm) { 343 if (xlib_dt->shm) { 416 XQueryExtension(xlib_dt->display, "MIT-SHM", &ignore, &ignore, &ignore)) { 419 xlib_dt->shm = True;
|
| /xsrc/external/mit/xcb-util/dist/image/ |
| test_xcb_image_shm.c | 31 #include <sys/shm.h> 34 #include <xcb/shm.h> 82 /* Shm test */ 83 printf ("shm test begin\n"); 95 printf ("No or insufficient shm support...\n");
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/tools/ |
| virtual.c | 40 #error Failed to find the right header for X11 MIT-SHM protocol definitions 54 #include <sys/shm.h> 143 XShmSegmentInfo shm; member in struct:output 159 XShmSegmentInfo shm; member in struct:clone 241 XShmSegmentInfo shm; local 251 shm.shmid = shmget(IPC_PRIVATE, 0x1000, IPC_CREAT | 0600); 252 if (shm.shmid == -1) 255 shm.readOnly = 0; 256 shm.shmaddr = shmat(shm.shmid, NULL, 0) [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/tools/ |
| virtual.c | 41 #error Failed to find the right header for X11 MIT-SHM protocol definitions 55 #include <sys/shm.h> 154 XShmSegmentInfo shm; member in struct:output 171 XShmSegmentInfo shm; member in struct:clone 260 XShmSegmentInfo shm; local 274 shm.shmid = shmget(IPC_PRIVATE, 0x1000, IPC_CREAT | 0600); 275 if (shm.shmid == -1) 278 shm.readOnly = 0; 279 shm.shmaddr = shmat(shm.shmid, NULL, 0) [all...] |