/external/mesa3d/src/glx/ |
D | dri_glx.c | 339 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 …]
|
D | drisw_glx.c | 636 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()
|
D | dri2_glx.c | 1028 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()
|
D | glxext.c | 659 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/ |
D | dri_glx.c | 339 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 …]
|
D | drisw_glx.c | 636 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()
|
D | dri2_glx.c | 1028 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()
|
D | glxext.c | 659 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/ |
D | x11_screen.c | 59 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()
|
D | native_ximage.c | 383 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/ |
D | x11_screen.c | 59 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()
|
D | native_ximage.c | 383 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/ |
D | platform_android.c | 486 } 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()
|
D | platform_x11.c | 615 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/ |
D | platform_android.c | 486 } 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()
|
D | platform_x11.c | 615 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/ |
D | SDL_x11modes.c | 346 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()
|
D | SDL_x11video.c | 671 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/ |
D | SkXPSDevice.h | 278 IXpsOMVisualCollection* visuals, 284 IXpsOMVisualCollection* visuals); 289 IXpsOMVisualCollection* visuals);
|
/external/skia/include/device/xps/ |
D | SkXPSDevice.h | 264 IXpsOMVisualCollection* visuals, 270 IXpsOMVisualCollection* visuals); 275 IXpsOMVisualCollection* visuals);
|
/external/mesa3d/src/egl/drivers/glx/ |
D | egl_glx.c | 126 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/ |
D | egl_glx.c | 126 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/ |
D | fake_glx_screen.h | 37 this->visuals = 0; in fake_glx_screen()
|
/external/mesa3d/src/glx/tests/ |
D | fake_glx_screen.h | 37 this->visuals = 0; in fake_glx_screen()
|
/external/chromium_org/third_party/skia/src/device/xps/ |
D | SkXPSDevice.cpp | 540 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()
|