/external/mesa3d/src/gallium/targets/graw-xlib/ |
D | graw_xlib.c | 56 XVisualInfo templat, *visinfo = NULL; in graw_create_window_and_screen() local 82 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n); in graw_create_window_and_screen() 83 if (!visinfo) { in graw_create_window_and_screen() 89 if (visinfo->red_mask == 0xff0000 && in graw_create_window_and_screen() 90 visinfo->green_mask == 0xff00 && in graw_create_window_and_screen() 91 visinfo->blue_mask == 0xff) { in graw_create_window_and_screen() 95 else if (visinfo->red_mask == 0xff && in graw_create_window_and_screen() 96 visinfo->green_mask == 0xff00 && in graw_create_window_and_screen() 97 visinfo->blue_mask == 0xff0000) { in graw_create_window_and_screen() 108 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone); in graw_create_window_and_screen() [all …]
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_api.c | 217 XVisualInfo * visinfo = xmv->visinfo; in bits_per_pixel() local 221 img = XCreateImage( dpy, visinfo->visual, visinfo->depth, in bits_per_pixel() 455 b->ws.visual = vis->visinfo->visual; in create_xmesa_buffer() 456 b->ws.depth = vis->visinfo->depth; in create_xmesa_buffer() 599 printf("X/Mesa depth = %d\n", v->visinfo->depth); in initialize_visual_and_buffer() 666 XVisualInfo * visinfo, in XMesaCreateVisual() argument 709 v->visinfo = (XVisualInfo *) MALLOC(sizeof(*visinfo)); in XMesaCreateVisual() 710 if (!v->visinfo) { in XMesaCreateVisual() 714 memcpy(v->visinfo, visinfo, sizeof(*visinfo)); in XMesaCreateVisual() 718 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual() [all …]
|
D | glx_api.c | 230 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual() 313 create_glx_visual( Display *dpy, XVisualInfo *visinfo ) in create_glx_visual() argument 319 if (is_usable_visual( visinfo )) { in create_glx_visual() 323 return save_glx_visual( dpy, visinfo, in create_glx_visual() 357 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual() 1033 memcpy(xmvis->vishandle, xmvis->visinfo, sizeof(XVisualInfo)); in glXChooseVisual() 1081 glXCreateContext( Display *dpy, XVisualInfo *visinfo, in glXCreateContext() argument 1086 xmvis = find_glx_visual( dpy, visinfo ); in glXCreateContext() 1089 xmvis = create_glx_visual( dpy, visinfo ); in glXCreateContext() 1262 glXCreateGLXPixmap( Display *dpy, XVisualInfo *visinfo, Pixmap pixmap ) in glXCreateGLXPixmap() argument [all …]
|
D | xm_api.h | 111 XVisualInfo * visinfo, 289 XVisualInfo * visinfo; /* X's visual info (pointer to private copy) */ member
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | fakeglx.c | 327 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual() 410 create_glx_visual( Display *dpy, XVisualInfo *visinfo ) in create_glx_visual() argument 417 vislevel = level_of_visual( dpy, visinfo ); in create_glx_visual() 422 else if (is_usable_visual( visinfo )) { in create_glx_visual() 426 return save_glx_visual( dpy, visinfo, in create_glx_visual() 459 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual() 485 XVisualInfo *vinfo = glxvis->visinfo; in transparent_pixel() 1268 memcpy(xmvis->vishandle, xmvis->visinfo, sizeof(XVisualInfo)); in Fake_glXChooseVisual() 1298 Fake_glXCreateContext( Display *dpy, XVisualInfo *visinfo, in Fake_glXCreateContext() argument 1305 if (!dpy || !visinfo) in Fake_glXCreateContext() [all …]
|
D | xm_api.c | 168 XMesaVisualInfo visinfo = xmv->visinfo; in bits_per_pixel() local 172 img = XCreateImage( dpy, visinfo->visual, visinfo->depth, in bits_per_pixel() 740 XMesaVisualInfo visinfo, in XMesaCreateVisual() argument 784 v->visinfo = (XVisualInfo *) MALLOC(sizeof(*visinfo)); in XMesaCreateVisual() 785 if(!v->visinfo) { in XMesaCreateVisual() 789 memcpy(v->visinfo, visinfo, sizeof(*visinfo)); in XMesaCreateVisual() 806 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual() 807 v->mesa_visual.greenMask = visinfo->green_mask; in XMesaCreateVisual() 808 v->mesa_visual.blueMask = visinfo->blue_mask; in XMesaCreateVisual() 809 v->visualID = visinfo->visualid; in XMesaCreateVisual() [all …]
|
D | glxapi.h | 66 …GLXContext (*CreateContext)(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct); 67 GLXPixmap (*CreateGLXPixmap)(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap); 70 int (*GetConfig)(Display *dpy, XVisualInfo *visinfo, int attrib, int *value); 185 …GLXPixmap (*CreateGLXPixmapMESA)(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap);
|
D | xmesa_x.h | 77 #define GET_COLORMAP_SIZE(__v) __v->visinfo->colormap_size 81 #define GET_VISUAL_DEPTH(__v) __v->visinfo->depth
|
D | realglx.h | 44 _real_glXCreateContext( Display *dpy, XVisualInfo *visinfo, 48 _real_glXCreateGLXPixmap( Display *dpy, XVisualInfo *visinfo, Pixmap pixmap ); 51 _real_glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visinfo, 83 _real_glXGetConfig( Display *dpy, XVisualInfo *visinfo,
|
D | xm_buffer.c | 81 b->xm_visual->visinfo->visual, in alloc_back_shm_ximage() 82 b->xm_visual->visinfo->depth, in alloc_back_shm_ximage() 196 b->xm_visual->visinfo->visual, in alloc_back_buffer() 475 xrb->Parent->xm_visual->visinfo->visual, in xmesa_MapRenderbuffer() 476 xrb->Parent->xm_visual->visinfo->depth, in xmesa_MapRenderbuffer()
|
D | glxapi.c | 213 glXCreateContext(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct) in glXCreateContext() argument 219 return (t->CreateContext)(dpy, visinfo, shareList, direct); in glXCreateContext() 224 glXCreateGLXPixmap(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap) in glXCreateGLXPixmap() argument 230 return (t->CreateGLXPixmap)(dpy, visinfo, pixmap); in glXCreateGLXPixmap() 259 glXGetConfig(Display *dpy, XVisualInfo *visinfo, int attrib, int *value) in glXGetConfig() argument 265 return (t->GetConfig)(dpy, visinfo, attrib, value); in glXGetConfig() 1042 glXCreateGLXPixmapMESA(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap) in glXCreateGLXPixmapMESA() argument 1048 return (t->CreateGLXPixmapMESA)(dpy, visinfo, pixmap, cmap); in glXCreateGLXPixmapMESA()
|
D | xmesa.h | 132 XMesaVisualInfo visinfo,
|
D | xmesaP.h | 79 XMesaVisualInfo visinfo; /* X's visual info (pointer to private copy) */ member
|
/external/mesa3d/src/glx/ |
D | drisw_glx.c | 66 XVisualInfo *visinfo; member 92 pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals); in XCreateDrawable() 94 if (!pdp->visinfo || num_visuals == 0) in XCreateDrawable() 99 pdp->visinfo->visual, in XCreateDrawable() 100 pdp->visinfo->depth, in XCreateDrawable() 121 XFree(pdp->visinfo); in XDestroyDrawable()
|
D | glx_pbuffer.c | 892 XVisualInfo *visinfo; in glXCreateWindow() local 898 visinfo = glXGetVisualFromFBConfig(dpy, config); in glXCreateWindow() 900 if (NULL == visinfo) { in glXCreateWindow() 905 if (visinfo->visualid != XVisualIDFromVisual(xwattr.visual)) { in glXCreateWindow() 910 XFree(visinfo); in glXCreateWindow()
|
/external/mesa3d/src/glx/apple/ |
D | glx_empty.c | 259 glXGetFBConfigFromVisualSGIX(Display * dpy, XVisualInfo * visinfo) 262 (void) visinfo;
|