1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#include <QtWaylandCompositor/private/qwlserverbufferintegrationplugin_p.h>
5#include "drmeglserverbufferintegration.h"
6
7QT_BEGIN_NAMESPACE
8
9class DrmEglServerBufferIntegrationPlugin : public QtWayland::ServerBufferIntegrationPlugin
10{
11 Q_OBJECT
12 Q_PLUGIN_METADATA(IID QtWaylandServerBufferIntegrationFactoryInterface_iid FILE "drm-egl-server.json")
13public:
14 QtWayland::ServerBufferIntegration *create(const QString&, const QStringList&) override;
15};
16
17QtWayland::ServerBufferIntegration *DrmEglServerBufferIntegrationPlugin::create(const QString& system, const QStringList& paramList)
18{
19 Q_UNUSED(paramList);
20 Q_UNUSED(system);
21 return new DrmEglServerBufferIntegration();
22}
23
24QT_END_NAMESPACE
25
26#include "main.moc"
27

source code of qtwayland/src/plugins/hardwareintegration/compositor/drm-egl-server/main.cpp