/third_party/mesa3d/src/vulkan/util/ |
D | vk_alloc.h | 40 vk_alloc(const VkAllocationCallbacks *alloc, in vk_alloc() function 52 void *mem = vk_alloc(alloc, size, align, scope); in vk_zalloc() 86 char *copy = (char *)vk_alloc(alloc, size, 1, scope); in vk_strdup() 101 char *ptr = (char *)vk_alloc(alloc, size, 1, scope); in vk_vasprintf() 128 return vk_alloc(alloc, size, align, scope); in vk_alloc2() 130 return vk_alloc(parent_alloc, size, align, scope); in vk_alloc2() 233 char *ptr = (char *)vk_alloc(alloc, ma->size, ma->align, scope); in vk_multialloc_alloc()
|
D | meson.build | 54 'vk_alloc.c', 55 'vk_alloc.h',
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_render_pass.c | 164 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass() 214 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass2()
|
D | vn_query_pool.c | 130 packed_data = vk_alloc(alloc, packed_size, VN_DEFAULT_ALIGN, in vn_GetQueryPoolResults()
|
D | vn_buffer.c | 220 local_infos = vk_alloc(alloc, size, VN_DEFAULT_ALIGN, in vn_BindBufferMemory2()
|
D | vn_queue.c | 171 submit->temp.storage = vk_alloc(alloc, alloc_size, VN_DEFAULT_ALIGN, in vn_queue_submission_alloc_storage() 646 vk_alloc(alloc, sizeof(*fences) * fenceCount, VN_DEFAULT_ALIGN, in vn_WaitForFences() 940 semaphores = vk_alloc( in vn_WaitSemaphores()
|
D | vn_descriptor_set.c | 154 local_bindings = vk_alloc(alloc, binding_size, VN_DEFAULT_ALIGN, in vn_CreateDescriptorSetLayout() 553 void *storage = vk_alloc(alloc, alloc_size, VN_DEFAULT_ALIGN, scope); in vn_update_descriptor_sets_alloc()
|
D | vn_device.c | 144 vk_alloc(alloc, sizeof(*merged) * (ext_count + extra_count), in merge_extension_names()
|
D | vn_pipeline.c | 269 infos = vk_alloc(alloc, sizeof(*infos) * create_info_count, in vn_fix_graphics_pipeline_create_info()
|
D | vn_physical_device.c | 708 vk_alloc(alloc, sizeof(*props) * count, VN_DEFAULT_ALIGN, in vn_physical_device_init_queue_family_properties() 1020 exts = vk_alloc(alloc, sizeof(*exts) * count, VN_DEFAULT_ALIGN, in vn_physical_device_init_renderer_extensions() 1180 vk_alloc(alloc, sizeof(*groups) * count, VN_DEFAULT_ALIGN, in vn_instance_enumerate_physical_device_groups_locked() 1280 handles = vk_alloc(alloc, sizeof(*handles) * count, VN_DEFAULT_ALIGN, in enumerate_physical_devices()
|
D | vn_image.c | 438 local_infos = vk_alloc(alloc, size, VN_DEFAULT_ALIGN, in vn_BindImageMemory2()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 333 vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_create_shader_variants_from_pipeline_cache() 428 entry = vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_insert_shaders() 528 dest_entry = vk_alloc(&cache->alloc, size_of_entry, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_load()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_batch_chain.c | 70 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone() 76 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone() 96 vk_alloc(alloc, list->dep_words * sizeof(BITSET_WORD), 8, in anv_reloc_list_init_clone() 349 struct anv_batch_bo *bbo = vk_alloc(&cmd_buffer->pool->alloc, sizeof(*bbo), in anv_batch_bo_create() 382 struct anv_batch_bo *bbo = vk_alloc(&cmd_buffer->pool->alloc, sizeof(*bbo), in anv_batch_bo_clone() 1262 vk_alloc(exec->alloc, new_len * sizeof(*new_objects), 8, exec->alloc_scope); in anv_execbuf_add_bo() 1267 vk_alloc(exec->alloc, new_len * sizeof(*new_bos), 8, exec->alloc_scope); in anv_execbuf_add_bo()
|
D | anv_measure.c | 111 vk_alloc(&cmd_buffer->pool->alloc, in anv_measure_init()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_bo.c | 221 bo = vk_alloc(&device->vk.alloc, sizeof(struct v3dv_bo), 8, in v3dv_bo_alloc() 349 vk_alloc(&device->vk.alloc, sizeof(struct list_head) * size, 8, in reallocate_size_list()
|
D | v3dv_queue.c | 882 vk_alloc(&device->vk.alloc, prev_alloc_size + extra_alloc_size, 8, in add_signal_semaphores_to_wait_list() 1470 uint32_t *syncobjs = vk_alloc(&device->vk.alloc, in v3dv_ResetFences() 1519 uint32_t *syncobjs = vk_alloc(&device->vk.alloc, in v3dv_WaitForFences()
|
D | v3dv_cmd_buffer.c | 290 vk_alloc(&cmd_buffer->device->vk.alloc, sizeof(*pobj), 8, in v3dv_cmd_buffer_add_private_obj() 1679 vk_alloc(&cmd_buffer->device->vk.alloc, sizeof(struct v3dv_bo), 8, in clone_bo_list() 1701 struct v3dv_job *clone_job = vk_alloc(&job->device->vk.alloc, in v3dv_job_clone_in_cmd_buffer() 3053 *ptr = vk_alloc(&cmd_buffer->device->vk.alloc, bytes, 8, in v3dv_cmd_buffer_ensure_array_state() 3282 vk_alloc(&cmd_buffer->device->vk.alloc, event_list_size, 8, in v3dv_CmdWaitEvents()
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_drm.c | 196 modifier_props = vk_alloc(&chain->alloc, in wsi_create_native_image() 255 image_modifiers = vk_alloc(&chain->alloc, in wsi_create_native_image()
|
D | wsi_common_x11.c | 185 vk_alloc(&wsi_dev->instance_alloc, sizeof(*wsi_conn), 8, in wsi_x11_connection_create() 1591 modifiers[n] = vk_alloc(pAllocator, in wsi_x11_get_dri3_modifiers() 1607 modifiers[n] = vk_alloc(pAllocator, in wsi_x11_get_dri3_modifiers() 1913 wsi = vk_alloc(alloc, sizeof(*wsi), 8, in wsi_x11_init_wsi()
|
D | wsi_common_wayland.c | 617 vk_alloc(wsi->alloc, sizeof(*display), 8, in wsi_wl_display_create() 1326 wsi = vk_alloc(alloc, sizeof(*wsi), 8, in wsi_wl_init_wsi()
|
D | wsi_common_win32.c | 672 wsi = vk_alloc(alloc, sizeof(*wsi), 8, in wsi_win32_init_wsi()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline_cache.c | 234 vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in tu_pipeline_cache_load()
|
D | tu_kgsl.c | 365 vk_alloc(&queue->device->vk.alloc, in tu_QueueSubmit()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_descriptor_set.c | 61 set->descs = vk_alloc(&device->vk.alloc, in panvk_per_arch()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_cmd_buffer.c | 36 cmd_buffer = vk_alloc(&pool->alloc, sizeof(*cmd_buffer), 8, in lvp_create_cmd_buffer()
|