Home
last modified time | relevance | path

Searched refs:visinfo (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/targets/graw-xlib/
Dgraw_xlib.c57 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 …]
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c297 XVisualInfo * visinfo = xmv->visinfo; in bits_per_pixel() local
301 img = XCreateImage( dpy, visinfo->visual, visinfo->depth, in bits_per_pixel()
534 b->ws.visual = vis->visinfo->visual; in create_xmesa_buffer()
535 b->ws.depth = vis->visinfo->depth; in create_xmesa_buffer()
683 printf("X/Mesa depth = %d\n", v->visinfo->depth); in initialize_visual_and_buffer()
750 XVisualInfo * visinfo, in XMesaCreateVisual() argument
793 v->visinfo = malloc(sizeof(*visinfo)); in XMesaCreateVisual()
794 if (!v->visinfo) { in XMesaCreateVisual()
798 memcpy(v->visinfo, visinfo, sizeof(*visinfo)); in XMesaCreateVisual()
802 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual()
[all …]
Dglx_api.c245 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual()
326 create_glx_visual( Display *dpy, XVisualInfo *visinfo ) in create_glx_visual() argument
332 if (is_usable_visual( visinfo )) { in create_glx_visual()
336 return save_glx_visual( dpy, visinfo, in create_glx_visual()
371 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual()
1102 memcpy(xmvis->vishandle, xmvis->visinfo, sizeof(XVisualInfo)); in glXChooseVisual()
1150 glXCreateContext( Display *dpy, XVisualInfo *visinfo, in glXCreateContext() argument
1155 xmvis = find_glx_visual( dpy, visinfo ); in glXCreateContext()
1158 xmvis = create_glx_visual( dpy, visinfo ); in glXCreateContext()
1331 glXCreateGLXPixmap( Display *dpy, XVisualInfo *visinfo, Pixmap pixmap ) in glXCreateGLXPixmap() argument
[all …]
Dxm_api.h113 XVisualInfo * visinfo,
291 XVisualInfo * visinfo; /* X's visual info (pointer to private copy) */ member
/external/mesa3d/src/mesa/drivers/x11/
Dfakeglx.c303 if (v->visinfo->visualid == vinfo->visualid) { in save_glx_visual()
379 create_glx_visual( Display *dpy, XVisualInfo *visinfo ) in create_glx_visual() argument
386 vislevel = level_of_visual( dpy, visinfo ); in create_glx_visual()
391 else if (is_usable_visual( visinfo )) { in create_glx_visual()
395 return save_glx_visual( dpy, visinfo, in create_glx_visual()
428 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual()
447 XVisualInfo *vinfo = glxvis->visinfo; in transparent_pixel()
1236 XVisualInfo* visinfo = malloc(sizeof(XVisualInfo)); in Fake_glXChooseVisual() local
1237 if (visinfo) { in Fake_glXChooseVisual()
1238 memcpy(visinfo, xmvis->visinfo, sizeof(XVisualInfo)); in Fake_glXChooseVisual()
[all …]
Dxm_api.c171 XMesaVisualInfo visinfo = xmv->visinfo; in bits_per_pixel() local
175 img = XCreateImage( dpy, visinfo->visual, visinfo->depth, in bits_per_pixel()
743 XMesaVisualInfo visinfo, in XMesaCreateVisual() argument
787 v->visinfo = malloc(sizeof(*visinfo)); in XMesaCreateVisual()
788 if(!v->visinfo) { in XMesaCreateVisual()
792 memcpy(v->visinfo, visinfo, sizeof(*visinfo)); in XMesaCreateVisual()
809 v->mesa_visual.redMask = visinfo->red_mask; in XMesaCreateVisual()
810 v->mesa_visual.greenMask = visinfo->green_mask; in XMesaCreateVisual()
811 v->mesa_visual.blueMask = visinfo->blue_mask; in XMesaCreateVisual()
812 v->visualID = visinfo->visualid; in XMesaCreateVisual()
[all …]
Dglxapi.h65 …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);
184 …GLXPixmap (*CreateGLXPixmapMESA)(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap);
Dxmesa_x.h77 #define GET_COLORMAP_SIZE(__v) __v->visinfo->colormap_size
81 #define GET_VISUAL_DEPTH(__v) __v->visinfo->depth
Dxm_buffer.c81 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()
Dglxapi.c177 glXCreateContext(Display *dpy, XVisualInfo *visinfo, GLXContext shareList, Bool direct) in glXCreateContext() argument
183 return t->CreateContext(dpy, visinfo, shareList, direct); in glXCreateContext()
188 glXCreateGLXPixmap(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap) in glXCreateGLXPixmap() argument
194 return t->CreateGLXPixmap(dpy, visinfo, pixmap); in glXCreateGLXPixmap()
221 glXGetConfig(Display *dpy, XVisualInfo *visinfo, int attrib, int *value) in glXGetConfig() argument
227 return t->GetConfig(dpy, visinfo, attrib, value); in glXGetConfig()
995 glXCreateGLXPixmapMESA(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap) in glXCreateGLXPixmapMESA() argument
1001 return t->CreateGLXPixmapMESA(dpy, visinfo, pixmap, cmap); in glXCreateGLXPixmapMESA()
Dxmesa.h120 XMesaVisualInfo visinfo,
DxmesaP.h80 XMesaVisualInfo visinfo; /* X's visual info (pointer to private copy) */ member
/external/mesa3d/src/glx/apple/
Dglx_empty.c259 glXGetFBConfigFromVisualSGIX(Display * dpy, XVisualInfo * visinfo)
262 (void) visinfo;
/external/mesa3d/src/glx/
Dglx_pbuffer.c945 XVisualInfo *visinfo; in glXCreateWindow() local
951 visinfo = glXGetVisualFromFBConfig(dpy, config); in glXCreateWindow()
953 if (NULL == visinfo) { in glXCreateWindow()
958 if (visinfo->visualid != XVisualIDFromVisual(xwattr.visual)) { in glXCreateWindow()
963 free(visinfo); in glXCreateWindow()
Ddrisw_glx.c54 pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals); in XCreateDrawable()
56 if (!pdp->visinfo || num_visuals == 0) in XCreateDrawable()
61 pdp->visinfo->visual, in XCreateDrawable()
62 pdp->visinfo->depth, in XCreateDrawable()
83 free(pdp->visinfo); in XDestroyDrawable()
Ddrisw_priv.h63 XVisualInfo *visinfo; member
Dg_glxglvnddispatchfuncs.c615 XVisualInfo *visinfo, in dispatch_CreateGLXPixmapMESA() argument
622 dd = GetDispatchFromVisual(dpy, visinfo); in dispatch_CreateGLXPixmapMESA()
630 ret = (*pCreateGLXPixmapMESA)(dpy, visinfo, pixmap, cmap); in dispatch_CreateGLXPixmapMESA()