2022-02-04 18:38:37 +00:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "renderlayerdelegate.h"
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
RenderLayerDelegate::RenderLayerDelegate(QObject *parent)
|
|
|
|
: QObject(parent)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
RenderLayer *RenderLayerDelegate::layer() const
|
|
|
|
{
|
|
|
|
return m_layer;
|
|
|
|
}
|
|
|
|
|
|
|
|
void RenderLayerDelegate::setLayer(RenderLayer *layer)
|
|
|
|
{
|
|
|
|
m_layer = layer;
|
|
|
|
}
|
|
|
|
|
2022-02-16 17:13:57 +00:00
|
|
|
QRegion RenderLayerDelegate::repaints() const
|
|
|
|
{
|
|
|
|
return QRegion();
|
|
|
|
}
|
|
|
|
|
2022-02-04 18:38:37 +00:00
|
|
|
void RenderLayerDelegate::prePaint()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void RenderLayerDelegate::postPaint()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
SurfaceItem *RenderLayerDelegate::scanoutCandidate() const
|
|
|
|
{
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace KWin
|