Home
last modified time | relevance | path

Searched refs:producer_usage (Results 1 – 20 of 20) sorted by relevance

/device/linaro/hikey/gralloc960/
Dframebuffer_device.cpp423 uint64_t producer_usage, buffer_handle_t *pHandle) in fb_alloc_from_ion_module() argument
432 fb_buffer_descriptor.producer_usage = producer_usage; in fb_alloc_from_ion_module()
440 …_alloc_framebuffer_locked(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage, in fb_alloc_framebuffer_locked() argument
472 uint64_t newProducerUsage = (producer_usage & ~GRALLOC_USAGE_HW_FB) | GRALLOC_USAGE_HW_2D; in fb_alloc_framebuffer_locked()
502 producer_usage, dup(m->framebuffer->fd), (framebufferVaddr - (uintptr_t)m->framebuffer->base)); in fb_alloc_framebuffer_locked()
512 uint64_t newProducerUsage = (producer_usage & ~GRALLOC_USAGE_HW_FB) | GRALLOC_USAGE_HW_2D; in fb_alloc_framebuffer_locked()
524 int fb_alloc_framebuffer(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage, in fb_alloc_framebuffer() argument
528 …int err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_str… in fb_alloc_framebuffer()
Dmali_gralloc_buffer.h123 uint64_t producer_usage; member
177 , producer_usage(_producer_usage) in private_handle_t()
212 , producer_usage(_producer_usage) in private_handle_t()
Dmali_gralloc_ion.cpp390 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in check_buffers_sharable()
517 usage = max_bufDescriptor->consumer_usage | max_bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
560 … bufDescriptor->consumer_usage, bufDescriptor->producer_usage, tmp_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
579 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
606 …bufDescriptor->consumer_usage, bufDescriptor->producer_usage, shared_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
626 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
Dframebuffer_device.h29 int fb_alloc_framebuffer(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage,
Dmali_gralloc_bufferdescriptor.cpp101 buffer_descriptor->producer_usage = usage; in mali_gralloc_set_producerusage_internal()
180 *outUsage = hnd->producer_usage; in mali_gralloc_get_producer_usage_internal()
Dmali_gralloc_bufferdescriptor.h39 uint64_t producer_usage; member
Dmali_gralloc_debug.cpp100 hnd->consumer_usage, hnd->producer_usage, hnd->share_fd, in mali_gralloc_dump_buffers()
Dmali_gralloc_public_interface.cpp173 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_allocate()
196 …if (fb_alloc_framebuffer(m, bufDescriptor->consumer_usage, bufDescriptor->producer_usage, outBuffe… in mali_gralloc_allocate()
Dmali_gralloc_bufferallocation.cpp902 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_buffer_allocate()
1153 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_buffer_allocate()
/device/amlogic/yukawa/hal/gralloc/
Dframebuffer_device.cpp423 uint64_t producer_usage, buffer_handle_t *pHandle) in fb_alloc_from_ion_module() argument
432 fb_buffer_descriptor.producer_usage = producer_usage; in fb_alloc_from_ion_module()
440 …_alloc_framebuffer_locked(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage, in fb_alloc_framebuffer_locked() argument
472 uint64_t newProducerUsage = (producer_usage & ~GRALLOC_USAGE_HW_FB) | GRALLOC_USAGE_HW_2D; in fb_alloc_framebuffer_locked()
502 producer_usage, dup(m->framebuffer->fd), (framebufferVaddr - (uintptr_t)m->framebuffer->base)); in fb_alloc_framebuffer_locked()
512 uint64_t newProducerUsage = (producer_usage & ~GRALLOC_USAGE_HW_FB) | GRALLOC_USAGE_HW_2D; in fb_alloc_framebuffer_locked()
524 int fb_alloc_framebuffer(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage, in fb_alloc_framebuffer() argument
528 …int err = fb_alloc_framebuffer_locked(m, consumer_usage, producer_usage, pHandle, stride, byte_str… in fb_alloc_framebuffer()
Dmali_gralloc_buffer.h136 uint64_t producer_usage; member
191 , producer_usage(_producer_usage) in private_handle_t()
228 , producer_usage(_producer_usage) in private_handle_t()
Dmali_gralloc_ion.cpp347 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in check_buffers_sharable()
441 usage = max_bufDescriptor->consumer_usage | max_bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
500 … bufDescriptor->consumer_usage, bufDescriptor->producer_usage, tmp_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
519 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
563 …bufDescriptor->consumer_usage, bufDescriptor->producer_usage, shared_fd, bufDescriptor->hal_format, in mali_gralloc_ion_allocate()
583 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_ion_allocate()
Dframebuffer_device.h29 int fb_alloc_framebuffer(mali_gralloc_module *m, uint64_t consumer_usage, uint64_t producer_usage,
Dmali_gralloc_bufferdescriptor.cpp112 buffer_descriptor->producer_usage = usage; in mali_gralloc_set_producerusage_internal()
191 *outUsage = hnd->producer_usage; in mali_gralloc_get_producer_usage_internal()
Dmali_gralloc_bufferdescriptor.h39 uint64_t producer_usage; member
Dmali_gralloc_debug.cpp100 hnd->consumer_usage, hnd->producer_usage, hnd->share_fd, in mali_gralloc_dump_buffers()
Dmali_gralloc_public_interface.cpp173 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_allocate()
196 …if (fb_alloc_framebuffer(m, bufDescriptor->consumer_usage, bufDescriptor->producer_usage, outBuffe… in mali_gralloc_allocate()
Dmali_gralloc_bufferallocation.cpp902 usage = bufDescriptor->producer_usage | bufDescriptor->consumer_usage; in mali_gralloc_buffer_allocate()
1180 usage = bufDescriptor->consumer_usage | bufDescriptor->producer_usage; in mali_gralloc_buffer_allocate()
/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp111 buffer_descriptor.producer_usage = usage; in alloc_device_alloc()
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp111 buffer_descriptor.producer_usage = usage; in alloc_device_alloc()