Lines Matching refs:hardwareBuffer
384 case Tag::hardwareBuffer: { in unvalidatedConvert()
385 const auto& hardwareBuffer = memory.get<Tag::hardwareBuffer>(); in unvalidatedConvert() local
388 NN_TRY(nativeHandleFromAidlHandle(hardwareBuffer.handle)); in unvalidatedConvert()
392 .width = static_cast<uint32_t>(hardwareBuffer.description.width), in unvalidatedConvert()
393 .height = static_cast<uint32_t>(hardwareBuffer.description.height), in unvalidatedConvert()
394 .layers = static_cast<uint32_t>(hardwareBuffer.description.layers), in unvalidatedConvert()
395 .format = static_cast<uint32_t>(hardwareBuffer.description.format), in unvalidatedConvert()
396 .usage = static_cast<uint64_t>(hardwareBuffer.description.usage), in unvalidatedConvert()
397 .stride = static_cast<uint32_t>(hardwareBuffer.description.stride), in unvalidatedConvert()
719 auto hardwareBuffer = graphics::common::HardwareBuffer{ in unvalidatedConvert()
723 return Memory::make<Memory::Tag::hardwareBuffer>(std::move(hardwareBuffer)); in unvalidatedConvert()