Home | History | Annotate | Download | only in loader

Lines Matching refs:layer_list

470                           const struct loader_layer_list *layer_list) {
471 for (uint32_t i = 0; i < layer_list->count; i++) {
472 const VkLayerProperties *item = &layer_list->list[i].info;
474 return &layer_list->list[i];
484 struct loader_layer_list *layer_list) {
485 if (layer_list->capacity == 0) {
486 layer_list->list =
489 if (layer_list->list == NULL) {
494 memset(layer_list->list, 0,
496 layer_list->capacity = sizeof(struct loader_layer_properties) * 64;
500 if ((layer_list->count + 1) * sizeof(struct loader_layer_properties) >
501 layer_list->capacity) {
502 layer_list->list = loader_heap_realloc(
503 inst, layer_list->list, layer_list->capacity,
504 layer_list->capacity * 2, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE);
505 if (layer_list->list == NULL) {
509 layer_list->capacity *= 2;
512 layer_list->count++;
513 return &(layer_list->list[layer_list->count - 1]);
520 struct loader_layer_list *layer_list) {
523 if (!layer_list)
526 for (i = 0; i < layer_list->count; i++) {
528 inst, (struct loader_generic_list *)&layer_list->list[i]
530 dev_ext_list = &layer_list->list[i].device_extension_list;
541 layer_list->count = 0;
543 if (layer_list->capacity > 0) {
544 layer_list->capacity = 0;
545 loader_heap_free(inst, layer_list->list);
810 * Add these to the output layer_list. Don't add duplicates to the output
811 * layer_list.
854 struct loader_layer_list *layer_list) {
855 loader_heap_free(inst, layer_list->list);
856 layer_list->count = 0;
857 layer_list->capacity = 0;
1632 const struct loader_layer_list *layer_list) {
1633 if (!layer_list)
1635 for (uint32_t j = 0; j < layer_list->count; j++)
1636 if (!strcmp(name, layer_list->list[j].info.layerName))
1642 const char **layer_list) {
1643 if (!layer_list)
1646 if (!strcmp(name, layer_list[j]))
1653 const char layer_list[][VK_MAX_EXTENSION_NAME_SIZE]) {
1654 if (!layer_list)
1657 if (!strcmp(name, layer_list[j]))
1788 struct loader_layer_list *layer_list;
1798 layer_list = layer_instance_list;
1800 layer_list = layer_device_list;
1802 if (layer_list == NULL)
1805 if (loader_find_layer_name_list(layer_names[i], layer_list))
1813 props = loader_get_next_layer_property(inst, layer_list);
1829 * file, add entry to the layer_list.
1834 * layer_list has a new entry and initialized accordingly.
3078 * is found in search_list then add it to layer_list. But only add it to
3079 * layer_list if type matches.
3084 struct loader_layer_list *layer_list,
3115 type, search_list, layer_list);
3119 layer_list);