Home
last modified time | relevance | path

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

/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c290 const char *dri_prime) in device_select_find_dri_prime_tag_default() argument
300 if (strcmp(dri_prime, tag)) in device_select_find_dri_prime_tag_default()
424 const char *dri_prime = getenv("DRI_PRIME"); in get_default_device() local
427 if (dri_prime && !strcmp(dri_prime, "1")) in get_default_device()
430 if (dri_prime && !dri_prime_is_one && !info->has_vulkan11 && !info->has_pci_bus) { in get_default_device()
444 …if (default_idx == -1 && info->has_vulkan11 && info->has_pci_bus && dri_prime && !dri_prime_is_one) in get_default_device()
445 …efault_idx = device_select_find_dri_prime_tag_default(pci_infos, physical_device_count, dri_prime); in get_default_device()
/third_party/mesa3d/src/loader/
Dloader.c357 const char *dri_prime = getenv("DRI_PRIME"); in loader_get_user_preferred_fd() local
363 if (dri_prime) in loader_get_user_preferred_fd()
364 prime = strdup(dri_prime); in loader_get_user_preferred_fd()
368 if (dri_prime) in loader_get_user_preferred_fd()
369 prime = strdup(dri_prime); in loader_get_user_preferred_fd()