Home
last modified time | relevance | path

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

/external/mesa3d/src/freedreno/vulkan/
Dtu_android.c121 const VkNativeBufferANDROID *gralloc_info, in tu_gralloc_info() argument
126 const uint32_t *handle_fds = (uint32_t *)gralloc_info->handle->data; in tu_gralloc_info()
127 const uint32_t *handle_data = &handle_fds[gralloc_info->handle->numFds]; in tu_gralloc_info()
130 if (gralloc_info->handle->numFds == 1) { in tu_gralloc_info()
133 } else if (gralloc_info->handle->numFds == 2) { in tu_gralloc_info()
144 if (gralloc_info->handle->numInts < 2) { in tu_gralloc_info()
148 gralloc_info->handle->numFds); in tu_gralloc_info()
170 gralloc_info->handle->numFds); in tu_gralloc_info()
Dtu_image.c537 const VkNativeBufferANDROID *gralloc_info = in tu_CreateImage() local
540 if (gralloc_info) { in tu_CreateImage()
541 VkResult result = tu_gralloc_info(device, gralloc_info, &dma_buf, &modifier); in tu_CreateImage()
704 if (gralloc_info) in tu_CreateImage()
Dtu_private.h1368 const VkNativeBufferANDROID *gralloc_info,
/external/mesa3d/src/intel/vulkan/
Danv_android.c430 const VkNativeBufferANDROID *gralloc_info, in anv_image_from_gralloc() argument
446 if (gralloc_info->handle->numFds != 1) { in anv_image_from_gralloc()
449 "expected 1", gralloc_info->handle->numFds); in anv_image_from_gralloc()
456 int dma_buf = gralloc_info->handle->data[0]; in anv_image_from_gralloc()
506 anv_info.stride = gralloc_info->stride * in anv_image_from_gralloc()
Danv_android_stubs.c29 const VkNativeBufferANDROID *gralloc_info, in anv_image_from_gralloc() argument
Danv_android.h37 const VkNativeBufferANDROID *gralloc_info,
Danv_image.c905 const VkNativeBufferANDROID *gralloc_info = in anv_CreateImage() local
907 if (gralloc_info) in anv_CreateImage()
908 return anv_image_from_gralloc(device, pCreateInfo, gralloc_info, in anv_CreateImage()
/external/mesa3d/src/amd/vulkan/
Dradv_android.c114 const VkNativeBufferANDROID *gralloc_info, in radv_image_from_gralloc() argument
124 if (gralloc_info->handle->numFds != 1) { in radv_image_from_gralloc()
127 "expected 1", 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.c1817 const VkNativeBufferANDROID *gralloc_info = in radv_CreateImage() local
1820 if (gralloc_info) in radv_CreateImage()
1821 return radv_image_from_gralloc(device, pCreateInfo, gralloc_info, in radv_CreateImage()
Dradv_private.h2137 const VkNativeBufferANDROID *gralloc_info,