Home
last modified time | relevance | path

Searched refs:bufferDescriptor (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.cpp35 void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb … in allocate() argument
47 grallocBufferDescriptor[0] = (gralloc_buffer_descriptor_t)(&bufferDescriptor); in allocate()
56 if (((bufferDescriptor.producer_usage & GRALLOC_USAGE_HW_FB) || in allocate()
57 (bufferDescriptor.consumer_usage & GRALLOC_USAGE_HW_FB)) && in allocate()
60 allocResult = fb_allocator(&bufferDescriptor, &tmpBuffer); in allocate()
75 hnd->reserved_region_size = bufferDescriptor.reserved_size; in allocate()
92 mapper::common::shared_metadata_init(hnd->attr_base, bufferDescriptor.name); in allocate()
94 const uint32_t base_format = bufferDescriptor.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in allocate()
95 const uint64_t usage = bufferDescriptor.consumer_usage | bufferDescriptor.producer_usage; in allocate()
113 tmpStride = bufferDescriptor.pixel_stride; in allocate()
DAllocator.h54 void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb …
/hardware/google/gchips/gralloc3/src/
DGrallocAllocator.cpp93 buffer_descriptor_t bufferDescriptor; in allocate() local
99 …IDL_IMAPPER_NAMESPACE::implementation::grallocDecodeBufferDescriptor(descriptor, bufferDescriptor)) in allocate()
105 grallocBufferDescriptor[0] = (gralloc_buffer_descriptor_t)(&bufferDescriptor); in allocate()
114 if ((bufferDescriptor.producer_usage & GRALLOC_USAGE_HW_FB) || in allocate()
115 (bufferDescriptor.consumer_usage & GRALLOC_USAGE_HW_FB)) in allocate()
117 allocResult = mali_gralloc_fb_allocate(&privateModule, &bufferDescriptor, in allocate()
/hardware/google/gchips/gralloc4/src/4.x/
DGrallocAllocator.cpp56 buffer_descriptor_t bufferDescriptor; in allocate() local
57 if (!mapper::common::grallocDecodeBufferDescriptor(descriptor, bufferDescriptor)) in allocate()
62 common::allocate(bufferDescriptor, count, hidl_cb); in allocate()