Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwlhwintegration_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#
ifndef
QWLHWINTEGRATION_P_H
5
#
define
QWLHWINTEGRATION_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtWaylandCompositor
/
private
/
qwayland
-
server
-
hardware
-
integration
.
h
>
19
20
#
include
<
QtWaylandCompositor
/
QWaylandCompositorExtension
>
21
22
#
include
<
QtCore
/
QString
>
23
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
class
QWaylandCompositor;
28
29
namespace
QtWayland
{
30
31
class
HardwareIntegration
:
public
QWaylandCompositorExtensionTemplate
<
HardwareIntegration
>,
public
QtWaylandServer
::
qt_hardware_integration
32
{
33
public
:
34
HardwareIntegration
(QWaylandCompositor *compositor);
35
36
void
setClientBufferIntegrationName
(
const
QString &name);
37
void
setServerBufferIntegrationName
(
const
QString &name);
38
39
protected
:
40
void
hardware_integration_bind_resource
(Resource *resource)
override
;
41
42
private
:
43
QString m_client_buffer_integration_name;
44
QString m_server_buffer_integration_name;
45
};
46
47
}
48
49
QT_END_NAMESPACE
50
#
endif
QtWayland::HardwareIntegration
Definition
qwlhwintegration_p.h:32
QtWayland::HardwareIntegration::setServerBufferIntegrationName
void setServerBufferIntegrationName(const QString &name)
Definition
qwlhwintegration.cpp:22
QtWayland::HardwareIntegration::HardwareIntegration
HardwareIntegration(QWaylandCompositor *compositor)
Definition
qwlhwintegration.cpp:12
QtWayland::HardwareIntegration::hardware_integration_bind_resource
void hardware_integration_bind_resource(Resource *resource) override
Definition
qwlhwintegration.cpp:27
QtWayland::HardwareIntegration::setClientBufferIntegrationName
void setClientBufferIntegrationName(const QString &name)
Definition
qwlhwintegration.cpp:18
QPlatformGraphicsBufferHelper
\inmodule QtGui
QtWayland
Definition
qwaylanddisplay_p.h:51
qtwayland
src
compositor
hardware_integration
qwlhwintegration_p.h
Generated on
for Qt by
1.14.0