Home
last modified time | relevance | path

Searched refs:vk_alloc (Results 1 – 25 of 40) sorted by relevance

12

/third_party/mesa3d/src/vulkan/util/
Dvk_alloc.h40 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()
Dmeson.build54 'vk_alloc.c',
55 'vk_alloc.h',
/third_party/mesa3d/src/virtio/vulkan/
Dvn_render_pass.c164 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass()
214 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass2()
Dvn_query_pool.c130 packed_data = vk_alloc(alloc, packed_size, VN_DEFAULT_ALIGN, in vn_GetQueryPoolResults()
Dvn_buffer.c220 local_infos = vk_alloc(alloc, size, VN_DEFAULT_ALIGN, in vn_BindBufferMemory2()
Dvn_queue.c171 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()
Dvn_descriptor_set.c154 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()
Dvn_device.c144 vk_alloc(alloc, sizeof(*merged) * (ext_count + extra_count), in merge_extension_names()
Dvn_pipeline.c269 infos = vk_alloc(alloc, sizeof(*infos) * create_info_count, in vn_fix_graphics_pipeline_create_info()
Dvn_physical_device.c708 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()
Dvn_image.c438 local_infos = vk_alloc(alloc, size, VN_DEFAULT_ALIGN, in vn_BindImageMemory2()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c333 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/
Danv_batch_chain.c70 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()
Danv_measure.c111 vk_alloc(&cmd_buffer->pool->alloc, in anv_measure_init()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_bo.c221 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()
Dv3dv_queue.c882 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()
Dv3dv_cmd_buffer.c290 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/
Dwsi_common_drm.c196 modifier_props = vk_alloc(&chain->alloc, in wsi_create_native_image()
255 image_modifiers = vk_alloc(&chain->alloc, in wsi_create_native_image()
Dwsi_common_x11.c185 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()
Dwsi_common_wayland.c617 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()
Dwsi_common_win32.c672 wsi = vk_alloc(alloc, sizeof(*wsi), 8, in wsi_win32_init_wsi()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline_cache.c234 vk_alloc(&cache->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_CACHE); in tu_pipeline_cache_load()
Dtu_kgsl.c365 vk_alloc(&queue->device->vk.alloc, in tu_QueueSubmit()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_descriptor_set.c61 set->descs = vk_alloc(&device->vk.alloc, in panvk_per_arch()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c36 cmd_buffer = vk_alloc(&pool->alloc, sizeof(*cmd_buffer), 8, in lvp_create_cmd_buffer()

12