Home
last modified time | relevance | path

Searched refs:ximage (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
Dxm_buffer.c80 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display, in alloc_back_shm_ximage()
85 if (b->backxrb->ximage == NULL) { in alloc_back_shm_ximage()
91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line in alloc_back_shm_ximage()
92 * b->backxrb->ximage->height, IPC_CREAT|0777); in alloc_back_shm_ximage()
95 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
96 b->backxrb->ximage = NULL; in alloc_back_shm_ximage()
102 b->shminfo.shmaddr = b->backxrb->ximage->data in alloc_back_shm_ximage()
106 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
108 b->backxrb->ximage = NULL; in alloc_back_shm_ximage()
125 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
[all …]
Dxm_dd.c186 if (!xrb->ximage) in clear_32bit_ximage()
199 GLuint *ptr4 = (GLuint *) xrb->ximage->data; in clear_32bit_ximage()
228 XMesaImage *img = xrb->ximage; in clear_nbit_ximage()
389 XMesaImage ximage; in xmesa_DrawPixels_8R8G8B() local
400 memset(&ximage, 0, sizeof(XMesaImage)); in xmesa_DrawPixels_8R8G8B()
401 ximage.width = width; in xmesa_DrawPixels_8R8G8B()
402 ximage.height = height; in xmesa_DrawPixels_8R8G8B()
403 ximage.format = ZPixmap; in xmesa_DrawPixels_8R8G8B()
404 ximage.data = (char *) pixels in xmesa_DrawPixels_8R8G8B()
406 ximage.byte_order = LSBFirst; in xmesa_DrawPixels_8R8G8B()
[all …]
Dxm_line.c137 #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 …]
Dxm_tri.c76 XMesaPutPixel(xrb->ximage, x, y, p); \
100 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
134 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
200 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
242 XMesaPutPixel(xrb->ximage, x, y, p); \
263 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
293 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
325 XMesaImage *img = xrb->ximage; \
351 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all …]
Dxm_api.c1336 if (b->backxrb->ximage) { in XMesaSwapBuffers()
1343 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1354 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1397 if (b->backxrb->ximage) { in XMesaCopySubBuffer()
1404 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1414 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1443 XMesaImage **ximage ) in XMesaGetBackBuffer() argument
1448 if (ximage) in XMesaGetBackBuffer()
1449 *ximage = b->backxrb->ximage; in XMesaGetBackBuffer()
1454 *ximage = NULL; in XMesaGetBackBuffer()
[all …]
Dxmesa.h278 XMesaImage **ximage );
DxmesaP.h160 XMesaImage *ximage; /* The back buffer, if not using a Pixmap */ member
/external/mesa3d/src/mesa/drivers/x11/
Dxm_buffer.c80 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display, in alloc_back_shm_ximage()
85 if (b->backxrb->ximage == NULL) { in alloc_back_shm_ximage()
91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line in alloc_back_shm_ximage()
92 * b->backxrb->ximage->height, IPC_CREAT|0777); in alloc_back_shm_ximage()
95 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
96 b->backxrb->ximage = NULL; in alloc_back_shm_ximage()
102 b->shminfo.shmaddr = b->backxrb->ximage->data in alloc_back_shm_ximage()
106 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
108 b->backxrb->ximage = NULL; in alloc_back_shm_ximage()
125 XDestroyImage(b->backxrb->ximage); in alloc_back_shm_ximage()
[all …]
Dxm_dd.c186 if (!xrb->ximage) in clear_32bit_ximage()
199 GLuint *ptr4 = (GLuint *) xrb->ximage->data; in clear_32bit_ximage()
228 XMesaImage *img = xrb->ximage; in clear_nbit_ximage()
389 XMesaImage ximage; in xmesa_DrawPixels_8R8G8B() local
400 memset(&ximage, 0, sizeof(XMesaImage)); in xmesa_DrawPixels_8R8G8B()
401 ximage.width = width; in xmesa_DrawPixels_8R8G8B()
402 ximage.height = height; in xmesa_DrawPixels_8R8G8B()
403 ximage.format = ZPixmap; in xmesa_DrawPixels_8R8G8B()
404 ximage.data = (char *) pixels in xmesa_DrawPixels_8R8G8B()
406 ximage.byte_order = LSBFirst; in xmesa_DrawPixels_8R8G8B()
[all …]
Dxm_line.c137 #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 …]
Dxm_tri.c76 XMesaPutPixel(xrb->ximage, x, y, p); \
100 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
134 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
200 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
242 XMesaPutPixel(xrb->ximage, x, y, p); \
263 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
293 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
325 XMesaImage *img = xrb->ximage; \
351 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all …]
Dxm_api.c1336 if (b->backxrb->ximage) { in XMesaSwapBuffers()
1343 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1354 b->backxrb->ximage, 0, 0, in XMesaSwapBuffers()
1397 if (b->backxrb->ximage) { in XMesaCopySubBuffer()
1404 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1414 b->backxrb->ximage, x, yTop, in XMesaCopySubBuffer()
1443 XMesaImage **ximage ) in XMesaGetBackBuffer() argument
1448 if (ximage) in XMesaGetBackBuffer()
1449 *ximage = b->backxrb->ximage; in XMesaGetBackBuffer()
1454 *ximage = NULL; in XMesaGetBackBuffer()
[all …]
Dxmesa.h278 XMesaImage **ximage );
DxmesaP.h160 XMesaImage *ximage; /* The back buffer, if not using a Pixmap */ member
/external/mesa3d/src/glx/
Ddrisw_glx.c67 XImage *ximage; member
98 pdp->ximage = XCreateImage(dpy, in XCreateDrawable()
111 if (pdp->ximage->bits_per_pixel == 24) in XCreateDrawable()
112 pdp->ximage->bits_per_pixel = 32; in XCreateDrawable()
120 XDestroyImage(pdp->ximage); in XDestroyDrawable()
182 XImage *ximage; in swrastPutImage() local
198 ximage = pdp->ximage; in swrastPutImage()
199 ximage->data = data; in swrastPutImage()
200 ximage->width = w; in swrastPutImage()
201 ximage->height = h; in swrastPutImage()
[all …]
/external/chromium_org/third_party/mesa/src/src/glx/
Ddrisw_glx.c67 XImage *ximage; member
98 pdp->ximage = XCreateImage(dpy, in XCreateDrawable()
111 if (pdp->ximage->bits_per_pixel == 24) in XCreateDrawable()
112 pdp->ximage->bits_per_pixel = 32; in XCreateDrawable()
120 XDestroyImage(pdp->ximage); in XDestroyDrawable()
182 XImage *ximage; in swrastPutImage() local
198 ximage = pdp->ximage; in swrastPutImage()
199 ximage->data = data; in swrastPutImage()
200 ximage->width = w; in swrastPutImage()
201 ximage->height = h; in swrastPutImage()
[all …]
/external/libpng/contrib/gregbook/
Drpng-x.c139 static XImage *ximage; variable
660 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window()
663 if (!ximage) { in rpng_x_create_window()
676 ximage->byte_order = MSBFirst; in rpng_x_create_window()
693 int ximage_rowbytes = ximage->bytes_per_line; in rpng_x_display_image()
701 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel)) in rpng_x_display_image()
702 Trace((stderr, " (byte_order = %s)\n", ximage->byte_order == MSBFirst? in rpng_x_display_image()
703 "MSBFirst" : (ximage->byte_order == LSBFirst? "LSBFirst" : "unknown"))) in rpng_x_display_image()
710 dest = ximage->data + row*ximage_rowbytes; in rpng_x_display_image()
772 XPutImage(display, window, gc, ximage, 0, (int)lastrow, 0, in rpng_x_display_image()
[all …]
Drpng2-x.c273 static XImage *ximage; variable
1008 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng2_x_create_window()
1011 if (!ximage) { in rpng2_x_create_window()
1024 ximage->byte_order = MSBFirst; in rpng2_x_create_window()
1083 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_load_bg_image()
1295 int bpp = ximage->bits_per_pixel; in rpng2_x_load_bg_image()
1299 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1337 dest = ximage->data + row*ximage_rowbytes; in rpng2_x_load_bg_image()
1357 XPutImage(display, window, gc, ximage, 0, 0, 0, 0, rpng2_info.width, in rpng2_x_load_bg_image()
1376 int ximage_rowbytes = ximage->bytes_per_line; in rpng2_x_display_row()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c296 XImage *ximage; in xlib_sw_display() local
336 ximage = xlib_dt->tempImage; in xlib_sw_display()
337 ximage->data = xlib_dt->data; in xlib_sw_display()
341 ximage, 0, 0, 0, 0, xlib_dt->width, xlib_dt->height, False); in xlib_sw_display()
345 ximage = xlib_dt->tempImage; in xlib_sw_display()
346 ximage->data = xlib_dt->data; in xlib_sw_display()
349 assert(ximage->format); in xlib_sw_display()
350 assert(ximage->bitmap_unit); in xlib_sw_display()
353 ximage->width = xlib_dt->width; in xlib_sw_display()
354 ximage->height = xlib_dt->height; in xlib_sw_display()
[all …]
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c296 XImage *ximage; in xlib_sw_display() local
336 ximage = xlib_dt->tempImage; in xlib_sw_display()
337 ximage->data = xlib_dt->data; in xlib_sw_display()
341 ximage, 0, 0, 0, 0, xlib_dt->width, xlib_dt->height, False); in xlib_sw_display()
345 ximage = xlib_dt->tempImage; in xlib_sw_display()
346 ximage->data = xlib_dt->data; in xlib_sw_display()
349 assert(ximage->format); in xlib_sw_display()
350 assert(ximage->bitmap_unit); in xlib_sw_display()
353 ximage->width = xlib_dt->width; in xlib_sw_display()
354 ximage->height = xlib_dt->height; in xlib_sw_display()
[all …]