KWin
Loading...
Searching...
No Matches
placeholderoutput.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2022 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "core/output.h"
10
11namespace KWin
12{
13
15{
16 Q_OBJECT
17
18public:
19 PlaceholderOutput(const QSize &size, qreal scale = 1);
20 ~PlaceholderOutput() override;
21
22 RenderLoop *renderLoop() const override;
23
24private:
25 std::unique_ptr<RenderLoop> m_renderLoop;
26};
27
28} // namespace KWin
qreal scale() const
Definition output.cpp:455
PlaceholderOutput(const QSize &size, qreal scale=1)
RenderLoop * renderLoop() const override