yuzu is the world's most popular, open-source, Nintendo Switch emulator — started by the creators of Citra. It is written in C++ with portability in mind,
// Copyright 2019 yuzu emulator team// Licensed under GPLv2 or any later version// Refer to the license.txt file included.#include"core/hle/service/vi/layer/vi_layer.h"namespaceService::VI {Layer::Layer(u64 id,std::shared_ptr<NVFlinger::BufferQueue> queue): id{id}, buffer_queue{std::move(queue)} {}Layer::~Layer() =default;}// namespace Service::VI