Home
last modified time | relevance | path

Searched refs:xrb (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/mesa/drivers/x11/
Dxm_buffer.c256 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); in xmesa_alloc_front_storage() local
259 xrb->origin2 = NULL; in xmesa_alloc_front_storage()
260 xrb->origin3 = NULL; in xmesa_alloc_front_storage()
261 xrb->origin4 = NULL; in xmesa_alloc_front_storage()
264 xrb->bottom = height - 1; in xmesa_alloc_front_storage()
282 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); in xmesa_alloc_back_storage() local
285 assert(xrb->Parent); in xmesa_alloc_back_storage()
286 alloc_back_buffer(xrb->Parent, width, height); in xmesa_alloc_back_storage()
293 if (xrb->ximage) { in xmesa_alloc_back_storage()
295 xrb->width2 = xrb->ximage->bytes_per_line / 2; in xmesa_alloc_back_storage()
[all …]
Dxm_line.c72 y = YFLIP( xrb, (GLint) vert->win[1] );
80 y = YFLIP( xrb, (GLint) vert->win[1] );
132 GET_XRB(xrb); \
137 #define PLOT(X,Y) XMesaPutPixel(xrb->ximage, X, YFLIP(xrb, Y), pixel );
147 GET_XRB(xrb); \
151 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
152 #define PIXEL_ADDRESS(X,Y) PIXEL_ADDR4(xrb, X, Y)
164 GET_XRB(xrb); \
168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
169 #define PIXEL_ADDRESS(X,Y) PIXEL_ADDR4(xrb, X, Y)
[all …]
Dxm_tri.c67 GET_XRB(xrb);
70 GLint x = span.x, y = YFLIP(xrb, span.y); \
78 XMesaPutPixel(xrb->ximage, x, y, p); \
100 #define PIXEL_ADDRESS(X,Y) PIXEL_ADDR4(xrb, X, Y)
102 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
104 GET_XRB(xrb);
134 #define PIXEL_ADDRESS(X,Y) PIXEL_ADDR4(xrb, X, Y)
136 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
138 GET_XRB(xrb);
168 #define PIXEL_ADDRESS(X,Y) PIXEL_ADDR4(xrb, X, Y)
[all …]
Dxm_dd.c105 clear_pixmap(struct gl_context *ctx, struct xmesa_renderbuffer *xrb, in clear_pixmap() argument
112 assert(xrb->pixmap); in clear_pixmap()
115 assert(xrb->pixmap); in clear_pixmap()
118 XMesaFillRectangle( xmesa->display, xrb->pixmap, xmbuf->cleargc, in clear_pixmap()
119 x, xrb->Base.Base.Height - y - height, in clear_pixmap()
125 clear_16bit_ximage( struct gl_context *ctx, struct xmesa_renderbuffer *xrb, in clear_16bit_ximage() argument
137 GLushort *ptr2 = PIXEL_ADDR2(xrb, x, y + j); in clear_16bit_ximage()
147 clear_24bit_ximage(struct gl_context *ctx, struct xmesa_renderbuffer *xrb, in clear_24bit_ximage() argument
159 bgr_t *ptr3 = PIXEL_ADDR3(xrb, x, y + j); in clear_24bit_ximage()
167 bgr_t *ptr3 = PIXEL_ADDR3(xrb, x, y + j); in clear_24bit_ximage()
[all …]
Dxm_api.c1474 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); in XMesaGetDepthBuffer() local
1476 if (!xrb || !xrb->Base.Buffer) { in XMesaGetDepthBuffer()
1488 *buffer = (void *) xrb->Base.Buffer; in XMesaGetDepthBuffer()
1663 struct xmesa_renderbuffer *xrb; in XMesaBindTexImage() local
1680 xrb = xmesa_renderbuffer(rb); in XMesaBindTexImage()
1708 if (xrb->pixmap) { in XMesaBindTexImage()
1709 img = XMesaGetImage(dpy, xrb->pixmap, 0, 0, rb->Width, rb->Height, ~0L, in XMesaBindTexImage()
1713 else if (xrb->ximage) { in XMesaBindTexImage()
1714 img = xrb->ximage; in XMesaBindTexImage()
DxmesaP.h52 typedef void (*ClearFunc)( struct gl_context *ctx, struct xmesa_renderbuffer *xrb,
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c354 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); in swrast_delete_renderbuffer() local
358 free(xrb->Base.Buffer); in swrast_delete_renderbuffer()
375 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); in swrast_alloc_front_storage() local
382 xrb->Base.Buffer = NULL; in swrast_alloc_front_storage()
385 xrb->pitch = bytes_per_line(width * xrb->bpp, 32); in swrast_alloc_front_storage()
394 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); in swrast_alloc_back_storage() local
398 free(xrb->Base.Buffer); in swrast_alloc_back_storage()
402 xrb->Base.Buffer = malloc(height * xrb->pitch); in swrast_alloc_back_storage()
411 struct dri_swrast_renderbuffer *xrb = calloc(1, sizeof *xrb); in swrast_new_renderbuffer() local
417 if (!xrb) in swrast_new_renderbuffer()
[all …]
/external/icu/icu4c/source/data/misc/
DlikelySubtags.txt1734 xrb{"xrb_Latn_ZZ"}