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.c80 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 …]
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()
263 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()
1245 c->xm_visual->undithered_pf); in XMesaMakeCurrent2()
1343 XShmPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaSwapBuffers()
1354 XMesaPutImage( b->xm_visual->display, b->frontxrb->drawable, in XMesaSwapBuffers()
1364 XMesaCopyArea( b->xm_visual->display, in XMesaSwapBuffers()
1374 XSync( b->xm_visual->display, False ); in XMesaSwapBuffers()
1404 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()
2224 *value = xmbuf->xm_visual->visinfo->visualid; in Fake_glXQueryDrawable()
2274 *value = xmctx->xm_visual->visinfo->visualid; in Fake_glXQueryContext()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c537 b->xm_visual = vis; in create_xmesa_buffer()
570 if (b->xm_visual->display == dpy && in xmesa_find_buffer()
644 assert(!b || b->xm_visual == v); in initialize_visual_and_buffer()
970 c->xm_visual = v; in XMesaCreateContext()
1277 xmesa_get_window_size(b->xm_visual->display, b, &b->width, &b->height); in xmesa_check_buffer_size()
1390 if (c && c->xm_visual->display) { in XMesaFlush()
1391 XMesaDisplay xmdpy = xmesa_init_display(c->xm_visual->display); in XMesaFlush()
1400 XFlush( c->xm_visual->display ); in XMesaFlush()
1412 if (b->ws.drawable == d && b->xm_visual->display == dpy) { in XMesaFindBuffer()
1428 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.c282 assert(xmdpy->display == b->xm_visual->display); in xmesa_create_st_framebuffer()
295 xstfb->stvis = b->xm_visual->stvis; in xmesa_create_st_framebuffer()
Dglx_api.c1207 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in glXMakeContextCurrent()
1224 readBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, read ); in glXMakeContextCurrent()
2172 *value = xmbuf->xm_visual->visinfo->visualid; in glXQueryDrawable()
2219 *value = xmctx->xm_visual->visinfo->visualid; in glXQueryContext()
2222 if (xmctx->xm_visual->mesa_visual.rgbMode) in glXQueryContext()