/external/mesa3d/src/mesa/drivers/x11/ |
xm_buffer.c | 256 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); local 259 xrb->origin2 = NULL; 260 xrb->origin3 = NULL; 261 xrb->origin4 = NULL; 264 xrb->bottom = height - 1; 282 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); local 285 assert(xrb->Parent); 286 alloc_back_buffer(xrb->Parent, width, height); 293 if (xrb->ximage) { 295 xrb->width2 = xrb->ximage->bytes_per_line / 2 326 struct xmesa_renderbuffer *xrb = CALLOC_STRUCT(xmesa_renderbuffer); local 427 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); local 518 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); local [all...] |
xm_line.c | 72 y = YFLIP( xrb, (GLint) vert->win[1] ); 80 y = YFLIP( xrb, (GLint) vert->win[1] ); 122 #define GET_XRB(XRB) struct xmesa_renderbuffer *XRB = \ 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 452 const struct xmesa_renderbuffer *xrb; local [all...] |
xm_tri.c | 45 #define GET_XRB(XRB) struct xmesa_renderbuffer *XRB = \ 65 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 1004 const struct xmesa_renderbuffer *xrb; local [all...] |
xm_dd.c | 105 clear_pixmap(struct gl_context *ctx, struct xmesa_renderbuffer *xrb, 112 assert(xrb->pixmap); 115 assert(xrb->pixmap); 118 XMesaFillRectangle( xmesa->display, xrb->pixmap, xmbuf->cleargc, 119 x, xrb->Base.Base.Height - y - height, 125 clear_16bit_ximage( struct gl_context *ctx, struct xmesa_renderbuffer *xrb, 137 GLushort *ptr2 = PIXEL_ADDR2(xrb, x, y + j); 147 clear_24bit_ximage(struct gl_context *ctx, struct xmesa_renderbuffer *xrb, 159 bgr_t *ptr3 = PIXEL_ADDR3(xrb, x, y + j); 167 bgr_t *ptr3 = PIXEL_ADDR3(xrb, x, y + j) 321 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); local 384 struct xmesa_renderbuffer *xrb local 454 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); local 518 struct xmesa_renderbuffer *xrb local [all...] |
xm_api.c | 320 /* XXX free front xrb too */ 1473 struct xmesa_renderbuffer *xrb = xmesa_renderbuffer(rb); local 1662 struct xmesa_renderbuffer *xrb; local [all...] |
xmesaP.h | 51 typedef void (*ClearFunc)( struct gl_context *ctx, struct xmesa_renderbuffer *xrb, 307 #define YFLIP(XRB, Y) ((XRB)->bottom - (Y)) 314 #define PIXEL_ADDR2(XRB, X, Y) \ 315 ( (XRB)->origin2 - (Y) * (XRB)->width2 + (X) ) 317 #define PIXEL_ADDR3(XRB, X, Y) \ 318 ( (bgr_t *) ( (XRB)->origin3 - (Y) * (XRB)->width3 + 3 * (X) )) 320 #define PIXEL_ADDR4(XRB, X, Y) [all...] |
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
swrast.c | 266 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); local 270 free(xrb->Base.Buffer); 287 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); local 294 xrb->Base.Buffer = NULL; 297 xrb->pitch = bytes_per_line(width * xrb->bpp, 32); 306 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); local 310 free(xrb->Base.Buffer); 314 xrb->Base.Buffer = malloc(height * xrb->pitch) 323 struct dri_swrast_renderbuffer *xrb = calloc(1, sizeof *xrb); local 387 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); local 432 struct dri_swrast_renderbuffer *xrb = dri_swrast_renderbuffer(rb); local [all...] |