/third_party/mesa3d/src/gallium/targets/graw-xlib/ |
D | graw_xlib.c | 57 XVisualInfo templat, *visinfo = NULL; in graw_create_window_and_screen() local 83 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n); in graw_create_window_and_screen() 84 if (!visinfo) { in graw_create_window_and_screen() 90 if (visinfo->red_mask == 0xff0000 && in graw_create_window_and_screen() 91 visinfo->green_mask == 0xff00 && in graw_create_window_and_screen() 92 visinfo->blue_mask == 0xff) { in graw_create_window_and_screen() 96 else if (visinfo->red_mask == 0xff && in graw_create_window_and_screen() 97 visinfo->green_mask == 0xff00 && in graw_create_window_and_screen() 98 visinfo->blue_mask == 0xff0000) { in graw_create_window_and_screen() 109 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone); in graw_create_window_and_screen() [all …]
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
D | xm_api.c | 302 XVisualInfo * visinfo = xmv->visinfo; in bits_per_pixel() local 306 img = XCreateImage( dpy, visinfo->visual, visinfo->depth, in bits_per_pixel() 539 b->ws.visual = vis->visinfo->visual; in create_xmesa_buffer() 540 b->ws.depth = vis->visinfo->depth; in create_xmesa_buffer() 678 printf("X/Mesa depth = %d\n", v->visinfo->depth); in initialize_visual_and_buffer() 745 XVisualInfo * visinfo, in XMesaCreateVisual() argument 791 v->visinfo = malloc(sizeof(*visinfo)); in XMesaCreateVisual() 792 if (!v->visinfo) { in XMesaCreateVisual() 796 memcpy(v->visinfo, visinfo, sizeof(*visinfo)); in XMesaCreateVisual() 800 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual() [all …]
|
D | glx_api.c | 248 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual() 325 create_glx_visual( Display *dpy, XVisualInfo *visinfo ) in create_glx_visual() argument 331 if (is_usable_visual( visinfo )) { in create_glx_visual() 335 return save_glx_visual( dpy, visinfo, in create_glx_visual() 370 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual() 1101 memcpy(xmvis->vishandle, xmvis->visinfo, sizeof(XVisualInfo)); in glXChooseVisual() 1149 glXCreateContext( Display *dpy, XVisualInfo *visinfo, in glXCreateContext() argument 1154 xmvis = find_glx_visual( dpy, visinfo ); in glXCreateContext() 1157 xmvis = create_glx_visual( dpy, visinfo ); in glXCreateContext() 1301 glXCreateGLXPixmap( Display *dpy, XVisualInfo *visinfo, Pixmap pixmap ) in glXCreateGLXPixmap() argument [all …]
|
D | xm_api.h | 113 XVisualInfo * visinfo, 291 XVisualInfo * visinfo; /* X's visual info (pointer to private copy) */ member
|
/third_party/mesa3d/src/mesa/drivers/x11/ |
D | fakeglx.c | 301 if (v->visinfo->visualid == vinfo->visualid) { in save_glx_visual() 373 create_glx_visual( Display *dpy, XVisualInfo *visinfo ) in create_glx_visual() argument 380 vislevel = level_of_visual( dpy, visinfo ); in create_glx_visual() 385 else if (is_usable_visual( visinfo )) { in create_glx_visual() 389 return save_glx_visual( dpy, visinfo, in create_glx_visual() 422 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual() 441 XVisualInfo *vinfo = glxvis->visinfo; in transparent_pixel() 1230 XVisualInfo* visinfo = malloc(sizeof(XVisualInfo)); in Fake_glXChooseVisual() local 1231 if (visinfo) { in Fake_glXChooseVisual() 1232 memcpy(visinfo, xmvis->visinfo, sizeof(XVisualInfo)); in Fake_glXChooseVisual() [all …]
|
D | xm_api.c | 172 XMesaVisualInfo visinfo = xmv->visinfo; in bits_per_pixel() local 176 img = XCreateImage( dpy, visinfo->visual, visinfo->depth, in bits_per_pixel() 741 XMesaVisualInfo visinfo, in XMesaCreateVisual() argument 785 v->visinfo = malloc(sizeof(*visinfo)); in XMesaCreateVisual() 786 if(!v->visinfo) { in XMesaCreateVisual() 790 memcpy(v->visinfo, visinfo, sizeof(*visinfo)); in XMesaCreateVisual() 807 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual() 808 v->mesa_visual.greenMask = visinfo->green_mask; in XMesaCreateVisual() 809 v->mesa_visual.blueMask = visinfo->blue_mask; in XMesaCreateVisual() 810 v->visualID = visinfo->visualid; in XMesaCreateVisual() [all …]
|
D | glxapi.h | 65 …GLXContext (*CreateContext)(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct); 66 GLXPixmap (*CreateGLXPixmap)(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap); 69 int (*GetConfig)(Display *dpy, XVisualInfo *visinfo, int attrib, int *value); 177 …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 | xm_buffer.c | 82 b->xm_visual->visinfo->visual, in alloc_back_shm_ximage() 83 b->xm_visual->visinfo->depth, in alloc_back_shm_ximage() 198 b->xm_visual->visinfo->visual, in alloc_back_buffer() 478 xrb->Parent->xm_visual->visinfo->visual, in xmesa_MapRenderbuffer() 479 xrb->Parent->xm_visual->visinfo->depth, in xmesa_MapRenderbuffer()
|
D | glxapi.c | 173 glXCreateContext(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct) in glXCreateContext() argument 179 return t->CreateContext(dpy, visinfo, shareList, direct); in glXCreateContext() 184 glXCreateGLXPixmap(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap) in glXCreateGLXPixmap() argument 190 return t->CreateGLXPixmap(dpy, visinfo, pixmap); in glXCreateGLXPixmap() 217 glXGetConfig(Display *dpy, XVisualInfo *visinfo, int attrib, int *value) in glXGetConfig() argument 223 return t->GetConfig(dpy, visinfo, attrib, value); in glXGetConfig() 954 glXCreateGLXPixmapMESA(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap) in glXCreateGLXPixmapMESA() argument 960 return t->CreateGLXPixmapMESA(dpy, visinfo, pixmap, cmap); in glXCreateGLXPixmapMESA()
|
D | xmesa.h | 120 XMesaVisualInfo visinfo,
|
D | xmesaP.h | 80 XMesaVisualInfo visinfo; /* X's visual info (pointer to private copy) */ member
|
/third_party/mesa3d/src/glx/apple/ |
D | glx_empty.c | 225 glXGetFBConfigFromVisualSGIX(Display * dpy, XVisualInfo * visinfo) 228 (void) visinfo;
|
/third_party/mesa3d/src/glx/ |
D | glx_pbuffer.c | 923 XVisualInfo *visinfo; in glXCreateWindow() local 929 visinfo = glXGetVisualFromFBConfig(dpy, config); in glXCreateWindow() 931 if (NULL == visinfo) { in glXCreateWindow() 936 if (visinfo->visualid != XVisualIDFromVisual(xwattr.visual)) { in glXCreateWindow() 941 free(visinfo); in glXCreateWindow()
|
D | drisw_glx.c | 630 XVisualInfo *visinfo, template; in driswCreateDrawable() local 634 visinfo = XGetVisualInfo(dpy, VisualIDMask | VisualScreenMask, in driswCreateDrawable() 637 if (visinfo && matches) { in driswCreateDrawable() 638 pdp->xDepth = visinfo->depth; in driswCreateDrawable() 639 XFree(visinfo); in driswCreateDrawable()
|
D | g_glxglvnddispatchfuncs.c | 624 XVisualInfo *visinfo, in dispatch_CreateGLXPixmapMESA() argument 631 dd = GetDispatchFromVisual(dpy, visinfo); in dispatch_CreateGLXPixmapMESA() 639 ret = pCreateGLXPixmapMESA(dpy, visinfo, pixmap, cmap); in dispatch_CreateGLXPixmapMESA()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | GLX_EXT_texture_from_pixmap.txt | 606 visinfo = glXGetVisualFromFBConfig (display, fbconfigs[i]); 607 if (!visinfo || visinfo->visualid != visualid)
|
/third_party/openGLES/extensions/EXT/ |
D | GLX_EXT_texture_from_pixmap.txt | 606 visinfo = glXGetVisualFromFBConfig (display, fbconfigs[i]); 607 if (!visinfo || visinfo->visualid != visualid)
|