KWin
Loading...
Searching...
No Matches
src
compositor_wayland.h
Go to the documentation of this file.
1
/*
2
KWin - the KDE window manager
3
This file is part of the KDE project.
4
5
SPDX-FileCopyrightText: 2011 Arthur Arlt <a.arlt@stud.uni-heidelberg.de>
6
SPDX-FileCopyrightText: 2012 Martin Gräßlin <mgraesslin@kde.org>
7
8
SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#pragma once
12
13
#include "
compositor.h
"
14
#include "
effect/globals.h
"
15
16
namespace
KWin
17
{
18
19
class
KWIN_EXPORT
WaylandCompositor
final :
public
Compositor
20
{
21
Q_OBJECT
22
public
:
23
static
WaylandCompositor
*create(QObject *parent =
nullptr
);
24
~WaylandCompositor
()
override
;
25
26
protected
:
27
void
start()
override
;
28
void
stop()
override
;
29
30
private
:
31
explicit
WaylandCompositor
(QObject *parent);
32
33
bool
attemptOpenGLCompositing();
34
bool
attemptQPainterCompositing();
35
36
void
addOutput(
Output
*output);
37
void
removeOutput(
Output
*output);
38
39
CompositingType
m_selectedCompositor =
NoCompositing
;
40
};
41
42
}
// namespace KWin
KWin::Compositor
Definition
compositor.h:35
KWin::Output
Definition
output.h:132
KWin::WaylandCompositor
Definition
compositor_wayland.h:20
compositor.h
globals.h
KWin
Definition
activation_test.cpp:20
KWin::CompositingType
CompositingType
Definition
globals.h:28
KWin::NoCompositing
@ NoCompositing
Definition
globals.h:29
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0