Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
26
28
29namespace QtWayland {
30
31class HardwareIntegration : public QWaylandCompositorExtensionTemplate<HardwareIntegration>, public QtWaylandServer::qt_hardware_integration
32{
33public:
35
38
39protected:
40 void hardware_integration_bind_resource(Resource *resource) override;
41
42private:
43 QString m_client_buffer_integration_name;
44 QString m_server_buffer_integration_name;
45};
46
47}
48
50#endif
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\qmltype WaylandCompositor \instantiates QWaylandCompositor \inqmlmodule QtWayland....
void setServerBufferIntegrationName(const QString &name)
HardwareIntegration(QWaylandCompositor *compositor)
void hardware_integration_bind_resource(Resource *resource) override
void setClientBufferIntegrationName(const QString &name)
Combined button and popup list for selecting options.
static QOpenGLCompositor * compositor
GLuint name