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.c65 GET_XRB(xrb);
68 GLint x = span.x, y = YFLIP(xrb, span.y); \
76 XMesaPutPixel(xrb->ximage, x, y, p); \
98 #define PIXEL_ADDRESS(X,Y) PIXEL_ADDR4(xrb, X, Y)
100 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
102 GET_XRB(xrb);
132 #define PIXEL_ADDRESS(X,Y) PIXEL_ADDR4(xrb, X, Y)
134 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
136 GET_XRB(xrb);
166 #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.c1473 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); in XMesaGetDepthBuffer() local
1475 if (!xrb || !xrb->Base.Buffer) { in XMesaGetDepthBuffer()
1487 *buffer = (void *) xrb->Base.Buffer; in XMesaGetDepthBuffer()
1662 struct xmesa_renderbuffer *xrb; in XMesaBindTexImage() local
1679 xrb = xmesa_renderbuffer(rb); in XMesaBindTexImage()
1707 if (xrb->pixmap) { in XMesaBindTexImage()
1708 img = XMesaGetImage(dpy, xrb->pixmap, 0, 0, rb->Width, rb->Height, ~0L, in XMesaBindTexImage()
1712 else if (xrb->ximage) { in XMesaBindTexImage()
1713 img = xrb->ximage; in XMesaBindTexImage()
DxmesaP.h51 typedef void (*ClearFunc)( struct gl_context *ctx, struct xmesa_renderbuffer *xrb,
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c266 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); in swrast_delete_renderbuffer() local
270 free(xrb->Base.Buffer); in swrast_delete_renderbuffer()
287 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); in swrast_alloc_front_storage() local
294 xrb->Base.Buffer = NULL; in swrast_alloc_front_storage()
297 xrb->pitch = bytes_per_line(width * xrb->bpp, 32); in swrast_alloc_front_storage()
306 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); in swrast_alloc_back_storage() local
310 free(xrb->Base.Buffer); in swrast_alloc_back_storage()
314 xrb->Base.Buffer = malloc(height * xrb->pitch); in swrast_alloc_back_storage()
323 struct dri_swrast_renderbuffer *xrb = calloc(1, sizeof *xrb); in swrast_new_renderbuffer() local
329 if (!xrb) in swrast_new_renderbuffer()
[all …]
/external/icu/icu4c/source/data/misc/
DlikelySubtags.txt1734 xrb{"xrb_Latn_ZZ"}