Home
last modified time | relevance | path

Searched refs:gralloc_info (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/freedreno/vulkan/
Dtu_android.c103 const VkNativeBufferANDROID *gralloc_info, in tu_gralloc_info_other() argument
108 const uint32_t *handle_fds = (uint32_t *)gralloc_info->handle->data; in tu_gralloc_info_other()
109 const uint32_t *handle_data = &handle_fds[gralloc_info->handle->numFds]; in tu_gralloc_info_other()
112 if (gralloc_info->handle->numFds == 1) { in tu_gralloc_info_other()
115 } else if (gralloc_info->handle->numFds == 2) { in tu_gralloc_info_other()
126 if (gralloc_info->handle->numInts < 2) { in tu_gralloc_info_other()
130 gralloc_info->handle->numFds); in tu_gralloc_info_other()
152 gralloc_info->handle->numFds); in tu_gralloc_info_other()
176 const VkNativeBufferANDROID *gralloc_info, in tu_gralloc_info_cros() argument
186 gralloc_info->handle, &info); in tu_gralloc_info_cros()
[all …]
Dtu_android.h17 const VkNativeBufferANDROID *gralloc_info,
Dtu_image.c632 const VkNativeBufferANDROID *gralloc_info = in tu_CreateImage() local
635 if (gralloc_info) { in tu_CreateImage()
636 VkResult result = tu_gralloc_info(device, gralloc_info, &dma_buf, &modifier); in tu_CreateImage()
652 if (gralloc_info) in tu_CreateImage()
/third_party/mesa3d/src/intel/vulkan/
Danv_android_stubs.c30 const VkNativeBufferANDROID *gralloc_info) in anv_image_init_from_gralloc() argument
37 const VkNativeBufferANDROID *gralloc_info) in anv_image_bind_from_gralloc() argument
Danv_android.h41 const VkNativeBufferANDROID *gralloc_info);
45 const VkNativeBufferANDROID *gralloc_info);
Danv_android.c484 const VkNativeBufferANDROID *gralloc_info) in anv_image_init_from_gralloc() argument
494 if (gralloc_info->handle->numFds != 1) { in anv_image_init_from_gralloc()
497 "expected 1", gralloc_info->handle->numFds); in anv_image_init_from_gralloc()
504 int dma_buf = gralloc_info->handle->data[0]; in anv_image_init_from_gralloc()
584 const VkNativeBufferANDROID *gralloc_info) in anv_image_bind_from_gralloc() argument
590 int dma_buf = gralloc_info->handle->data[0]; in anv_image_bind_from_gralloc()
Danv_image.c1565 const VkNativeBufferANDROID *gralloc_info = in anv_image_init_from_create_info() local
1567 if (gralloc_info) in anv_image_init_from_create_info()
1569 gralloc_info); in anv_image_init_from_create_info()
1931 const VkNativeBufferANDROID *gralloc_info = in anv_BindImageMemory2() local
1934 gralloc_info); in anv_BindImageMemory2()
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c114 const VkNativeBufferANDROID *gralloc_info, in radv_image_from_gralloc() argument
123 if (gralloc_info->handle->numFds != 1) { in radv_image_from_gralloc()
127 gralloc_info->handle->numFds); in radv_image_from_gralloc()
134 int dma_buf = gralloc_info->handle->data[0]; in radv_image_from_gralloc()
198 radv_image_override_offset_stride(device, image, 0, gralloc_info->stride); in radv_image_from_gralloc()
Dradv_image.c2364 const VkNativeBufferANDROID *gralloc_info = in radv_CreateImage() local
2367 if (gralloc_info) in radv_CreateImage()
2368 return radv_image_from_gralloc(device, pCreateInfo, gralloc_info, pAllocator, pImage); in radv_CreateImage()
Dradv_private.h2720 const VkNativeBufferANDROID *gralloc_info,
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_private.h2379 const VkNativeBufferANDROID *gralloc_info,