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
main.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 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
"dmabufserverbufferintegration.h"
6
7
QT_BEGIN_NAMESPACE
8
9
class
DmaBufServerBufferIntegrationPlugin
:
public
QtWayland
::
ServerBufferIntegrationPlugin
10
{
11
Q_OBJECT
12
Q_PLUGIN_METADATA(IID QtWaylandServerBufferIntegrationFactoryInterface_iid FILE
"dmabuf-server.json"
)
13
public
:
14
QtWayland
::
ServerBufferIntegration
*
create
(
const
QString
&,
const
QStringList
&)
override
;
15
};
16
17
QtWayland::ServerBufferIntegration *
DmaBufServerBufferIntegrationPlugin
::create(
const
QString& system,
const
QStringList& paramList)
18
{
19
Q_UNUSED(paramList);
20
Q_UNUSED(system);
21
return
new
DmaBufServerBufferIntegration
(
)
;
22
}
23
24
QT_END_NAMESPACE
25
26
#
include
"main.moc"
DmaBufServerBufferIntegrationPlugin
Definition
main.cpp:10
DmaBufServerBufferIntegration
Definition
dmabufserverbufferintegration.h:71
DmaBufServerBufferIntegration::DmaBufServerBufferIntegration
DmaBufServerBufferIntegration()
Definition
dmabufserverbufferintegration.cpp:106
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtwayland
src
plugins
hardwareintegration
compositor
dmabuf-server
main.cpp
Generated on
for Qt by
1.14.0