/third_party/mesa3d/src/vulkan/util/ |
D | vk_alloc.h | 44 vk_alloc(const VkAllocationCallbacks *alloc, in vk_alloc() function 56 void *mem = vk_alloc(alloc, size, align, scope); in vk_zalloc() 90 char *copy = (char *)vk_alloc(alloc, size, 1, scope); in vk_strdup() 105 char *ptr = (char *)vk_alloc(alloc, size, 1, scope); in vk_vasprintf() 132 return vk_alloc(alloc, size, align, scope); in vk_alloc2() 134 return vk_alloc(parent_alloc, size, align, scope); in vk_alloc2() 234 void *ptr = vk_alloc(alloc, ma->size, ma->align, scope); in vk_multialloc_alloc()
|
D | meson.build | 57 'vk_alloc.c', 58 '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 | 134 packed_data = vk_alloc(alloc, packed_size, VN_DEFAULT_ALIGN, in vn_GetQueryPoolResults()
|
D | vn_queue.c | 152 submit->temp.storage = vk_alloc(alloc, alloc_size, VN_DEFAULT_ALIGN, in vn_queue_submission_alloc_storage() 825 vk_alloc(alloc, sizeof(*fences) * fenceCount, VN_DEFAULT_ALIGN, in vn_WaitForFences() 1127 semaphores = vk_alloc( in vn_WaitSemaphores()
|
D | vn_descriptor_set.c | 206 local_bindings = vk_alloc(alloc, binding_size, VN_DEFAULT_ALIGN, in vn_CreateDescriptorSetLayout() 647 void *storage = vk_alloc(alloc, alloc_size, VN_DEFAULT_ALIGN, scope); in vn_update_descriptor_sets_alloc()
|
D | vn_pipeline.c | 335 infos = vk_alloc(alloc, sizeof(*infos) * create_info_count, in vn_fix_graphics_pipeline_create_info()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_blit.c | 115 transfer_cmd = vk_alloc(&cmd_buffer->vk.pool->alloc, in pvr_CmdCopyBuffer2KHR()
|
D | pvr_bo.c | 84 pvr_bo = vk_alloc(&device->vk.alloc, in pvr_bo_alloc()
|
D | pvr_device.c | 169 instance = vk_alloc(pAllocator, in pvr_CreateInstance() 1154 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_device_init_compute_fence_program() 1221 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_pds_idfwdf_programs_create_and_upload() 1512 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_device_init_nop_program()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_batch_chain.c | 73 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone() 79 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone() 99 vk_alloc(alloc, list->dep_words * sizeof(BITSET_WORD), 8, in anv_reloc_list_init_clone() 385 struct anv_batch_bo *bbo = vk_alloc(&cmd_buffer->vk.pool->alloc, sizeof(*bbo), in anv_batch_bo_clone() 1284 vk_alloc(exec->alloc, new_len * sizeof(*new_objects), 8, exec->alloc_scope); in anv_execbuf_add_bo() 1289 vk_alloc(exec->alloc, new_len * sizeof(*new_bos), 8, exec->alloc_scope); in anv_execbuf_add_bo() 1594 vk_alloc(exec->alloc, new_len * sizeof(*new_syncobjs), in anv_execbuf_add_syncobj() 1606 vk_alloc(exec->alloc, new_len * sizeof(*new_syncobj_values), in anv_execbuf_add_syncobj()
|
D | anv_measure.c | 111 vk_alloc(&cmd_buffer->vk.pool->alloc, in anv_measure_init()
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
D | pvr_srv_bo.c | 384 srv_vma = vk_alloc(srv_ws->alloc, in pvr_srv_heap_alloc_reserved() 436 srv_vma = vk_alloc(srv_ws->alloc, in pvr_srv_winsys_heap_alloc()
|
D | pvr_srv_job_compute.c | 83 srv_ctx = vk_alloc(srv_ws->alloc, in pvr_srv_winsys_compute_ctx_create()
|
D | pvr_srv_job_transfer.c | 78 srv_ctx = vk_alloc(srv_ws->alloc, in pvr_srv_winsys_transfer_ctx_create()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 352 vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_create_shaders_from_pipeline_cache() 491 entry = vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_insert_shaders() 594 dest_entry = vk_alloc(&cache->alloc, size_of_entry, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in radv_pipeline_cache_load()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_dynamic_rendering.c | 210 vk_alloc(&dev->vk.alloc, cmds.size, alignof(struct tu_cmd_buffer *), in tu_insert_dynamic_cmdbufs()
|
D | tu_kgsl.c | 378 vk_alloc(&queue->device->vk.alloc, in tu_QueueSubmit2() 401 vk_alloc(&queue->device->vk.alloc, in tu_QueueSubmit2()
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_drm.c | 355 vk_alloc(&chain->alloc, in wsi_configure_native_image() 414 vk_alloc(&chain->alloc, sizeof(*image_modifiers) * max_modifier_count, in wsi_configure_native_image()
|
D | wsi_common_x11.c | 205 vk_alloc(&wsi_dev->instance_alloc, sizeof(*wsi_conn), 8, in wsi_x11_connection_create() 1832 modifiers[n] = vk_alloc(pAllocator, in wsi_x11_get_dri3_modifiers() 1848 modifiers[n] = vk_alloc(pAllocator, in wsi_x11_get_dri3_modifiers() 2228 wsi = vk_alloc(alloc, sizeof(*wsi), 8, in wsi_x11_init_wsi()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_meta.c | 455 vk_alloc(&device->vk.alloc, bc.BytecodeLength, 8, in dzn_meta_blits_get_vs() 500 out = vk_alloc(&device->vk.alloc, in dzn_meta_blits_get_fs()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_sync.c | 118 sync = vk_alloc(&device->alloc, type->size, 8, in vk_sync_create()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_cmd_buffer.c | 36 cmd_buffer = vk_alloc(&pool->vk.alloc, sizeof(*cmd_buffer), 8, in lvp_create_cmd_buffer()
|
D | lvp_descriptor_set.c | 313 set = vk_alloc(&device->vk.alloc /* XXX: Use the pool */, size, 8, in lvp_descriptor_set_create() 624 templ = vk_alloc(&device->vk.alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); in lvp_CreateDescriptorUpdateTemplate()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_bo.c | 348 vk_alloc(&device->vk.alloc, sizeof(struct list_head) * size, 8, in reallocate_size_list()
|