Home
last modified time | relevance | path

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

/external/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.c72 const int xclass = xmesa->xm_visual->visualType; in color_mask()
87 if (rmask) m |= GET_REDMASK(xmesa->xm_visual); in color_mask()
88 if (gmask) m |= GET_GREENMASK(xmesa->xm_visual); in color_mask()
89 if (bmask) m |= GET_BLUEMASK(xmesa->xm_visual); in color_mask()
262 xmesa->xm_visual->undithered_pf); in clear_buffers()
380 XMesaDisplay *dpy = xmesa->xm_visual->display; in xmesa_DrawPixels_8R8G8B()
390 assert(xmesa->xm_visual->dithered_pf == PF_8R8G8B); in xmesa_DrawPixels_8R8G8B()
391 assert(xmesa->xm_visual->undithered_pf == PF_8R8G8B); in xmesa_DrawPixels_8R8G8B()
512 XMesaDisplay *dpy = xmesa->xm_visual->display; in xmesa_DrawPixels_5R6G5B()
522 assert(xmesa->xm_visual->undithered_pf == PF_5R6G5B); in xmesa_DrawPixels_5R6G5B()
[all …]
Dxm_api.c252 XSync(b->xm_visual->display, 0); /* added for Chromium */ in xmesa_get_window_size()
296 b->xm_visual = vis; in create_xmesa_buffer()
568 assert(!b || b->xm_visual == v); in initialize_visual_and_buffer()
935 c->xm_visual = v; in XMesaCreateContext()
1240 c->xm_visual->undithered_pf); in XMesaMakeCurrent2()
1338 XShmPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaSwapBuffers()
1349 XMesaPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaSwapBuffers()
1359 XMesaCopyArea( b->xm_visual->display, in XMesaSwapBuffers()
1369 XSync( b->xm_visual->display, False ); in XMesaSwapBuffers()
1399 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.c1304 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in Fake_glXMakeContextCurrent()
1321 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in Fake_glXMakeContextCurrent()
2212 *value = xmbuf->xm_visual->visinfo->visualid; in Fake_glXQueryDrawable()
2262 *value = xmctx->xm_visual->visinfo->visualid; in Fake_glXQueryContext()
/external/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()
964 c->xm_visual = v; in XMesaCreateContext()
1270 xmesa_get_window_size(b->xm_visual->display, b, &b->width, &b->height); in xmesa_check_buffer_size()
1387 if (c && c->xm_visual->display) { in XMesaFlush()
1388 XMesaDisplay xmdpy = xmesa_init_display(c->xm_visual->display); in XMesaFlush()
1397 XFlush( c->xm_visual->display ); in XMesaFlush()
1409 if (b->ws.drawable == d && b->xm_visual->display == dpy) { in XMesaFindBuffer()
1425 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.c284 assert(xmdpy->display == b->xm_visual->display); in xmesa_create_st_framebuffer()
297 xstfb->stvis = b->xm_visual->stvis; in xmesa_create_st_framebuffer()
Dglx_api.c1204 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in glXMakeContextCurrent()
1217 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in glXMakeContextCurrent()
2135 *value = xmbuf->xm_visual->visinfo->visualid; in glXQueryDrawable()
2182 *value = xmctx->xm_visual->visinfo->visualid; in glXQueryContext()