Searched refs:descriptor_info (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/sdm845/display/gralloc/ |
D | QtiMapper.cpp | 62 Error QtiMapper::CreateDescriptor(const BufferDescriptorInfo_2_1& descriptor_info, in CreateDescriptor() argument 66 descriptor_info.width, descriptor_info.height, descriptor_info.usage, in CreateDescriptor() 67 static_cast<uint32_t>(descriptor_info.format), descriptor_info.layerCount); in CreateDescriptor() 69 if (ValidDescriptor(descriptor_info)) { in CreateDescriptor() 70 auto vec = gralloc::BufferDescriptor::Encode(descriptor_info); in CreateDescriptor() 79 Return<void> QtiMapper::createDescriptor(const BufferDescriptorInfo_2_0 &descriptor_info, in createDescriptor() argument 83 descriptor_info.width, in createDescriptor() 84 descriptor_info.height, in createDescriptor() 85 descriptor_info.layerCount, in createDescriptor() 86 static_cast<PixelFormat>(descriptor_info.format), in createDescriptor() [all …]
|
D | QtiMapper.h | 72 Return<void> createDescriptor(const BufferDescriptorInfo_2_0 &descriptor_info, 104 Error CreateDescriptor(const BufferDescriptorInfo_2_1& descriptor_info,
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 99 IMapper::BufferDescriptorInfo descriptor_info; in AllocateBuffer() local 100 descriptor_info.width = buffer_config.width; in AllocateBuffer() 101 descriptor_info.height = buffer_config.height; in AllocateBuffer() 102 descriptor_info.layerCount = 1; in AllocateBuffer() 103 descriptor_info.format = static_cast<PixelFormat>(format); in AllocateBuffer() 104 descriptor_info.usage = alloc_flags; in AllocateBuffer() 108 mapper_->createDescriptor(descriptor_info, [&](const auto &_error, const auto &_descriptor) { in AllocateBuffer()
|