Home
last modified time | relevance | path

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

/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_ion.cpp329 …ool check_buffers_sharable(const gralloc_buffer_descriptor_t *descriptors, uint32_t numDescriptors) in check_buffers_sharable() argument
336 if (numDescriptors <= 1) in check_buffers_sharable()
341 for (i = 0; i < numDescriptors; i++) in check_buffers_sharable()
374 …ax_buffer_descriptor_index(const gralloc_buffer_descriptor_t *descriptors, uint32_t numDescriptors) in get_max_buffer_descriptor_index() argument
379 for (i = 0; i < numDescriptors; i++) in get_max_buffer_descriptor_index()
394 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_ion_allocate() argument
433 *shared_backend = check_buffers_sharable(descriptors, numDescriptors); in mali_gralloc_ion_allocate()
439 max_buffer_index = get_max_buffer_descriptor_index(descriptors, numDescriptors); in mali_gralloc_ion_allocate()
477 for (i = 0; i < numDescriptors; i++) in mali_gralloc_ion_allocate()
489 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
[all …]
Dmali_gralloc_bufferallocation.h28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend);
Dmali_gralloc_ion.h26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
Dmali_gralloc_bufferallocation.cpp884 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_buffer_allocate() argument
893 for (i = 0; i < numDescriptors; i++) in mali_gralloc_buffer_allocate()
1161 err = mali_gralloc_ion_allocate(m, descriptors, numDescriptors, pHandle, &shared); in mali_gralloc_buffer_allocate()
1175 for (i = 0; i < numDescriptors; i++) in mali_gralloc_buffer_allocate()
1188 mali_gralloc_buffer_free_internal(pHandle, numDescriptors); in mali_gralloc_buffer_allocate()
Dmali_gralloc_public_interface.cpp164 static int32_t mali_gralloc_allocate(gralloc1_device_t *device, uint32_t numDescriptors, in mali_gralloc_allocate() argument
227 …if (mali_gralloc_buffer_allocate(m, (gralloc_buffer_descriptor_t *)descriptors, numDescriptors, ou… in mali_gralloc_allocate()
234 if (!shared && 1 != numDescriptors) in mali_gralloc_allocate()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_ion.cpp372 …ool check_buffers_sharable(const gralloc_buffer_descriptor_t *descriptors, uint32_t numDescriptors) in check_buffers_sharable() argument
379 if (numDescriptors <= 1) in check_buffers_sharable()
384 for (i = 0; i < numDescriptors; i++) in check_buffers_sharable()
417 …ax_buffer_descriptor_index(const gralloc_buffer_descriptor_t *descriptors, uint32_t numDescriptors) in get_max_buffer_descriptor_index() argument
422 for (i = 0; i < numDescriptors; i++) in get_max_buffer_descriptor_index()
486 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) 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()
537 for (i = 0; i < numDescriptors; i++) in mali_gralloc_ion_allocate()
549 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
[all …]
Dmali_gralloc_bufferallocation.h28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend);
Dmali_gralloc_ion.h26 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *alloc_from_backing_store);
Dmali_gralloc_public_interface.cpp164 static int32_t mali_gralloc_allocate(gralloc1_device_t *device, uint32_t numDescriptors, in mali_gralloc_allocate() argument
226 …if (mali_gralloc_buffer_allocate(m, (gralloc_buffer_descriptor_t *)descriptors, numDescriptors, ou… in mali_gralloc_allocate()
233 if (!shared && 1 != numDescriptors) in mali_gralloc_allocate()
Dmali_gralloc_bufferallocation.cpp884 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_buffer_allocate() argument
893 for (i = 0; i < numDescriptors; i++) in mali_gralloc_buffer_allocate()
1135 err = mali_gralloc_ion_allocate(m, descriptors, numDescriptors, pHandle, &shared); in mali_gralloc_buffer_allocate()
1148 for (i = 0; i < numDescriptors; i++) in mali_gralloc_buffer_allocate()
1160 mali_gralloc_buffer_free_internal(pHandle, numDescriptors); in mali_gralloc_buffer_allocate()