Home
last modified time | relevance | path

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

/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_x11.c93 int dri3_fd = ds_dri3_open(conn, screen->root, 0); in device_select_find_xcb_pci_default() local
94 if (dri3_fd == -1) in device_select_find_xcb_pci_default()
97 int ret = drmGetDevice2(dri3_fd, 0, &xdev); in device_select_find_xcb_pci_default()
98 close(dri3_fd); in device_select_find_xcb_pci_default()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c132 int dri3_fd = wsi_dri3_open(conn, screen->root, None); in wsi_x11_check_dri3_compatible() local
133 if (dri3_fd == -1) in wsi_x11_check_dri3_compatible()
136 bool match = wsi_device_matches_drm_fd(wsi_dev, dri3_fd); in wsi_x11_check_dri3_compatible()
138 close(dri3_fd); in wsi_x11_check_dri3_compatible()