Searched refs:xm_visual (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_buffer.c | 80 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display, in alloc_back_shm_ximage() 81 b->xm_visual->visinfo->visual, in alloc_back_shm_ximage() 82 b->xm_visual->visinfo->depth, in alloc_back_shm_ximage() 118 XShmAttach(b->xm_visual->display, &b->shminfo); in alloc_back_shm_ximage() 119 XSync(b->xm_visual->display, False); in alloc_back_shm_ximage() 123 XFlush(b->xm_visual->display); in alloc_back_shm_ximage() 137 gc = XCreateGC(b->xm_visual->display, b->frontxrb->drawable, 0, NULL); in alloc_back_shm_ximage() 138 XShmPutImage(b->xm_visual->display, b->frontxrb->drawable, gc, in alloc_back_shm_ximage() 140 XSync(b->xm_visual->display, False); in alloc_back_shm_ximage() 141 XFreeGC(b->xm_visual->display, gc); in alloc_back_shm_ximage() [all …]
|
D | xmesaP.h | 110 XMesaVisual xm_visual; /* Describes the buffers */ member 187 XMesaVisual xm_visual; /* the X/Mesa visual */ member 250 PIXEL = xmesa->xm_visual->RtoPixel[R] \ 251 | xmesa->xm_visual->GtoPixel[G] \ 252 | xmesa->xm_visual->BtoPixel[B]; \ 260 int d = xmesa->xm_visual->Kernel[((X)&3) | (((Y)&3)<<2)]; \ 261 PIXEL = xmesa->xm_visual->RtoPixel[(R)+d] \ 262 | xmesa->xm_visual->GtoPixel[(G)+d] \ 263 | xmesa->xm_visual->BtoPixel[(B)+d]; \
|
D | xm_dd.c | 71 const int xclass = xmesa->xm_visual->visualType; in color_mask() 86 if (rmask) m |= GET_REDMASK(xmesa->xm_visual); in color_mask() 87 if (gmask) m |= GET_GREENMASK(xmesa->xm_visual); in color_mask() 88 if (bmask) m |= GET_BLUEMASK(xmesa->xm_visual); in color_mask() 262 xmesa->xm_visual->undithered_pf); in clear_buffers() 381 XMesaDisplay *dpy = xmesa->xm_visual->display; in xmesa_DrawPixels_8R8G8B() 391 ASSERT(xmesa->xm_visual->dithered_pf == PF_8R8G8B); in xmesa_DrawPixels_8R8G8B() 392 ASSERT(xmesa->xm_visual->undithered_pf == PF_8R8G8B); in xmesa_DrawPixels_8R8G8B() 515 XMesaDisplay *dpy = xmesa->xm_visual->display; in xmesa_DrawPixels_5R6G5B() 525 ASSERT(xmesa->xm_visual->undithered_pf == PF_5R6G5B); in xmesa_DrawPixels_5R6G5B() [all …]
|
D | xm_api.c | 249 XSync(b->xm_visual->display, 0); /* added for Chromium */ in xmesa_get_window_size() 293 b->xm_visual = vis; in create_xmesa_buffer() 565 ASSERT(!b || b->xm_visual == v); in initialize_visual_and_buffer() 939 c->xm_visual = v; in XMesaCreateContext() 1243 c->xm_visual->undithered_pf); in XMesaMakeCurrent2() 1341 XShmPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaSwapBuffers() 1352 XMesaPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaSwapBuffers() 1362 XMesaCopyArea( b->xm_visual->display, in XMesaSwapBuffers() 1372 XSync( b->xm_visual->display, False ); in XMesaSwapBuffers() 1402 XShmPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaCopySubBuffer() [all …]
|
D | xm_line.c | 59 XMesaDisplay *dpy = xmesa->xm_visual->display; 63 if (xmesa->xm_visual->mesa_visual.RGBAflag) { 419 XMesaDisplay *dpy = xmesa->xm_visual->display; in xor_line()
|
D | fakeglx.c | 1370 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in Fake_glXMakeContextCurrent() 1387 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in Fake_glXMakeContextCurrent() 2298 *value = xmbuf->xm_visual->visinfo->visualid; in Fake_glXQueryDrawable() 2361 *value = xmctx->xm_visual->visinfo->visualid; in Fake_glXQueryContext()
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_api.c | 458 b->xm_visual = vis; in create_xmesa_buffer() 491 if (b->xm_visual->display == dpy && in xmesa_find_buffer() 560 ASSERT(!b || b->xm_visual == v); in initialize_visual_and_buffer() 877 c->xm_visual = v; in XMesaCreateContext() 1151 xmesa_get_window_size(b->xm_visual->display, b, &b->width, &b->height); in xmesa_check_buffer_size() 1253 if (c && c->xm_visual->display) { in XMesaFlush() 1254 XMesaDisplay xmdpy = xmesa_init_display(c->xm_visual->display); in XMesaFlush() 1263 XFlush( c->xm_visual->display ); in XMesaFlush() 1275 if (b->ws.drawable == d && b->xm_visual->display == dpy) { in XMesaFindBuffer() 1291 if (b->xm_visual->display == dpy) { in xmesa_destroy_buffers_on_display() [all …]
|
D | xm_api.h | 305 XMesaVisual xm_visual; /** pixel format info */ member 331 XMesaVisual xm_visual; /* the X/Mesa visual */ member
|
D | xm_st.c | 276 assert(xmdpy->display == b->xm_visual->display); in xmesa_create_st_framebuffer() 291 xstfb->stvis = b->xm_visual->stvis; in xmesa_create_st_framebuffer()
|
D | glx_api.c | 1138 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in glXMakeContextCurrent() 1155 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in glXMakeContextCurrent() 2104 *value = xmbuf->xm_visual->visinfo->visualid; in glXQueryDrawable() 2152 *value = xmctx->xm_visual->visinfo->visualid; in glXQueryContext() 2155 if (xmctx->xm_visual->mesa_visual.rgbMode) in glXQueryContext()
|