Searched refs:ximage (Results 1 - 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/drivers/x11/
H A Dxm_buffer.c80 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display,
85 if (b->backxrb->ximage == NULL) {
91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line
92 * b->backxrb->ximage->height, IPC_CREAT|0777);
95 XDestroyImage(b->backxrb->ximage);
96 b->backxrb->ximage = NULL;
102 b->shminfo.shmaddr = b->backxrb->ximage->data
106 XDestroyImage(b->backxrb->ximage);
108 b->backxrb->ximage = NULL;
125 XDestroyImage(b->backxrb->ximage);
430 XImage *ximage = xrb->ximage; local
521 XImage *ximage = xrb->ximage; local
[all...]
H A Dxm_dd.c186 if (!xrb->ximage)
199 GLuint *ptr4 = (GLuint *) xrb->ximage->data;
228 XMesaImage *img = xrb->ximage;
387 XMesaImage ximage; local
398 memset(&ximage, 0, sizeof(XMesaImage));
399 ximage.width = width;
400 ximage.height = height;
401 ximage.format = ZPixmap;
402 ximage.data = (char *) pixels
404 ximage
519 XMesaImage ximage; local
[all...]
H A Dxm_tri.c78 XMesaPutPixel(xrb->ximage, x, y, p); \
102 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
136 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
170 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
202 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
244 XMesaPutPixel(xrb->ximage, x, y, p); \
265 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
295 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
327 XMesaImage *img = xrb->ximage; \
353 #define BYTES_PER_ROW (xrb->ximage
[all...]
H A 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
[all...]
H A Dxm_api.c1337 if (b->backxrb->ximage) {
1344 b->backxrb->ximage, 0, 0,
1355 b->backxrb->ximage, 0, 0,
1398 if (b->backxrb->ximage) {
1405 b->backxrb->ximage, x, yTop,
1415 b->backxrb->ximage, x, yTop,
1438 * ximage - pointer to back buffer's XImage, or NULL
1444 XMesaImage **ximage )
1449 if (ximage)
1450 *ximage
[all...]
H A Dxmesa.h268 * ximage - pointer to back buffer's XImage, or NULL
274 XMesaImage **ximage );
H A DxmesaP.h147 * Either <ximage> or <pixmap> will be used, never both.
160 XMesaImage *ximage; /* The back buffer, if not using a Pixmap */ member in struct:xmesa_renderbuffer
/external/ImageMagick/coders/
H A Dxwd.c203 *ximage;
276 ximage=(XImage *) AcquireMagickMemory(sizeof(*ximage));
277 if (ximage == (XImage *) NULL)
279 ximage->depth=(int) header.pixmap_depth;
280 ximage->format=(int) header.pixmap_format;
281 ximage->xoffset=(int) header.xoffset;
282 ximage->data=(char *) NULL;
283 ximage->width=(int) header.pixmap_width;
284 ximage
199 *ximage; local
[all...]
/external/mesa3d/src/gallium/winsys/sw/xlib/
H A Dxlib_sw_winsys.c303 XImage *ximage; local
343 ximage = xlib_dt->tempImage;
344 ximage->data = xlib_dt->data;
348 ximage, 0, 0, 0, 0, xlib_dt->width, xlib_dt->height, False);
352 ximage = xlib_dt->tempImage;
353 ximage->data = xlib_dt->data;
356 assert(ximage->format);
357 assert(ximage->bitmap_unit);
360 ximage->width = xlib_dt->width;
361 ximage
[all...]
/external/mesa3d/src/glx/
H A Ddrisw_priv.h64 XImage *ximage; member in struct:drisw_drawable
H A Ddrisw_glx.c60 pdp->ximage = XCreateImage(dpy,
73 if (pdp->ximage->bits_per_pixel == 24)
74 pdp->ximage->bits_per_pixel = 32;
82 XDestroyImage(pdp->ximage);
144 XImage *ximage; local
160 ximage = pdp->ximage;
161 ximage->data = data;
162 ximage->width = w;
163 ximage
188 XImage *ximage; local
[all...]
/external/libpng/contrib/gregbook/
H A Drpng-x.c141 static XImage *ximage; variable
666 ximage = XCreateImage(display, visual, depth, ZPixmap, 0,
669 if (!ximage) {
682 ximage->byte_order = MSBFirst;
699 int ximage_rowbytes = ximage->bytes_per_line;
700 /* int bpp = ximage->bits_per_pixel; */
707 Trace((stderr, " (bpp = %d)\n", ximage->bits_per_pixel))
708 Trace((stderr, " (byte_order = %s)\n", ximage->byte_order == MSBFirst?
709 "MSBFirst" : (ximage->byte_order == LSBFirst? "LSBFirst" : "unknown")))
716 dest = ximage
[all...]
H A Drpng2-x.c289 static XImage *ximage; variable
1012 ximage = XCreateImage(display, visual, depth, ZPixmap, 0,
1015 if (!ximage) {
1028 ximage->byte_order = MSBFirst;
1087 int ximage_rowbytes = ximage->bytes_per_line;
1299 int bpp = ximage->bits_per_pixel;
1303 dest = ximage->data + row*ximage_rowbytes;
1312 /* recall that we set ximage->byte_order = MSBFirst above */
1326 /* recall that we set ximage->byte_order = MSBFirst above */
1341 dest = ximage
[all...]
/external/ImageMagick/MagickCore/
H A Dxwindow.c317 if (magick_windows[i]->ximage != (XImage *) NULL)
319 XDestroyImage(magick_windows[i]->ximage);
320 magick_windows[i]->ximage=(XImage *) NULL;
2018 (void) FormatLocaleFile(file," depth: %d\n",windows->image.ximage->depth);
2027 windows->image.ximage->width,windows->image.ximage->height);
2116 % void XDitherImage(Image *image,XImage *ximage,ExceptionInfo *exception)
2122 % o ximage: Specifies a pointer to a XImage structure; returned from
2128 static void XDitherImage(Image *image,XImage *ximage,ExceptionInfo *exception)
2229 scanline_pad=(unsigned int) (ximage
2106 XDitherImage(Image *image,XImage *ximage,ExceptionInfo *exception) argument
3868 *ximage; local
4193 *ximage; local
5444 *ximage; local
5858 XMakeImageLSBFirst(const XResourceInfo *resource_info, const XWindowInfo *window,Image *image,XImage *ximage,XImage *matte_image, ExceptionInfo *exception) argument
6474 XMakeImageMSBFirst(const XResourceInfo *resource_info, const XWindowInfo *window,Image *image,XImage *ximage,XImage *matte_image, ExceptionInfo *exception) argument
7134 *ximage; local
[all...]
H A Ddisplay.c2726 width*(annotate_info->x+windows->image.x)/windows->image.ximage->width;
2728 windows->image.y)/windows->image.ximage->height;
2730 "%ux%u%+d%+d",width*annotate_info->width/windows->image.ximage->width,
2731 height*annotate_info->height/windows->image.ximage->height,
3178 if (segment_info.x2 > windows->image.ximage->width)
3179 segment_info.x2=windows->image.ximage->width;
3183 if (segment_info.y2 > windows->image.ximage->height)
3184 segment_info.y2=windows->image.ximage->height;
3227 windows->image.window_changes.width=windows->image.ximage->width-
3229 windows->image.window_changes.height=windows->image.ximage
[all...]
H A Dxwindow-private.h399 *ximage, member in struct:_XWindowInfo
H A Danimate.c861 window_info.ximage=(XImage *) NULL;
1005 (window_info.ximage->width/2);
1007 (window_info.ximage->height/2);
1060 window_info.ximage,0,0,window_info.x,window_info.y,window_info.width,
1131 window_info.ximage,0,0,window_info.x,window_info.y,window_info.width,
2133 windows->image.ximage->width=(int) image->columns;
2134 windows->image.ximage->height=(int) image->rows;

Completed in 853 milliseconds