/* SPDX-FileCopyrightText: 2022 Vlad Zahorodnii SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include "kwin_export.h" #include #include namespace KWin { class KWIN_EXPORT OutputLayer : public QObject { Q_OBJECT public: explicit OutputLayer(QObject *parent = nullptr); QRegion repaints() const; void resetRepaints(); void addRepaint(const QRegion ®ion); private: QRegion m_repaints; }; } // namespace KWin