Home
last modified time | relevance | path

Searched refs:numFds (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/include/android_stub/cutils/
H A Dnative_handle.h37 int numFds; /* number of file-descriptors at &data[0] */ member
38 int numInts; /* number of ints at &data[numFds] */
43 int data[0]; /* numFds + numInts ints */
65 * NATIVE_HANDLE_DECLARE_STORAGE. numFds and numInts must not respectively
68 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
74 * native_handle_delete(). Note that numFds must be <= NATIVE_HANDLE_MAX_FDS,
78 native_handle_t* native_handle_create(int numFds, int numInts);
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_android.c109 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()
130 gralloc_info->handle->numFds); in tu_gralloc_info_other()
150 "VkNativeBufferANDROID::handle::numFds is %d, " in tu_gralloc_info_other()
152 gralloc_info->handle->numFds); in tu_gralloc_info_other()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_android.c299 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in anv_GetAndroidHardwareBufferPropertiesANDROID()
393 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in anv_import_ahw_memory()
494 if (gralloc_info->handle->numFds != 1) { in anv_image_init_from_gralloc()
496 "VkNativeBufferANDROID::handle::numFds is %d, " in anv_image_init_from_gralloc()
497 "expected 1", gralloc_info->handle->numFds); in anv_image_init_from_gralloc()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_android.c123 if (gralloc_info->handle->numFds != 1) { in radv_image_from_gralloc()
125 "VkNativeBufferANDROID::handle::numFds is %d, " in radv_image_from_gralloc()
127 gralloc_info->handle->numFds); in radv_image_from_gralloc()
641 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in radv_GetAndroidHardwareBufferPropertiesANDROID()
711 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in radv_import_ahb_memory()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dandroid_util.cpp25 int numFds; /* number of file-descriptors at &data[0] */ member
26 int numInts; /* number of ints at &data[numFds] */
34 int data[0]; /* numFds + numInts ints */
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_android_mapper.cpp137 bool per_plane_unique_fd = buf->handle->numFds == buf_info.num_planes; in mapper_metadata_get_buffer_info()
H A Dplatform_android.c177 for (int i = 0; i < handle->numFds; i++) in get_native_buffer_fds()
180 return handle->numFds; in get_native_buffer_fds()
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_android.c164 if (handle->numFds < 1) { in vn_android_gralloc_get_dma_buf_fd()
165 vn_log(NULL, "handle->numFds is %d, expected >= 1", handle->numFds); in vn_android_gralloc_get_dma_buf_fd()

Completed in 9 milliseconds