KWin
Loading...
Searching...
No Matches
src
platformsupport
scenes
qpainter
qpainterbackend.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: 2013 Martin Gräßlin <mgraesslin@kde.org>
6
7
SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
#pragma once
10
11
#include "
core/renderbackend.h
"
12
13
#include <memory>
14
15
class
QImage;
16
class
QRegion;
17
class
QSize;
18
class
QString;
19
20
namespace
KWin
21
{
22
23
class
Output;
24
25
class
KWIN_EXPORT
QPainterBackend
:
public
RenderBackend
26
{
27
Q_OBJECT
28
29
public
:
30
virtual
~QPainterBackend
();
31
32
CompositingType
compositingType()
const
override
final
;
33
34
std::unique_ptr<SurfaceTexture> createSurfaceTextureWayland(
SurfacePixmap
*pixmap)
override
;
35
44
bool
isFailed
()
const
45
{
46
return
m_failed;
47
}
48
49
protected
:
50
QPainterBackend
();
59
void
setFailed(
const
QString &reason);
60
61
private
:
62
bool
m_failed;
63
};
64
65
}
// KWin
KWin::QPainterBackend
Definition
qpainterbackend.h:26
KWin::QPainterBackend::isFailed
bool isFailed() const
Whether the creation of the Backend failed.
Definition
qpainterbackend.h:44
KWin::RenderBackend
Definition
renderbackend.h:69
KWin::SurfacePixmap
Definition
surfaceitem.h:96
KWin
Definition
activation_test.cpp:20
KWin::CompositingType
CompositingType
Definition
globals.h:28
renderbackend.h
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0