Lines Matching refs:layer_list

470                           const struct loader_layer_list *layer_list) {  in loader_get_layer_property()  argument
471 for (uint32_t i = 0; i < layer_list->count; i++) { in loader_get_layer_property()
472 const VkLayerProperties *item = &layer_list->list[i].info; in loader_get_layer_property()
474 return &layer_list->list[i]; in loader_get_layer_property()
484 struct loader_layer_list *layer_list) { in loader_get_next_layer_property() argument
485 if (layer_list->capacity == 0) { in loader_get_next_layer_property()
486 layer_list->list = in loader_get_next_layer_property()
489 if (layer_list->list == NULL) { in loader_get_next_layer_property()
494 memset(layer_list->list, 0, in loader_get_next_layer_property()
496 layer_list->capacity = sizeof(struct loader_layer_properties) * 64; in loader_get_next_layer_property()
500 if ((layer_list->count + 1) * sizeof(struct loader_layer_properties) > in loader_get_next_layer_property()
501 layer_list->capacity) { in loader_get_next_layer_property()
502 layer_list->list = loader_heap_realloc( in loader_get_next_layer_property()
503 inst, layer_list->list, layer_list->capacity, in loader_get_next_layer_property()
504 layer_list->capacity * 2, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); in loader_get_next_layer_property()
505 if (layer_list->list == NULL) { in loader_get_next_layer_property()
509 layer_list->capacity *= 2; in loader_get_next_layer_property()
512 layer_list->count++; in loader_get_next_layer_property()
513 return &(layer_list->list[layer_list->count - 1]); in loader_get_next_layer_property()
520 struct loader_layer_list *layer_list) { in loader_delete_layer_properties() argument
523 if (!layer_list) in loader_delete_layer_properties()
526 for (i = 0; i < layer_list->count; i++) { in loader_delete_layer_properties()
528 inst, (struct loader_generic_list *)&layer_list->list[i] in loader_delete_layer_properties()
530 dev_ext_list = &layer_list->list[i].device_extension_list; in loader_delete_layer_properties()
541 layer_list->count = 0; in loader_delete_layer_properties()
543 if (layer_list->capacity > 0) { in loader_delete_layer_properties()
544 layer_list->capacity = 0; in loader_delete_layer_properties()
545 loader_heap_free(inst, layer_list->list); in loader_delete_layer_properties()
854 struct loader_layer_list *layer_list) { in loader_destroy_layer_list() argument
855 loader_heap_free(inst, layer_list->list); in loader_destroy_layer_list()
856 layer_list->count = 0; in loader_destroy_layer_list()
857 layer_list->capacity = 0; in loader_destroy_layer_list()
1632 const struct loader_layer_list *layer_list) { in loader_find_layer_name_list() argument
1633 if (!layer_list) in loader_find_layer_name_list()
1635 for (uint32_t j = 0; j < layer_list->count; j++) in loader_find_layer_name_list()
1636 if (!strcmp(name, layer_list->list[j].info.layerName)) in loader_find_layer_name_list()
1642 const char **layer_list) { in loader_find_layer_name() argument
1643 if (!layer_list) in loader_find_layer_name()
1646 if (!strcmp(name, layer_list[j])) in loader_find_layer_name()
1653 const char layer_list[][VK_MAX_EXTENSION_NAME_SIZE]) { in loader_find_layer_name_array()
1654 if (!layer_list) in loader_find_layer_name_array()
1657 if (!strcmp(name, layer_list[j])) in loader_find_layer_name_array()
1788 struct loader_layer_list *layer_list; in loader_add_layer_property_meta() local
1798 layer_list = layer_instance_list; in loader_add_layer_property_meta()
1800 layer_list = layer_device_list; in loader_add_layer_property_meta()
1802 if (layer_list == NULL) in loader_add_layer_property_meta()
1805 if (loader_find_layer_name_list(layer_names[i], layer_list)) in loader_add_layer_property_meta()
1813 props = loader_get_next_layer_property(inst, layer_list); in loader_add_layer_property_meta()
3084 struct loader_layer_list *layer_list, argument
3115 type, search_list, layer_list);
3119 layer_list);