Home
last modified time | relevance | path

Searched refs:dma_buf (Results 1 - 6 of 6) sorted by relevance

/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_android.c104 int *dma_buf, in tu_gralloc_info_other()
114 *dma_buf = handle_fds[0]; in tu_gralloc_info_other()
147 *dma_buf = handle_fds[0]; in tu_gralloc_info_other()
177 int *dma_buf, in tu_gralloc_info_cros()
190 *dma_buf = info.fds[0]; in tu_gralloc_info_cros()
199 int *dma_buf, in tu_gralloc_info()
234 return tu_gralloc_info_cros(device, gralloc_info, dma_buf, modifier); in tu_gralloc_info()
236 return tu_gralloc_info_other(device, gralloc_info, dma_buf, modifier); in tu_gralloc_info()
248 int dma_buf, in tu_import_memory_from_gralloc_handle()
271 .fd = os_dupfd_cloexec(dma_buf), in tu_import_memory_from_gralloc_handle()
102 tu_gralloc_info_other(struct tu_device *device, const VkNativeBufferANDROID *gralloc_info, int *dma_buf, uint64_t *modifier) tu_gralloc_info_other() argument
175 tu_gralloc_info_cros(struct tu_device *device, const VkNativeBufferANDROID *gralloc_info, int *dma_buf, uint64_t *modifier) tu_gralloc_info_cros() argument
197 tu_gralloc_info(struct tu_device *device, const VkNativeBufferANDROID *gralloc_info, int *dma_buf, uint64_t *modifier) tu_gralloc_info() argument
247 tu_import_memory_from_gralloc_handle(VkDevice device_h, int dma_buf, const VkAllocationCallbacks *alloc, VkImage image_h) tu_import_memory_from_gralloc_handle() argument
[all...]
H A Dtu_android.h18 int *dma_buf,
23 int dma_buf,
H A Dtu_image.c634 int dma_buf; in tu_CreateImage() local
636 VkResult result = tu_gralloc_info(device, gralloc_info, &dma_buf, &modifier); in tu_CreateImage()
653 return tu_import_memory_from_gralloc_handle(_device, dma_buf, alloc, in tu_CreateImage()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_android.c299 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in anv_GetAndroidHardwareBufferPropertiesANDROID() local
300 if (dma_buf < 0) in anv_GetAndroidHardwareBufferPropertiesANDROID()
306 pProperties->allocationSize = lseek(dma_buf, 0, SEEK_END); in anv_GetAndroidHardwareBufferPropertiesANDROID()
393 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in anv_import_ahw_memory() local
394 if (dma_buf < 0) in anv_import_ahw_memory()
397 VkResult result = anv_device_import_bo(device, dma_buf, 0, in anv_import_ahw_memory()
500 /* Do not close the gralloc handle's dma_buf. The lifetime of the dma_buf in anv_image_init_from_gralloc()
504 int dma_buf = gralloc_info->handle->data[0]; in anv_image_init_from_gralloc() local
515 result = anv_device_import_bo(device, dma_buf, in anv_image_init_from_gralloc()
590 int dma_buf = gralloc_info->handle->data[0]; anv_image_bind_from_gralloc() local
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_android.c130 /* Do not close the gralloc handle's dma_buf. The lifetime of the dma_buf in radv_image_from_gralloc()
134 int dma_buf = gralloc_info->handle->data[0]; in radv_image_from_gralloc() local
141 .fd = os_dupfd_cloexec(dma_buf), in radv_image_from_gralloc()
641 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in radv_GetAndroidHardwareBufferPropertiesANDROID() local
642 if (dma_buf < 0) in radv_GetAndroidHardwareBufferPropertiesANDROID()
648 pProperties->allocationSize = lseek(dma_buf, 0, SEEK_END); in radv_GetAndroidHardwareBufferPropertiesANDROID()
711 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in radv_import_ahb_memory() local
712 if (dma_buf < 0) in radv_import_ahb_memory()
717 device->ws->buffer_from_fd(device->ws, dma_buf, priorit in radv_import_ahb_memory()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_private.h2387 int dma_buf,

Completed in 9 milliseconds