File indexing completed on 2024-05-12 17:02:07
0001 /* 0002 SPDX-FileCopyrightText: 2022 Vlad Zahorodnii <vlad.zahorodnii@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "outputlayer.h" 0008 0009 namespace KWin 0010 { 0011 0012 OutputLayer::OutputLayer(QObject *parent) 0013 : QObject(parent) 0014 { 0015 } 0016 0017 QRegion OutputLayer::repaints() const 0018 { 0019 return m_repaints; 0020 } 0021 0022 void OutputLayer::addRepaint(const QRegion ®ion) 0023 { 0024 m_repaints += region; 0025 } 0026 0027 void OutputLayer::resetRepaints() 0028 { 0029 m_repaints = QRegion(); 0030 } 0031 0032 void OutputLayer::aboutToStartPainting(const QRegion &damage) 0033 { 0034 } 0035 0036 bool OutputLayer::scanout(SurfaceItem *surfaceItem) 0037 { 0038 return false; 0039 } 0040 0041 } // namespace KWin