Lines Matching refs:descriptorInfo
96 IMapper::BufferDescriptorInfo* descriptorInfo) const { in validateBufferDescriptorInfo()
99 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
101 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
107 if (descriptorInfo->usage & BufferUsage::GPU_DATA_BUFFER && in validateBufferDescriptorInfo()
108 descriptorInfo->format != hardware::graphics::common::V1_2::PixelFormat::BLOB) { in validateBufferDescriptorInfo()
118 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local
122 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor()
136 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor()
167 IMapper::BufferDescriptorInfo descriptorInfo; in validateBufferSize() local
168 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in validateBufferSize()
171 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize()
325 IMapper::BufferDescriptorInfo descriptorInfo; in isSupported() local
326 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in isSupported()
329 auto ret = mMapper->isSupported(descriptorInfo, in isSupported()
376 IMapper::BufferDescriptorInfo descriptorInfo; in allocate() local
377 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in allocate()
380 status_t error = mMapper.createDescriptor(static_cast<void*>(&descriptorInfo), in allocate()