Home
last modified time | relevance | path

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

12

/external/mesa3d/src/vulkan/util/
Dvk_alloc.h32 vk_alloc(const VkAllocationCallbacks *alloc, in vk_alloc() function
44 void *mem = vk_alloc(alloc, size, align, scope); in vk_zalloc()
78 char *copy = vk_alloc(alloc, size, 1, scope); in vk_strdup()
94 return vk_alloc(alloc, size, align, scope); in vk_alloc2()
96 return vk_alloc(parent_alloc, size, align, scope); in vk_alloc2()
Dmeson.build22 'vk_alloc.h',
/external/mesa3d/src/vulkan/
DMakefile.sources27 util/vk_alloc.h \
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c132 vk_alloc(&wsi_dev->instance_alloc, sizeof(*wsi_conn), 8, in wsi_x11_connection_create()
700 surface = vk_alloc(pAllocator, sizeof *surface, 8, in wsi_create_xcb_surface()
719 surface = vk_alloc(pAllocator, sizeof *surface, 8, in wsi_create_xlib_surface()
1373 modifiers[n] = vk_alloc(pAllocator, in wsi_x11_get_dri3_modifiers()
1389 modifiers[n] = vk_alloc(pAllocator, in wsi_x11_get_dri3_modifiers()
1518 chain = vk_alloc(pAllocator, size, 8, in x11_surface_create_swapchain()
1689 wsi = vk_alloc(alloc, sizeof(*wsi), 8, in wsi_x11_init_wsi()
Dwsi_common_wayland.c473 vk_alloc(wsi->alloc, sizeof(*display), 8, in wsi_wl_display_create()
711 surface = vk_alloc(pAllocator, sizeof *surface, 8, in wsi_create_wl_surface()
1041 chain = vk_alloc(pAllocator, size, 8, in wsi_wl_surface_create_swapchain()
1169 wsi = vk_alloc(alloc, sizeof(*wsi), 8, in wsi_wl_init_wsi()
Dwsi_common_drm.c175 modifier_props = vk_alloc(&chain->alloc, in wsi_create_native_image()
234 image_modifiers = vk_alloc(&chain->alloc, in wsi_create_native_image()
Dwsi_common.c616 stage_flags = vk_alloc(&swapchain->alloc, in wsi_common_queue_present()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c309 struct cache_entry *new_entry = vk_alloc(&cache->alloc, size, 8, in radv_create_shader_variants_from_pipeline_cache()
399 entry = vk_alloc(&cache->alloc, size, 8, in radv_pipeline_cache_insert_shaders()
490 dest_entry = vk_alloc(&cache->alloc, size, in radv_pipeline_cache_load()
Dradv_cmd_buffer.c3540 state->subpass_sample_locs = vk_alloc(&cmd_buffer->pool->alloc, in radv_cmd_state_setup_sample_locations()
3592 state->attachments = vk_alloc(&cmd_buffer->pool->alloc, in radv_cmd_state_setup_attachments()
/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c69 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone()
75 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone()
95 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()
1179 vk_alloc(exec->alloc, new_len * sizeof(*new_objects), 8, exec->alloc_scope); in anv_execbuf_add_bo()
1184 vk_alloc(exec->alloc, new_len * sizeof(*new_bos), 8, exec->alloc_scope); in anv_execbuf_add_bo()
Danv_wsi.c307 uint32_t *syncobjs = vk_alloc(&device->vk.alloc, in anv_QueuePresentKHR()
Danv_perf.c185 config = vk_alloc(&device->vk.alloc, sizeof(*config), 8, in anv_AcquirePerformanceConfigurationINTEL()
Danv_cmd_buffer.c248 cmd_buffer = vk_alloc(&pool->alloc, sizeof(*cmd_buffer), 8, in anv_create_cmd_buffer()
Danv_queue.c2095 semaphore = vk_alloc(&device->vk.alloc, sizeof(*semaphore), 8, in anv_CreateSemaphore()
Danv_private.h614 void *ptr = vk_alloc(alloc, ma->size, ma->align, scope); in anv_multialloc_alloc()
Danv_device.c344 vk_alloc(&instance->alloc, sizeof(*device), 8, in anv_physical_device_try_create()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_bo.c220 bo = vk_alloc(&device->alloc, sizeof(struct v3dv_bo), 8, in v3dv_bo_alloc()
346 vk_alloc(&device->alloc, sizeof(struct list_head) * size, 8, in reallocate_size_list()
Dv3dv_queue.c945 vk_alloc(&device->alloc, prev_alloc_size + extra_alloc_size, 8, in add_signal_semaphores_to_wait_list()
1230 uint32_t *syncobjs = vk_alloc(&device->alloc, in v3dv_ResetFences()
1261 uint32_t *syncobjs = vk_alloc(&device->alloc, in v3dv_WaitForFences()
Dv3dv_cmd_buffer.c143 cmd_buffer = vk_alloc(&pool->alloc, sizeof(*cmd_buffer), 8, in cmd_buffer_create()
272 vk_alloc(&cmd_buffer->device->alloc, sizeof(*pobj), 8, in v3dv_cmd_buffer_add_private_obj()
2476 vk_alloc(&cmd_buffer->device->alloc, sizeof(struct v3dv_bo), 8, in clone_bo_list()
2498 struct v3dv_job *clone_job = vk_alloc(&job->device->alloc, in job_clone_in_cmd_buffer()
4802 *ptr = vk_alloc(&cmd_buffer->device->alloc, bytes, 8, in ensure_array_state()
5005 vk_alloc(&cmd_buffer->device->alloc, event_list_size, 8, in v3dv_CmdWaitEvents()
Dv3dv_meta_clear.c1625 vk_alloc(&cmd_buffer->device->alloc, in handle_deferred_clear_attachments()
/external/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.c349 vk_alloc(&queue->device->vk.alloc, in tu_QueueSubmit()
Dtu_device.c1041 device->queues[qfi] = vk_alloc( in tu_CreateDevice()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c233 set = vk_alloc(&device->vk.alloc /* XXX: Use the pool */, size, 8, in lvp_descriptor_set_create()
Dlvp_cmd_buffer.c35 cmd_buffer = vk_alloc(&pool->alloc, sizeof(*cmd_buffer), 8, in lvp_create_cmd_buffer()
271 cmd = vk_alloc(&cmd_buffer->pool->alloc, in cmd_buf_entry_alloc_size()

12