Searched refs:bufferDescriptor (Results 1 – 4 of 4) sorted by relevance
/hardware/google/gchips/gralloc4/src/aidl/ |
D | GrallocAllocator2.cpp | 35 buffer_descriptor_t bufferDescriptor; in allocate() local 37 bufferDescriptor)) { in allocate() 63 arm::allocator::common::allocate(bufferDescriptor, count, hidl_cb); in allocate() 90 buffer_descriptor_t bufferDescriptor; in toInternalDescriptor() local 91 bufferDescriptor.width = descriptor.width; in toInternalDescriptor() 92 bufferDescriptor.height = descriptor.height; in toInternalDescriptor() 93 bufferDescriptor.layer_count = descriptor.layerCount; in toInternalDescriptor() 94 bufferDescriptor.hal_format = static_cast<uint64_t>(descriptor.format); in toInternalDescriptor() 95 bufferDescriptor.producer_usage = static_cast<uint64_t>(descriptor.usage); in toInternalDescriptor() 96 bufferDescriptor.consumer_usage = bufferDescriptor.producer_usage; in toInternalDescriptor() [all …]
|
D | GrallocAllocator.cpp | 38 buffer_descriptor_t bufferDescriptor; in allocate() local 40 bufferDescriptor)) { in allocate() 66 arm::allocator::common::allocate(bufferDescriptor, count, hidl_cb); in allocate()
|
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | Allocator.cpp | 73 void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb … in allocate() argument 83 bool use_placeholder = bufferDescriptor.producer_usage & GRALLOC_USAGE_PLACEHOLDER_BUFFER; in allocate() 87 grallocBufferDescriptor[0] = (gralloc_buffer_descriptor_t)(&bufferDescriptor); in allocate() 96 if (((bufferDescriptor.producer_usage & GRALLOC_USAGE_HW_FB) || in allocate() 97 (bufferDescriptor.consumer_usage & GRALLOC_USAGE_HW_FB)) && in allocate() 100 allocResult = fb_allocator(&bufferDescriptor, &tmpBuffer); in allocate() 119 hnd->reserved_region_size = bufferDescriptor.reserved_size; in allocate() 142 mapper::common::shared_metadata_init(metadata_vaddr, bufferDescriptor.name); in allocate() 144 const uint32_t base_format = bufferDescriptor.alloc_format & MALI_GRALLOC_INTFMT_FMT_MASK; in allocate() 145 const uint64_t usage = bufferDescriptor.consumer_usage | bufferDescriptor.producer_usage; in allocate() [all …]
|
D | Allocator.h | 57 void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb …
|