Home
last modified time | relevance | path

Searched refs:dri3_fd (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_x11.c90 int dri3_fd = ds_dri3_open(conn, screen->root, 0); in device_select_find_xcb_pci_default() local
91 if (dri3_fd == -1) in device_select_find_xcb_pci_default()
95 int ret = drmGetDevice2(dri3_fd, 0, &xdev); in device_select_find_xcb_pci_default()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c111 int dri3_fd = wsi_dri3_open(conn, screen->root, None); in wsi_x11_check_dri3_compatible() local
112 if (dri3_fd == -1) in wsi_x11_check_dri3_compatible()
115 bool match = wsi_device_matches_drm_fd(wsi_dev, dri3_fd); in wsi_x11_check_dri3_compatible()
117 close(dri3_fd); in wsi_x11_check_dri3_compatible()