Home
last modified time | relevance | path

Searched refs:visuals (Results 1 – 25 of 43) sorted by relevance

12

/external/mesa3d/src/glx/
Ddri_glx.c339 struct glx_config *visual, *configs = NULL, *visuals = NULL; in CallCreateNewScreen() local
450 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in CallCreateNewScreen()
452 if (!configs || !visuals) in CallCreateNewScreen()
457 glx_config_destroy_list(psc->base.visuals); in CallCreateNewScreen()
458 psc->base.visuals = visuals; in CallCreateNewScreen()
466 for (visual = psc->base.visuals; visual; visual = visual->next) { in CallCreateNewScreen()
468 XVisualInfo *visuals; in CallCreateNewScreen() local
474 visuals = XGetVisualInfo(dpy, mask, &template, &num_visuals); in CallCreateNewScreen()
476 if (visuals) { in CallCreateNewScreen()
477 if (num_visuals > 0 && visuals->depth != DefaultDepth(dpy, scrn)) in CallCreateNewScreen()
[all …]
Ddrisw_glx.c636 struct glx_config *configs = NULL, *visuals = NULL; in driswCreateScreen() local
683 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in driswCreateScreen()
685 if (!configs || !visuals) in driswCreateScreen()
690 glx_config_destroy_list(psc->base.visuals); in driswCreateScreen()
691 psc->base.visuals = visuals; in driswCreateScreen()
707 if (visuals) in driswCreateScreen()
708 glx_config_destroy_list(visuals); in driswCreateScreen()
Ddri2_glx.c1028 struct glx_config *configs = NULL, *visuals = NULL; in dri2CreateScreen() local
1120 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in dri2CreateScreen()
1122 if (!configs || !visuals) in dri2CreateScreen()
1127 glx_config_destroy_list(psc->base.visuals); in dri2CreateScreen()
1128 psc->base.visuals = visuals; in dri2CreateScreen()
1179 if (visuals) in dri2CreateScreen()
1180 glx_config_destroy_list(visuals); in dri2CreateScreen()
Dglxext.c659 psc->visuals = NULL; in getVisualConfigs()
668 psc->visuals = createConfigsFromProperties(dpy, in getVisualConfigs()
675 return psc->visuals != NULL; in getVisualConfigs()
750 if (psc->visuals) { in glx_screen_cleanup()
751 glx_config_destroy_list(psc->visuals); in glx_screen_cleanup()
752 psc->visuals = NULL; /* NOTE: just for paranoia */ in glx_screen_cleanup()
/external/chromium_org/third_party/mesa/src/src/glx/
Ddri_glx.c339 struct glx_config *visual, *configs = NULL, *visuals = NULL; in CallCreateNewScreen() local
450 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in CallCreateNewScreen()
452 if (!configs || !visuals) in CallCreateNewScreen()
457 glx_config_destroy_list(psc->base.visuals); in CallCreateNewScreen()
458 psc->base.visuals = visuals; in CallCreateNewScreen()
466 for (visual = psc->base.visuals; visual; visual = visual->next) { in CallCreateNewScreen()
468 XVisualInfo *visuals; in CallCreateNewScreen() local
474 visuals = XGetVisualInfo(dpy, mask, &template, &num_visuals); in CallCreateNewScreen()
476 if (visuals) { in CallCreateNewScreen()
477 if (num_visuals > 0 && visuals->depth != DefaultDepth(dpy, scrn)) in CallCreateNewScreen()
[all …]
Ddrisw_glx.c636 struct glx_config *configs = NULL, *visuals = NULL; in driswCreateScreen() local
683 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in driswCreateScreen()
685 if (!configs || !visuals) in driswCreateScreen()
690 glx_config_destroy_list(psc->base.visuals); in driswCreateScreen()
691 psc->base.visuals = visuals; in driswCreateScreen()
707 if (visuals) in driswCreateScreen()
708 glx_config_destroy_list(visuals); in driswCreateScreen()
Ddri2_glx.c1028 struct glx_config *configs = NULL, *visuals = NULL; in dri2CreateScreen() local
1120 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in dri2CreateScreen()
1122 if (!configs || !visuals) in dri2CreateScreen()
1127 glx_config_destroy_list(psc->base.visuals); in dri2CreateScreen()
1128 psc->base.visuals = visuals; in dri2CreateScreen()
1179 if (visuals) in dri2CreateScreen()
1180 glx_config_destroy_list(visuals); in dri2CreateScreen()
Dglxext.c659 psc->visuals = NULL; in getVisualConfigs()
668 psc->visuals = createConfigsFromProperties(dpy, in getVisualConfigs()
675 return psc->visuals != NULL; in getVisualConfigs()
750 if (psc->visuals) { in glx_screen_cleanup()
751 glx_config_destroy_list(psc->visuals); in glx_screen_cleanup()
752 psc->visuals = NULL; /* NOTE: just for paranoia */ in glx_screen_cleanup()
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dx11_screen.c59 XVisualInfo *visuals; member
109 if (xscr->visuals) in x11_screen_destroy()
110 XFree(xscr->visuals); in x11_screen_destroy()
172 if (!xscr->visuals) { in x11_screen_get_visuals()
175 xscr->visuals = XGetVisualInfo(xscr->dpy, VisualScreenMask, in x11_screen_get_visuals()
181 return xscr->visuals; in x11_screen_get_visuals()
Dnative_ximage.c383 const XVisualInfo *visuals; in ximage_display_get_configs() local
386 visuals = x11_screen_get_visuals(xdpy->xscr, &num_visuals); in ximage_display_get_configs()
387 if (!visuals) in ximage_display_get_configs()
402 xconf->visual = &visuals[i]; in ximage_display_get_configs()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
Dx11_screen.c59 XVisualInfo *visuals; member
109 if (xscr->visuals) in x11_screen_destroy()
110 XFree(xscr->visuals); in x11_screen_destroy()
172 if (!xscr->visuals) { in x11_screen_get_visuals()
175 xscr->visuals = XGetVisualInfo(xscr->dpy, VisualScreenMask, in x11_screen_get_visuals()
181 return xscr->visuals; in x11_screen_get_visuals()
Dnative_ximage.c383 const XVisualInfo *visuals; in ximage_display_get_configs() local
386 visuals = x11_screen_get_visuals(xdpy->xscr, &num_visuals); in ximage_display_get_configs()
387 if (!visuals) in ximage_display_get_configs()
402 xconf->visual = &visuals[i]; in ximage_display_get_configs()
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/
Dplatform_android.c486 } visuals[] = { in droid_add_configs_for_visuals() local
497 for (i = 0; visuals[i].format; i++) { in droid_add_configs_for_visuals()
513 count + 1, visuals[i].size, surface_type, NULL, in droid_add_configs_for_visuals()
514 visuals[i].rgba_masks); in droid_add_configs_for_visuals()
516 dri2_conf->base.NativeVisualID = visuals[i].format; in droid_add_configs_for_visuals()
517 dri2_conf->base.NativeVisualType = visuals[i].format; in droid_add_configs_for_visuals()
525 visuals[i].format); in droid_add_configs_for_visuals()
Dplatform_x11.c615 xcb_visualtype_t *visuals; in dri2_add_configs_for_visuals() local
637 visuals = xcb_depth_visuals(d.data); in dri2_add_configs_for_visuals()
639 if (class_added[visuals[i]._class]) in dri2_add_configs_for_visuals()
642 class_added[visuals[i]._class] = EGL_TRUE; in dri2_add_configs_for_visuals()
644 config_attrs[1] = visuals[i].visual_id; in dri2_add_configs_for_visuals()
645 config_attrs[3] = visuals[i]._class; in dri2_add_configs_for_visuals()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c486 } visuals[] = { in droid_add_configs_for_visuals() local
497 for (i = 0; visuals[i].format; i++) { in droid_add_configs_for_visuals()
513 count + 1, visuals[i].size, surface_type, NULL, in droid_add_configs_for_visuals()
514 visuals[i].rgba_masks); in droid_add_configs_for_visuals()
516 dri2_conf->base.NativeVisualID = visuals[i].format; in droid_add_configs_for_visuals()
517 dri2_conf->base.NativeVisualType = visuals[i].format; in droid_add_configs_for_visuals()
525 visuals[i].format); in droid_add_configs_for_visuals()
Dplatform_x11.c615 xcb_visualtype_t *visuals; in dri2_add_configs_for_visuals() local
637 visuals = xcb_depth_visuals(d.data); in dri2_add_configs_for_visuals()
639 if (class_added[visuals[i]._class]) in dri2_add_configs_for_visuals()
642 class_added[visuals[i]._class] = EGL_TRUE; in dri2_add_configs_for_visuals()
644 config_attrs[1] = visuals[i].visual_id; in dri2_add_configs_for_visuals()
645 config_attrs[3] = visuals[i]._class; in dri2_add_configs_for_visuals()
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11modes.c346 if (this->hidden->visuals[i].visual == DefaultVisual(SDL_Display, SDL_Screen)) return n; in add_default_visual()
348 this->hidden->visuals[n].depth = DefaultDepth(SDL_Display, SDL_Screen);; in add_default_visual()
349 this->hidden->visuals[n].visual = DefaultVisual(SDL_Display, SDL_Screen);; in add_default_visual()
358 this->hidden->visuals[n].depth = vi.depth; in add_visual()
359 this->hidden->visuals[n].visual = vi.visual; in add_visual()
375 this->hidden->visuals[n].depth = vi->depth; in add_visual_byid()
376 this->hidden->visuals[n].visual = vi->visual; in add_visual_byid()
832 int d = this->hidden->visuals[i].depth; in X11_GetVideoModes()
836 this->hidden->visuals[i].bpp = j < np ? pf[j].bits_per_pixel : d; in X11_GetVideoModes()
892 if(this->hidden->visuals[i].bpp == format->BitsPerPixel) in X11_SupportedVisual()
DSDL_x11video.c671 if(this->hidden->visuals[i].depth == DefaultDepth(SDL_Display, in X11_VideoInit()
678 SDL_Visual = this->hidden->visuals[i].visual; in X11_VideoInit()
685 this->hidden->depth = this->hidden->visuals[i].depth; in X11_VideoInit()
686 vformat->BitsPerPixel = this->hidden->visuals[i].bpp; in X11_VideoInit()
954 if ( this->hidden->visuals[i].bpp == bpp ) in X11_CreateWindow()
961 vis = this->hidden->visuals[i].visual; in X11_CreateWindow()
962 depth = this->hidden->visuals[i].depth; in X11_CreateWindow()
/external/chromium_org/third_party/skia/include/device/xps/
DSkXPSDevice.h278 IXpsOMVisualCollection* visuals,
284 IXpsOMVisualCollection* visuals);
289 IXpsOMVisualCollection* visuals);
/external/skia/include/device/xps/
DSkXPSDevice.h264 IXpsOMVisualCollection* visuals,
270 IXpsOMVisualCollection* visuals);
275 IXpsOMVisualCollection* visuals);
/external/mesa3d/src/egl/drivers/glx/
Degl_glx.c126 XVisualInfo *visuals; member
483 GLX_dpy->visuals = XGetVisualInfo(GLX_dpy->dpy, mask, &vinfo_template, in create_configs()
502 &GLX_dpy->visuals[i], &template); in create_configs()
658 if (GLX_dpy->visuals) in GLX_eglTerminate()
659 XFree(GLX_dpy->visuals); in GLX_eglTerminate()
704 &GLX_dpy->visuals[GLX_egl_config_index(conf)], in GLX_eglCreateContext()
917 &GLX_dpy->visuals[GLX_egl_config_index(conf)], in GLX_eglCreatePixmapSurface()
/external/chromium_org/third_party/mesa/src/src/egl/drivers/glx/
Degl_glx.c126 XVisualInfo *visuals; member
483 GLX_dpy->visuals = XGetVisualInfo(GLX_dpy->dpy, mask, &vinfo_template, in create_configs()
502 &GLX_dpy->visuals[i], &template); in create_configs()
658 if (GLX_dpy->visuals) in GLX_eglTerminate()
659 XFree(GLX_dpy->visuals); in GLX_eglTerminate()
704 &GLX_dpy->visuals[GLX_egl_config_index(conf)], in GLX_eglCreateContext()
917 &GLX_dpy->visuals[GLX_egl_config_index(conf)], in GLX_eglCreatePixmapSurface()
/external/chromium_org/third_party/mesa/src/src/glx/tests/
Dfake_glx_screen.h37 this->visuals = 0; in fake_glx_screen()
/external/mesa3d/src/glx/tests/
Dfake_glx_screen.h37 this->visuals = 0; in fake_glx_screen()
/external/chromium_org/third_party/skia/src/device/xps/
DSkXPSDevice.cpp540 IXpsOMVisualCollection* visuals, in createPath() argument
553 HRM(visuals->Append(*path), "Could not add path to visuals."); in createPath()
572 IXpsOMVisualCollection* visuals) { in sideOfClamp() argument
577 HR(this->createPath(areaToFillFigure.get(), visuals, &areaToFillPath)); in sideOfClamp()
595 IXpsOMVisualCollection* visuals) { in cornerOfClamp() argument
600 HR(this->createPath(areaToFillFigure.get(), visuals, &areaToFillPath)); in cornerOfClamp()
2011 SkTScopedComPtr<IXpsOMVisualCollection> visuals; in AddGlyphs() local
2012 HRM(canvas->GetVisuals(&visuals), "Could not get glyph canvas visuals."); in AddGlyphs()
2016 HRM(visuals->Append(glyphs.get()), "Could not add glyphs to canvas."); in AddGlyphs()
2030 HRM(visuals->Append(glyphCanvas.get()), in AddGlyphs()

12