Lines Matching refs:descriptorInfo
116 static status_t validateBufferDescriptorInfo(IMapper::BufferDescriptorInfo* descriptorInfo) { in validateBufferDescriptorInfo() argument
122 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
124 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
131 descriptorInfo->format != hardware::graphics::common::V1_2::PixelFormat::BLOB && in validateBufferDescriptorInfo()
132 descriptorInfo->usage & BufferUsage::GPU_DATA_BUFFER) { in validateBufferDescriptorInfo()
178 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local
182 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor()
196 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor()
227 IMapper::BufferDescriptorInfo descriptorInfo; in validateBufferSize() local
229 usage, &descriptorInfo) != OK) { in validateBufferSize()
234 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize()
441 IMapper::BufferDescriptorInfo descriptorInfo; in isSupported() local
443 &descriptorInfo) != OK) { in isSupported()
450 auto ret = mMapper->isSupported(descriptorInfo, in isSupported()
1045 IMapper::BufferDescriptorInfo descriptorInfo; in allocate() local
1047 &descriptorInfo) != OK) { in allocate()
1052 status_t error = mMapper.createDescriptor(static_cast<void*>(&descriptorInfo), in allocate()