KWin
Loading...
Searching...
No Matches
src
platformsupport
scenes
qpainter
qpaintersurfacetexture_wayland.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4
SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#pragma once
8
9
#include "
qpaintersurfacetexture.h
"
10
11
namespace
KWin
12
{
13
14
class
KWIN_EXPORT
QPainterSurfaceTextureWayland
:
public
QPainterSurfaceTexture
15
{
16
public
:
17
QPainterSurfaceTextureWayland
(
QPainterBackend
*backend,
SurfacePixmap
*pixmap);
18
19
bool
create()
override
;
20
void
update(
const
QRegion ®ion)
override
;
21
22
private
:
23
SurfacePixmap
*m_pixmap;
24
};
25
26
}
// namespace KWin
KWin::QPainterBackend
Definition
qpainterbackend.h:26
KWin::QPainterSurfaceTexture
Definition
qpaintersurfacetexture.h:19
KWin::QPainterSurfaceTextureWayland
Definition
qpaintersurfacetexture_wayland.h:15
KWin::SurfacePixmap
Definition
surfaceitem.h:96
KWin
Definition
activation_test.cpp:20
qpaintersurfacetexture.h
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0