Lines Matching refs:descriptorInfo

102         IMapper::BufferDescriptorInfo* descriptorInfo) const {  in validateBufferDescriptorInfo()
108 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
110 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
116 if (descriptorInfo->usage & BufferUsage::GPU_DATA_BUFFER && in validateBufferDescriptorInfo()
117 descriptorInfo->format != hardware::graphics::common::V1_1::PixelFormat::BLOB) { in validateBufferDescriptorInfo()
127 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local
131 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor()
149 ret = mMapperV2_1->createDescriptor_2_1(*descriptorInfo, hidl_cb); in createDescriptor()
152 descriptorInfo->width, in createDescriptor()
153 descriptorInfo->height, in createDescriptor()
154 descriptorInfo->layerCount, in createDescriptor()
155 static_cast<hardware::graphics::common::V1_0::PixelFormat>(descriptorInfo->format), in createDescriptor()
156 descriptorInfo->usage, in createDescriptor()
198 IMapper::BufferDescriptorInfo descriptorInfo = {}; in validateBufferSize() local
199 descriptorInfo.width = width; in validateBufferSize()
200 descriptorInfo.height = height; in validateBufferSize()
201 descriptorInfo.layerCount = layerCount; in validateBufferSize()
202 descriptorInfo.format = static_cast<hardware::graphics::common::V1_1::PixelFormat>(format); in validateBufferSize()
203 descriptorInfo.usage = usage; in validateBufferSize()
206 auto ret = mMapperV2_1->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize()
389 IMapper::BufferDescriptorInfo descriptorInfo = {}; in allocate() local
390 descriptorInfo.width = width; in allocate()
391 descriptorInfo.height = height; in allocate()
392 descriptorInfo.layerCount = layerCount; in allocate()
393 descriptorInfo.format = static_cast<hardware::graphics::common::V1_1::PixelFormat>(format); in allocate()
394 descriptorInfo.usage = usage; in allocate()
397 status_t error = mMapper.createDescriptor(static_cast<void*>(&descriptorInfo), in allocate()