Searched refs:numFds (Results 1 - 11 of 11) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/include/android_stub/cutils/ |
| H A D | native_handle.h | 37 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 D | tu_android.c | 127 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 D | tu_android.c | 132 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 D | radv_android.c | 113 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 D | radv_android.c | 123 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 D | anv_android.c | 206 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 D | anv_android.c | 299 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 D | platform_android_mapper.cpp | 137 bool per_plane_unique_fd = buf->handle->numFds == buf_info.num_planes;
|
| H A D | platform_android.c | 176 for (int i = 0; i < handle->numFds; i++) 179 return handle->numFds;
|
| /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/ |
| H A D | vn_android.c | 251 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 D | platform_android.c | 179 return (handle && handle->numFds) ? handle->data[0] : -1;
|
Completed in 13 milliseconds