Home
last modified time | relevance | path

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

12

/external/mesa3d/src/glx/
Ddri_glx.c350 struct glx_config *visual, *configs = NULL, *visuals = NULL; in CallCreateNewScreen() local
461 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in CallCreateNewScreen()
463 if (!configs || !visuals) { in CallCreateNewScreen()
470 glx_config_destroy_list(psc->base.visuals); in CallCreateNewScreen()
471 psc->base.visuals = visuals; in CallCreateNewScreen()
479 for (visual = psc->base.visuals; visual; visual = visual->next) { in CallCreateNewScreen()
481 XVisualInfo *visuals; in CallCreateNewScreen() local
487 visuals = XGetVisualInfo(dpy, mask, &template, &num_visuals); in CallCreateNewScreen()
489 if (visuals) { in CallCreateNewScreen()
490 if (num_visuals > 0 && visuals->depth != DefaultDepth(dpy, scrn)) in CallCreateNewScreen()
[all …]
Ddriwindows_glx.c507 struct glx_config *configs = NULL, *visuals = NULL; in driwindowsCreateScreen() local
532 visuals = driwindowsMapConfigs(priv, screen, psc->base.visuals, configs); in driwindowsCreateScreen()
534 if (!configs || !visuals) { in driwindowsCreateScreen()
541 glx_config_destroy_list(psc->base.visuals); in driwindowsCreateScreen()
542 psc->base.visuals = visuals; in driwindowsCreateScreen()
Ddrisw_glx.c661 struct glx_config *configs = NULL, *visuals = NULL; in driswCreateScreen() local
714 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in driswCreateScreen()
716 if (!configs || !visuals) { in driswCreateScreen()
723 glx_config_destroy_list(psc->base.visuals); in driswCreateScreen()
724 psc->base.visuals = visuals; in driswCreateScreen()
743 if (visuals) in driswCreateScreen()
744 glx_config_destroy_list(visuals); in driswCreateScreen()
Ddri3_glx.c767 struct glx_config *configs = NULL, *visuals = NULL; in dri3_create_screen() local
882 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in dri3_create_screen()
884 if (!configs || !visuals) { in dri3_create_screen()
891 glx_config_destroy_list(psc->base.visuals); in dri3_create_screen()
892 psc->base.visuals = visuals; in dri3_create_screen()
933 if (visuals) in dri3_create_screen()
934 glx_config_destroy_list(visuals); in dri3_create_screen()
Dglxext.c671 psc->visuals = NULL; in getVisualConfigs()
680 psc->visuals = createConfigsFromProperties(dpy, in getVisualConfigs()
687 return psc->visuals != NULL; in getVisualConfigs()
768 if (psc->visuals) { in glx_screen_cleanup()
769 glx_config_destroy_list(psc->visuals); in glx_screen_cleanup()
770 psc->visuals = NULL; /* NOTE: just for paranoia */ in glx_screen_cleanup()
Ddri2_glx.c1166 struct glx_config *configs = NULL, *visuals = NULL; in dri2CreateScreen() local
1260 visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); in dri2CreateScreen()
1262 if (!configs || !visuals) { in dri2CreateScreen()
1269 glx_config_destroy_list(psc->base.visuals); in dri2CreateScreen()
1270 psc->base.visuals = visuals; in dri2CreateScreen()
1318 if (visuals) in dri2CreateScreen()
1319 glx_config_destroy_list(visuals); in dri2CreateScreen()
Dglxcmds.c185 if ((*ppsc)->configs == NULL && (*ppsc)->visuals == NULL) { in GetGLXPrivScreenConfig()
388 config = glx_config_find_visual(psc->visuals, vis->visualid); in glXCreateContext()
686 config = glx_config_find_visual(psc->visuals, vis->visualid); in glXCreateGLXPixmap()
744 config = glx_config_find_visual(psc->visuals, vis->visualid); in glXCreateGLXPixmap()
889 config = glx_config_find_visual(psc->visuals, vis->visualid); in glXGetConfig()
1268 for (config = psc->visuals; config != NULL; config = config->next) { in glXChooseVisual()
1517 mode = glx_config_find_visual(psc->visuals, visualID); in glXImportContextEXT()
Dglxclient.h536 struct glx_config *visuals, *configs; member
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_surfaceless.c198 } visuals[] = { in surfaceless_add_configs_for_visuals() local
203 unsigned int format_count[ARRAY_SIZE(visuals)] = { 0 }; in surfaceless_add_configs_for_visuals()
208 for (j = 0; j < ARRAY_SIZE(visuals); j++) { in surfaceless_add_configs_for_visuals()
212 count + 1, EGL_PBUFFER_BIT, NULL, visuals[j].rgba_masks); in surfaceless_add_configs_for_visuals()
224 visuals[i].format_name); in surfaceless_add_configs_for_visuals()
Dplatform_drm.c588 } visuals[] = { in drm_add_configs_for_visuals() local
599 unsigned int format_count[ARRAY_SIZE(visuals)] = { 0 }; in drm_add_configs_for_visuals()
611 for (j = 0; j < ARRAY_SIZE(visuals); j++) { in drm_add_configs_for_visuals()
614 if (visuals[j].red_mask != red || visuals[j].alpha_mask != alpha) in drm_add_configs_for_visuals()
617 attr_list[1] = visuals[j].format; in drm_add_configs_for_visuals()
631 visuals[i].format); in drm_add_configs_for_visuals()
Dplatform_android.c924 } visuals[] = { in droid_add_configs_for_visuals() local
937 unsigned int format_count[ARRAY_SIZE(visuals)] = { 0 }; in droid_add_configs_for_visuals()
945 for (j = 0; j < ARRAY_SIZE(visuals); j++) { in droid_add_configs_for_visuals()
946 config_attrs[1] = visuals[j].format; in droid_add_configs_for_visuals()
947 config_attrs[3] = visuals[j].format; in droid_add_configs_for_visuals()
950 count + 1, surface_type, config_attrs, visuals[j].rgba_masks); in droid_add_configs_for_visuals()
961 visuals[i].format); in droid_add_configs_for_visuals()
Dplatform_x11.c731 xcb_visualtype_t *visuals; in dri2_x11_add_configs_for_visuals() local
755 visuals = xcb_depth_visuals(d.data); in dri2_x11_add_configs_for_visuals()
757 if (class_added[visuals[i]._class]) in dri2_x11_add_configs_for_visuals()
760 class_added[visuals[i]._class] = EGL_TRUE; in dri2_x11_add_configs_for_visuals()
765 config_attrs[1] = visuals[i].visual_id; in dri2_x11_add_configs_for_visuals()
766 config_attrs[3] = visuals[i]._class; in dri2_x11_add_configs_for_visuals()
768 rgba_masks[0] = visuals[i].red_mask; in dri2_x11_add_configs_for_visuals()
769 rgba_masks[1] = visuals[i].green_mask; in dri2_x11_add_configs_for_visuals()
770 rgba_masks[2] = visuals[i].blue_mask; in dri2_x11_add_configs_for_visuals()
Dplatform_wayland.c1089 } visuals[] = { in dri2_wl_add_configs_for_visuals() local
1094 unsigned int format_count[ARRAY_SIZE(visuals)] = { 0 }; in dri2_wl_add_configs_for_visuals()
1099 for (j = 0; j < ARRAY_SIZE(visuals); j++) { in dri2_wl_add_configs_for_visuals()
1102 if (!(dri2_dpy->formats & visuals[j].has_format)) in dri2_wl_add_configs_for_visuals()
1106 count + 1, EGL_WINDOW_BIT, NULL, visuals[j].rgba_masks); in dri2_wl_add_configs_for_visuals()
1117 visuals[i].format_name); in dri2_wl_add_configs_for_visuals()
/external/skia/src/xps/
DSkXPSDevice.h236 IXpsOMVisualCollection* visuals,
242 IXpsOMVisualCollection* visuals);
247 IXpsOMVisualCollection* visuals);
DSkXPSDevice.cpp536 IXpsOMVisualCollection* visuals, in createPath() argument
549 HRM(visuals->Append(*path), "Could not add path to visuals."); in createPath()
568 IXpsOMVisualCollection* visuals) { in sideOfClamp() argument
573 HR(this->createPath(areaToFillFigure.get(), visuals, &areaToFillPath)); in sideOfClamp()
591 IXpsOMVisualCollection* visuals) { in cornerOfClamp() argument
596 HR(this->createPath(areaToFillFigure.get(), visuals, &areaToFillPath)); in cornerOfClamp()
1996 SkTScopedComPtr<IXpsOMVisualCollection> visuals; in AddGlyphs() local
1997 HRM(canvas->GetVisuals(&visuals), "Could not get glyph canvas visuals."); in AddGlyphs()
2001 HRM(visuals->Append(glyphs.get()), "Could not add glyphs to canvas."); in AddGlyphs()
2015 HRM(visuals->Append(glyphCanvas.get()), in AddGlyphs()
/external/mesa3d/src/glx/tests/
Dfake_glx_screen.h35 this->visuals = 0; in fake_glx_screen()
/external/mesa3d/docs/specs/
DMESA_pixmap_colormap.spec33 StaticColor, GrayScale and StaticGray visuals, Mesa needs a colormap
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/
Dca.po323 msgid "Create all visuals with a depth buffer"
324 msgstr "Crea tots els visuals amb buffer de profunditat"
Dnl.po295 msgid "Create all visuals with a depth buffer"
Dsv.po287 msgid "Create all visuals with a depth buffer"
Dde.po298 msgid "Create all visuals with a depth buffer"
Dfr.po294 msgid "Create all visuals with a depth buffer"
/external/mesa3d/src/mesa/drivers/x11/
Dfakeglx.c1906 XVisualInfo *visuals, visTemplate; in Fake_glXGetFBConfigs() local
1912 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements); in Fake_glXGetFBConfigs()
1921 results[i] = create_glx_visual(dpy, visuals + i); in Fake_glXGetFBConfigs()
1923 free(visuals); in Fake_glXGetFBConfigs()
/external/mesa3d/docs/
DVERSIONS43 added environment variables for selecting visuals
142 - 4-bit visuals now supported
161 - dithering in 8-bit TrueColor/DirectColor visuals
367 - TrueColor visuals how have dithering (for depths < 24 bits)
464 - fixed GLX visual handling code to avoid saving redundant visuals
499 - 32bpp True/DirectColor X visuals weren't recognized
609 - color components were reversed on big endian 32 bpp X visuals
728 - further optimized glRead/DrawPixels for 16-bit TrueColor X visuals
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_api.c1833 XVisualInfo *visuals, visTemplate; in glXGetFBConfigs() local
1839 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements); in glXGetFBConfigs()
1847 results[i] = create_glx_visual(dpy, visuals + i); in glXGetFBConfigs()

12