• Home
  • Raw
  • Download

Lines Matching refs:ext_list

608                                const struct loader_extension_list *ext_list) {  argument
609 for (uint32_t i = 0; i < ext_list->count; i++) {
610 if (compare_vk_extension_properties(&ext_list->list[i], vk_ext_prop))
621 const struct loader_device_extension_list *ext_list) { argument
622 for (uint32_t i = 0; i < ext_list->count; i++) {
623 if (compare_vk_extension_properties(&ext_list->list[i].props, ext_prop))
719 const char *lib_name, struct loader_extension_list *ext_list) { argument
763 res = loader_add_to_ext_list(inst, ext_list, 1, &ext_props[i]);
784 struct loader_extension_list *ext_list) { argument
788 res = loader_init_generic_list(inst, (struct loader_generic_list *)ext_list,
805 res = loader_add_to_ext_list(inst, ext_list, 1, &ext_props[i]);
818 struct loader_extension_list *ext_list) { argument
845 res = loader_add_to_ext_list(inst, ext_list, 1, &ext_props[i]);
890 struct loader_extension_list *ext_list, argument
896 if (ext_list->list == NULL || ext_list->capacity == 0) {
897 VkResult res = loader_init_generic_list(inst, (struct loader_generic_list *)ext_list,
908 if (has_vk_extension_property(cur_ext, ext_list)) {
914 if (ext_list->count * sizeof(VkExtensionProperties) >=
915 ext_list->capacity) {
917 ext_list->list = loader_instance_heap_realloc(
918 inst, ext_list->list, ext_list->capacity,
919 ext_list->capacity * 2, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE);
921 if (ext_list->list == NULL)
925 ext_list->capacity *= 2;
928 memcpy(&ext_list->list[ext_list->count], cur_ext,
930 ext_list->count++;
943 struct loader_device_extension_list *ext_list, argument
947 if (ext_list->list == NULL || ext_list->capacity == 0) {
949 inst, (struct loader_generic_list *)ext_list,
957 if (has_vk_dev_ext_property(props, ext_list)) {
961 idx = ext_list->count;
964 if (idx * sizeof(struct loader_dev_ext_props) >= ext_list->capacity) {
966 ext_list->list = loader_instance_heap_realloc(
967 inst, ext_list->list, ext_list->capacity, ext_list->capacity * 2,
970 if (ext_list->list == NULL)
974 ext_list->capacity *= 2;
977 memcpy(&ext_list->list[idx].props, props,
979 ext_list->list[idx].entrypoint_count = entry_count;
980 ext_list->list[idx].entrypoints =
983 if (ext_list->list[idx].entrypoints == NULL) {
984 ext_list->list[idx].entrypoint_count = 0;
988 ext_list->list[idx].entrypoints[i] = loader_instance_heap_alloc(
990 if (ext_list->list[idx].entrypoints[i] == NULL) {
993 ext_list->list[idx].entrypoints[j]);
995 loader_instance_heap_free(inst, ext_list->list[idx].entrypoints);
996 ext_list->list[idx].entrypoint_count = 0;
997 ext_list->list[idx].entrypoints = NULL;
1000 strcpy(ext_list->list[idx].entrypoints[i], entrys[i]);
1002 ext_list->count++;
4287 ptr_instance, (struct loader_generic_list *)&ptr_instance->ext_list);