/third_party/mesa3d/src/mesa/drivers/x11/ |
D | xm_buffer.c | 81 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display, in alloc_back_shm_ximage() 86 if (b->backxrb->ximage == NULL) { in alloc_back_shm_ximage() 93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line in alloc_back_shm_ximage() 94 * b->backxrb->ximage->height, IPC_CREAT | 0600); in alloc_back_shm_ximage() 97 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage() 98 b->backxrb->ximage = NULL; in alloc_back_shm_ximage() 104 b->shminfo.shmaddr = b->backxrb->ximage->data in alloc_back_shm_ximage() 108 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage() 110 b->backxrb->ximage = NULL; in alloc_back_shm_ximage() 127 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage() [all …]
|
D | xm_dd.c | 194 if (!xrb->ximage) in clear_32bit_ximage() 207 GLuint *ptr4 = (GLuint *) xrb->ximage->data; in clear_32bit_ximage() 236 XMesaImage *img = xrb->ximage; in clear_nbit_ximage() 395 XMesaImage ximage; in xmesa_DrawPixels_8R8G8B() local 406 memset(&ximage, 0, sizeof(XMesaImage)); in xmesa_DrawPixels_8R8G8B() 407 ximage.width = width; in xmesa_DrawPixels_8R8G8B() 408 ximage.height = height; in xmesa_DrawPixels_8R8G8B() 409 ximage.format = ZPixmap; in xmesa_DrawPixels_8R8G8B() 410 ximage.data = (char *) pixels in xmesa_DrawPixels_8R8G8B() 412 ximage.byte_order = LSBFirst; in xmesa_DrawPixels_8R8G8B() [all …]
|
D | xm_line.c | 137 #define PLOT(X,Y) XMesaPutPixel(xrb->ximage, X, YFLIP(xrb, Y), pixel ); 151 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 185 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 201 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 222 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 239 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 263 XMesaPutPixel(xrb->ximage, X, YFLIP(xrb, Y), pixel); \ 280 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 303 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) [all …]
|
D | xm_tri.c | 77 XMesaPutPixel(xrb->ximage, x, y, p); \ 101 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 135 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 169 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 201 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 243 XMesaPutPixel(xrb->ximage, x, y, p); \ 264 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 294 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) 326 XMesaImage *img = xrb->ximage; \ 352 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line) [all …]
|
D | xm_api.c | 1345 if (b->backxrb->ximage) { in XMesaSwapBuffers() 1352 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers() 1363 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers() 1406 if (b->backxrb->ximage) { in XMesaCopySubBuffer() 1413 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer() 1423 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer() 1452 XMesaImage **ximage ) in XMesaGetBackBuffer() argument 1457 if (ximage) in XMesaGetBackBuffer() 1458 *ximage = b->backxrb->ximage; in XMesaGetBackBuffer() 1463 *ximage = NULL; in XMesaGetBackBuffer() [all …]
|
D | xmesa.h | 272 XMesaImage **ximage );
|
/third_party/gstreamer/gstplugins_good/sys/ximage/ |
D | ximageutil.c | 45 emeta->ximage = NULL; in gst_meta_ximage_init() 91 XImage *ximage; in ximageutil_check_xshm_calls() local 114 ximage = XShmCreateImage (xcontext->disp, xcontext->visual, in ximageutil_check_xshm_calls() 119 if (!ximage || error_caught) { in ximageutil_check_xshm_calls() 123 size = ximage->height * ximage->bytes_per_line; in ximageutil_check_xshm_calls() 142 ximage->data = SHMInfo.shmaddr; in ximageutil_check_xshm_calls() 170 if (ximage) in ximageutil_check_xshm_calls() 171 XDestroyImage (ximage); in ximageutil_check_xshm_calls() 335 gst_ximagesrc_buffer_dispose (GstBuffer * ximage) in gst_ximagesrc_buffer_dispose() argument 341 meta = GST_META_XIMAGE_GET (ximage); in gst_ximagesrc_buffer_dispose() [all …]
|
D | gstximagesrc.c | 88 gst_ximage_src_return_buf (GstXImageSrc * ximagesrc, GstBuffer * ximage) in gst_ximage_src_return_buf() argument 90 GstMetaXImage *meta = GST_META_XIMAGE_GET (ximage); in gst_ximage_src_return_buf() 98 ximage, meta->width, meta->height, ximagesrc->width, ximagesrc->height); in gst_ximage_src_return_buf() 100 gst_ximageutil_ximage_destroy (ximagesrc->xcontext, ximage); in gst_ximage_src_return_buf() 104 GST_LOG_OBJECT (ximagesrc, "recycling image %p in pool", ximage); in gst_ximage_src_return_buf() 106 gst_buffer_ref (ximage); in gst_ximage_src_return_buf() 108 GST_BUFFER_FLAGS (GST_BUFFER (ximage)) = 0; /* clear out any flags from the previous use */ in gst_ximage_src_return_buf() 109 ximagesrc->buffer_pool = g_slist_prepend (ximagesrc->buffer_pool, ximage); in gst_ximage_src_return_buf() 491 GstBuffer *ximage = NULL; in gst_ximage_src_ximage_get() local 496 ximage = ximagesrc->buffer_pool->data; in gst_ximage_src_ximage_get() [all …]
|
D | ximageutil.h | 153 XImage *ximage; member 174 GstBuffer * ximage); 177 void gst_ximage_buffer_free (GstBuffer *ximage);
|
/third_party/gstreamer/gstplugins_base/sys/ximage/ |
D | ximagepool.c | 99 if (mem->ximage) in gst_ximage_memory_free() 100 XDestroyImage (mem->ximage); in gst_ximage_memory_free() 104 if (mem->ximage) { in gst_ximage_memory_free() 105 XDestroyImage (mem->ximage); in gst_ximage_memory_free() 125 return mem->ximage->data + mem->parent.offset; in ximage_memory_map() 161 sub->ximage = mem->ximage; in ximage_memory_share() 248 mem->ximage = XShmCreateImage (xcontext->disp, in ximage_memory_alloc() 251 if (!mem->ximage || error_caught) { in ximage_memory_alloc() 273 mem->size = mem->ximage->bytes_per_line * mem->ximage->height; in ximage_memory_alloc() 276 mem->size, width, mem->ximage->bytes_per_line); in ximage_memory_alloc() [all …]
|
D | ximagesink.c | 237 gst_x_image_sink_ximage_put (GstXImageSink * ximagesink, GstBuffer * ximage) in gst_x_image_sink_ximage_put() argument 262 if (ximage && ximagesink->cur_image != ximage) { in gst_x_image_sink_ximage_put() 267 GST_LOG_OBJECT (ximagesink, "reffing %p as our current image", ximage); in gst_x_image_sink_ximage_put() 268 ximagesink->cur_image = gst_buffer_ref (ximage); in gst_x_image_sink_ximage_put() 272 if (!ximage) { in gst_x_image_sink_ximage_put() 275 ximage = ximagesink->cur_image; in gst_x_image_sink_ximage_put() 282 mem = (GstXImageMemory *) gst_buffer_peek_memory (ximage, 0); in gst_x_image_sink_ximage_put() 283 crop = gst_buffer_get_video_crop_meta (ximage); in gst_x_image_sink_ximage_put() 314 ximage, 0, 0, result.x, result.y, result.w, result.h, in gst_x_image_sink_ximage_put() 317 ximagesink->xwindow->gc, mem->ximage, src.x, src.y, result.x, result.y, in gst_x_image_sink_ximage_put() [all …]
|
D | meson.build | 8 'ximagesink.c', 'ximage.c', 'ximagepool.c',
|
D | ximagepool.h | 66 XImage *ximage; member
|
/third_party/mesa3d/src/glx/ |
D | drisw_glx.c | 59 if (pdp->ximage) { in XCreateDrawable() 60 XDestroyImage(pdp->ximage); in XCreateDrawable() 61 pdp->ximage = NULL; in XCreateDrawable() 68 pdp->ximage = XShmCreateImage(dpy, in XCreateDrawable() 75 if (pdp->ximage != NULL) { in XCreateDrawable() 88 XDestroyImage(pdp->ximage); in XCreateDrawable() 89 pdp->ximage = NULL; in XCreateDrawable() 96 if (pdp->ximage == NULL) { in XCreateDrawable() 98 pdp->ximage = XCreateImage(dpy, in XCreateDrawable() 112 if (pdp->ximage->bits_per_pixel == 24) in XCreateDrawable() [all …]
|
D | drisw_priv.h | 67 XImage *ximage; member
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
D | rpng-x.c | 142 static XImage *ximage; variable 667 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window() 670 if (!ximage) { in rpng_x_create_window() 683 ximage->byte_order = MSBFirst; in rpng_x_create_window() 700 int ximage_rowbytes = ximage->bytes_per_line; in rpng_x_display_image() 708 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel)) in rpng_x_display_image() 709 Trace((stderr, " (byte_order = %s)\n", ximage->byte_order == MSBFirst? in rpng_x_display_image() 710 "MSBFirst" : (ximage->byte_order == LSBFirst? "LSBFirst" : "unknown"))) in rpng_x_display_image() 717 dest = ximage->data + row*ximage_rowbytes; in rpng_x_display_image() 779 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng_x_display_image() [all …]
|
D | rpng2-x.c | 291 static XImage *ximage; variable 1021 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng2_x_create_window() 1024 if (!ximage) { in rpng2_x_create_window() 1037 ximage->byte_order = MSBFirst; in rpng2_x_create_window() 1096 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_load_bg_image() 1308 int bpp = ximage->bits_per_pixel; in rpng2_x_load_bg_image() 1312 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image() 1350 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image() 1370 XPutImage(display, window, gc, ximage, 0, 0, 0, 0, rpng2_info.width, in rpng2_x_load_bg_image() 1389 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_display_row() [all …]
|
/third_party/libpng/contrib/gregbook/ |
D | rpng-x.c | 142 static XImage *ximage; variable 667 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window() 670 if (!ximage) { in rpng_x_create_window() 683 ximage->byte_order = MSBFirst; in rpng_x_create_window() 700 int ximage_rowbytes = ximage->bytes_per_line; in rpng_x_display_image() 708 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel)) in rpng_x_display_image() 709 Trace((stderr, " (byte_order = %s)\n", ximage->byte_order == MSBFirst? in rpng_x_display_image() 710 "MSBFirst" : (ximage->byte_order == LSBFirst? "LSBFirst" : "unknown"))) in rpng_x_display_image() 717 dest = ximage->data + row*ximage_rowbytes; in rpng_x_display_image() 779 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng_x_display_image() [all …]
|
D | rpng2-x.c | 291 static XImage *ximage; variable 1021 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng2_x_create_window() 1024 if (!ximage) { in rpng2_x_create_window() 1037 ximage->byte_order = MSBFirst; in rpng2_x_create_window() 1096 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_load_bg_image() 1308 int bpp = ximage->bits_per_pixel; in rpng2_x_load_bg_image() 1312 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image() 1350 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image() 1370 XPutImage(display, window, gc, ximage, 0, 0, 0, 0, rpng2_info.width, in rpng2_x_load_bg_image() 1389 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_display_row() [all …]
|
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 305 XImage *ximage; in xlib_sw_display() local 352 ximage = xlib_dt->tempImage; in xlib_sw_display() 353 ximage->data = xlib_dt->data; in xlib_sw_display() 357 ximage, box->x, box->y, box->x, box->y, in xlib_sw_display() 362 ximage = xlib_dt->tempImage; in xlib_sw_display() 363 ximage->data = xlib_dt->data; in xlib_sw_display() 366 assert(ximage->format); in xlib_sw_display() 367 assert(ximage->bitmap_unit); in xlib_sw_display() 370 ximage->width = xlib_dt->width; in xlib_sw_display() 371 ximage->height = xlib_dt->height; in xlib_sw_display() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11framebuffer.c | 112 data->ximage = X11_XShmCreateImage(display, data->visual, in X11_CreateWindowFramebuffer() 116 if (!data->ximage) { in X11_CreateWindowFramebuffer() 135 data->ximage = X11_XCreateImage(display, data->visual, in X11_CreateWindowFramebuffer() 138 if (!data->ximage) { in X11_CreateWindowFramebuffer() 180 X11_XShmPutImage(display, data->xwindow, data->gc, data->ximage, in X11_UpdateWindowFramebuffer() 212 X11_XPutImage(display, data->xwindow, data->gc, data->ximage, in X11_UpdateWindowFramebuffer() 235 if (data->ximage) { in X11_DestroyWindowFramebuffer() 236 XDestroyImage(data->ximage); in X11_DestroyWindowFramebuffer() 247 data->ximage = NULL; in X11_DestroyWindowFramebuffer()
|
D | SDL_x11window.h | 55 XImage *ximage; member
|
/third_party/gstreamer/gstplugins_base/sys/ |
D | meson.build | 2 # XShm is only used by ximage and xvimage 7 subdir('ximage') subdir
|
/third_party/gstreamer/gstplugins_good/sys/ |
D | meson.build | 9 subdir('ximage') subdir
|
/third_party/gstreamer/gstplugins_good/po/ |
D | POTFILES | 33 sys/ximage/gstximagesrc.c
|