• Home
  • Raw
  • Download

Lines Matching refs:layer_list

634                           const struct loader_layer_list *layer_list) {  argument
635 for (uint32_t i = 0; i < layer_list->count; i++) {
636 const VkLayerProperties *item = &layer_list->list[i].info;
638 return &layer_list->list[i];
648 struct loader_layer_list *layer_list) { argument
649 if (layer_list->capacity == 0) {
650 layer_list->list =
654 if (layer_list->list == NULL) {
659 memset(layer_list->list, 0,
661 layer_list->capacity = sizeof(struct loader_layer_properties) * 64;
665 if ((layer_list->count + 1) * sizeof(struct loader_layer_properties) >
666 layer_list->capacity) {
667 layer_list->list = loader_instance_heap_realloc(
668 inst, layer_list->list, layer_list->capacity,
669 layer_list->capacity * 2, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE);
670 if (layer_list->list == NULL) {
675 layer_list->capacity *= 2;
678 layer_list->count++;
679 return &(layer_list->list[layer_list->count - 1]);
686 struct loader_layer_list *layer_list) { argument
689 if (!layer_list)
692 for (i = 0; i < layer_list->count; i++) {
694 inst, (struct loader_generic_list *)&layer_list->list[i]
696 dev_ext_list = &layer_list->list[i].device_extension_list;
708 layer_list->count = 0;
710 if (layer_list->capacity > 0) {
711 layer_list->capacity = 0;
712 loader_instance_heap_free(inst, layer_list->list);
1054 struct loader_layer_list *layer_list) { argument
1056 loader_device_heap_free(device, layer_list->list);
1058 loader_instance_heap_free(inst, layer_list->list);
1060 layer_list->count = 0;
1061 layer_list->capacity = 0;
1955 const struct loader_layer_list *layer_list) { argument
1956 if (!layer_list)
1958 for (uint32_t j = 0; j < layer_list->count; j++)
1959 if (!strcmp(name, layer_list->list[j].info.layerName))
1965 const char **layer_list) { argument
1966 if (!layer_list)
1969 if (!strcmp(name, layer_list[j]))
1976 const char layer_list[][VK_MAX_EXTENSION_NAME_SIZE]) {
1977 if (!layer_list)
1980 if (!strcmp(name, layer_list[j]))
2089 struct loader_layer_list *layer_list; local
2097 layer_list = layer_instance_list;
2100 if (layer_list == NULL)
2103 if (loader_find_layer_name_list(layer_names[i], layer_list))
2111 props = loader_get_next_layer_property(inst, layer_list);
3637 struct loader_layer_list *layer_list, argument
3670 type, search_list, layer_list);
3674 layer_list);