Lines Matching refs:descriptors
372 static bool check_buffers_sharable(const gralloc_buffer_descriptor_t *descriptors, uint32_t numDesc… in check_buffers_sharable() argument
388 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)descriptors[i]; in check_buffers_sharable()
417 static int get_max_buffer_descriptor_index(const gralloc_buffer_descriptor_t *descriptors, uint32_t… in get_max_buffer_descriptor_index() argument
424 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)descriptors[i]; in get_max_buffer_descriptor_index()
485 …t mali_gralloc_ion_allocate(mali_gralloc_module *m, const gralloc_buffer_descriptor_t *descriptors, in mali_gralloc_ion_allocate() argument
509 *shared_backend = check_buffers_sharable(descriptors, numDescriptors); in mali_gralloc_ion_allocate()
515 max_buffer_index = get_max_buffer_descriptor_index(descriptors, numDescriptors); in mali_gralloc_ion_allocate()
516 max_bufDescriptor = (buffer_descriptor_t *)(descriptors[max_buffer_index]); in mali_gralloc_ion_allocate()
539 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(descriptors[i]); in mali_gralloc_ion_allocate()
578 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(descriptors[i]); in mali_gralloc_ion_allocate()
623 buffer_descriptor_t *bufDescriptor = (buffer_descriptor_t *)(descriptors[i]); in mali_gralloc_ion_allocate()