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

/xsrc/external/mit/MesaLib/dist/include/android_stub/cutils/
H A Dnative_handle.h37 int numFds; /* number of file-descriptors at &data[0] */ member in struct:native_handle
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);
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_android.c127 const uint32_t *handle_data = &handle_fds[gralloc_info->handle->numFds];
130 if (gralloc_info->handle->numFds == 1) {
133 } else if (gralloc_info->handle->numFds == 2) {
148 gralloc_info->handle->numFds);
168 "VkNativeBufferANDROID::handle::numFds is %d, "
170 gralloc_info->handle->numFds);
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_android.c132 if (gralloc_info->handle->numFds != 1) {
134 "VkNativeBufferANDROID::handle::numFds is %d, "
136 gralloc_info->handle->numFds);
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_android.c113 if (gralloc_info->handle->numFds != 1) {
115 "VkNativeBufferANDROID::handle::numFds is %d, "
116 "expected 1", gralloc_info->handle->numFds);
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_android.c123 if (gralloc_info->handle->numFds != 1) {
125 "VkNativeBufferANDROID::handle::numFds is %d, "
127 gralloc_info->handle->numFds);
765 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1;
835 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1;
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_android.c206 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1;
300 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1;
447 if (gralloc_info->handle->numFds != 1) {
450 "VkNativeBufferANDROID::handle::numFds is %d, "
451 "expected 1", gralloc_info->handle->numFds);
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_android.c299 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1;
393 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1;
494 if (gralloc_info->handle->numFds != 1) {
496 "VkNativeBufferANDROID::handle::numFds is %d, "
497 "expected 1", gralloc_info->handle->numFds);
/xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/
H A Dplatform_android_mapper.cpp137 bool per_plane_unique_fd = buf->handle->numFds == buf_info.num_planes;
H A Dplatform_android.c176 for (int i = 0; i < handle->numFds; i++)
179 return handle->numFds;
/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_android.c251 if (handle->numFds < 1) {
252 vn_log(NULL, "handle->numFds is %d, expected >= 1", handle->numFds);
/xsrc/external/mit/MesaLib.old/dist/src/egl/drivers/dri2/
H A Dplatform_android.c179 return (handle && handle->numFds) ? handle->data[0] : -1;

Completed in 13 milliseconds