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
waylandeglstreamcontroller.cpp
Go to the documentation of this file.
1
// Copyright (C) 2019 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:critical reason:network-protocol
4
5
#
include
"waylandeglstreamcontroller.h"
6
#
include
"waylandeglstreamintegration.h"
7
8
#
include
<
QtWaylandCompositor
/
QWaylandCompositor
>
9
10
#
include
<
unistd
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
15
16
WaylandEglStreamController::WaylandEglStreamController(wl_display *display, WaylandEglStreamClientBufferIntegration *clientBufferIntegration)
17
: wl_eglstream_controller(display, 1
/*version*/
)
18
, m_clientBufferIntegration(clientBufferIntegration)
19
{
20
}
21
22
void
WaylandEglStreamController
::
eglstream_controller_attach_eglstream_consumer
(Resource *resource,
struct
::wl_resource *wl_surface,
struct
::wl_resource *wl_buffer)
23
{
24
Q_UNUSED(resource);
25
m_clientBufferIntegration
->
attachEglStreamConsumer
(
wl_surface
,
wl_buffer
)
;
26
}
27
28
QT_END_NAMESPACE
WaylandEglStreamClientBufferIntegration::attachEglStreamConsumer
void attachEglStreamConsumer(struct ::wl_resource *wl_surface, struct ::wl_resource *wl_buffer)
Definition
waylandeglstreamintegration.cpp:310
WaylandEglStreamController
Definition
waylandeglstreamcontroller.h:30
WaylandEglStreamController::eglstream_controller_attach_eglstream_consumer
void eglstream_controller_attach_eglstream_consumer(Resource *resource, struct ::wl_resource *wl_surface, struct ::wl_resource *wl_buffer) override
Definition
waylandeglstreamcontroller.cpp:22
qtwayland
src
hardwareintegration
compositor
wayland-eglstream-controller
waylandeglstreamcontroller.cpp
Generated on
for Qt by
1.16.1