Home
last modified time | relevance | path

Searched refs:xm_visual (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/x11/
Dxm_buffer.c81 b->backxrb->ximage = XShmCreateImage(b->xm_visual->display, in alloc_back_shm_ximage()
82 b->xm_visual->visinfo->visual, in alloc_back_shm_ximage()
83 b->xm_visual->visinfo->depth, in alloc_back_shm_ximage()
120 XShmAttach(b->xm_visual->display, &b->shminfo); in alloc_back_shm_ximage()
121 XSync(b->xm_visual->display, False); in alloc_back_shm_ximage()
125 XFlush(b->xm_visual->display); in alloc_back_shm_ximage()
139 gc = XCreateGC(b->xm_visual->display, b->frontxrb->drawable, 0, NULL); in alloc_back_shm_ximage()
140 XShmPutImage(b->xm_visual->display, b->frontxrb->drawable, gc, in alloc_back_shm_ximage()
142 XSync(b->xm_visual->display, False); in alloc_back_shm_ximage()
143 XFreeGC(b->xm_visual->display, gc); in alloc_back_shm_ximage()
[all …]
DxmesaP.h110 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]; \
Dxm_dd.c79 const int xclass = xmesa->xm_visual->visualType; in color_mask()
94 if (rmask) m |= GET_REDMASK(xmesa->xm_visual); in color_mask()
95 if (gmask) m |= GET_GREENMASK(xmesa->xm_visual); in color_mask()
96 if (bmask) m |= GET_BLUEMASK(xmesa->xm_visual); in color_mask()
269 xmesa->xm_visual->undithered_pf); in clear_buffers()
387 XMesaDisplay *dpy = xmesa->xm_visual->display; in xmesa_DrawPixels_8R8G8B()
397 assert(xmesa->xm_visual->dithered_pf == PF_8R8G8B); in xmesa_DrawPixels_8R8G8B()
398 assert(xmesa->xm_visual->undithered_pf == PF_8R8G8B); in xmesa_DrawPixels_8R8G8B()
519 XMesaDisplay *dpy = xmesa->xm_visual->display; in xmesa_DrawPixels_5R6G5B()
529 assert(xmesa->xm_visual->undithered_pf == PF_5R6G5B); in xmesa_DrawPixels_5R6G5B()
[all …]
Dxm_api.c253 XSync(b->xm_visual->display, 0); /* added for Chromium */ in xmesa_get_window_size()
297 b->xm_visual = vis; in create_xmesa_buffer()
568 assert(!b || b->xm_visual == v); in initialize_visual_and_buffer()
927 c->xm_visual = v; in XMesaCreateContext()
1232 c->xm_visual->undithered_pf); in XMesaMakeCurrent2()
1350 XShmPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaSwapBuffers()
1361 XMesaPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaSwapBuffers()
1371 XMesaCopyArea( b->xm_visual->display, in XMesaSwapBuffers()
1381 XSync( b->xm_visual->display, False ); in XMesaSwapBuffers()
1411 XShmPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaCopySubBuffer()
[all …]
Dxm_line.c59 XMesaDisplay *dpy = xmesa->xm_visual->display;
63 if (xmesa->xm_visual->mesa_visual.RGBAflag) {
419 XMesaDisplay *dpy = xmesa->xm_visual->display; in xor_line()
Dfakeglx.c1298 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in Fake_glXMakeContextCurrent()
1315 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in Fake_glXMakeContextCurrent()
2191 *value = xmbuf->xm_visual->visinfo->visualid; in Fake_glXQueryDrawable()
2241 *value = xmctx->xm_visual->visinfo->visualid; in Fake_glXQueryContext()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c542 b->xm_visual = vis; in create_xmesa_buffer()
575 if (b->xm_visual->display == dpy && in xmesa_find_buffer()
647 assert(!b || b->xm_visual == v); in initialize_visual_and_buffer()
955 c->xm_visual = v; in XMesaCreateContext()
1261 xmesa_get_window_size(b->xm_visual->display, b, &b->width, &b->height); in xmesa_check_buffer_size()
1378 if (c && c->xm_visual->display) { in XMesaFlush()
1379 XMesaDisplay xmdpy = xmesa_init_display(c->xm_visual->display); in XMesaFlush()
1388 XFlush( c->xm_visual->display ); in XMesaFlush()
1400 if (b->ws.drawable == d && b->xm_visual->display == dpy) { in XMesaFindBuffer()
1416 if (b->xm_visual->display == dpy) { in xmesa_destroy_buffers_on_display()
[all …]
Dxm_api.h307 XMesaVisual xm_visual; /** pixel format info */ member
334 XMesaVisual xm_visual; /* the X/Mesa visual */ member
Dxm_st.c290 assert(xmdpy->display == b->xm_visual->display); in xmesa_create_st_framebuffer()
303 xstfb->stvis = b->xm_visual->stvis; in xmesa_create_st_framebuffer()
Dglx_api.c1198 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in glXMakeContextCurrent()
1211 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in glXMakeContextCurrent()
2125 *value = xmbuf->xm_visual->visinfo->visualid; in glXQueryDrawable()
2172 *value = xmctx->xm_visual->visinfo->visualid; in glXQueryContext()