File indexing completed on 2024-11-10 04:56:40

0001 /*
0002     SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "renderlayerdelegate.h"
0008 
0009 namespace KWin
0010 {
0011 
0012 RenderLayer *RenderLayerDelegate::layer() const
0013 {
0014     return m_layer;
0015 }
0016 
0017 void RenderLayerDelegate::setLayer(RenderLayer *layer)
0018 {
0019     m_layer = layer;
0020 }
0021 
0022 void RenderLayerDelegate::frame(OutputFrame *frame)
0023 {
0024 }
0025 
0026 QRegion RenderLayerDelegate::prePaint()
0027 {
0028     return QRegion();
0029 }
0030 
0031 void RenderLayerDelegate::postPaint()
0032 {
0033 }
0034 
0035 SurfaceItem *RenderLayerDelegate::scanoutCandidate() const
0036 {
0037     return nullptr;
0038 }
0039 
0040 } // namespace KWin