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
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
4
#include "
waylandeglstreamcontroller.h
"
5
#include "
waylandeglstreamintegration.h
"
6
7
#include <QtWaylandCompositor/QWaylandCompositor>
8
9
#include <unistd.h>
10
11
QT_BEGIN_NAMESPACE
12
13
14
15
WaylandEglStreamController::WaylandEglStreamController
(wl_display *
display
,
WaylandEglStreamClientBufferIntegration
*clientBufferIntegration)
16
: wl_eglstream_controller(
display
, 1
/*version*/
)
17
, m_clientBufferIntegration(clientBufferIntegration)
18
{
19
}
20
21
void
WaylandEglStreamController::eglstream_controller_attach_eglstream_consumer
(Resource *resource, struct ::wl_resource *wl_surface, struct ::wl_resource *wl_buffer)
22
{
23
Q_UNUSED
(resource);
24
m_clientBufferIntegration->
attachEglStreamConsumer
(wl_surface, wl_buffer);
25
}
26
27
QT_END_NAMESPACE
WaylandEglStreamClientBufferIntegration
Definition
waylandeglstreamintegration.h:15
WaylandEglStreamClientBufferIntegration::attachEglStreamConsumer
void attachEglStreamConsumer(struct ::wl_resource *wl_surface, struct ::wl_resource *wl_buffer)
Definition
waylandeglstreamintegration.cpp:309
WaylandEglStreamController::WaylandEglStreamController
WaylandEglStreamController(wl_display *display, WaylandEglStreamClientBufferIntegration *clientBufferIntegration)
Definition
waylandeglstreamcontroller.cpp:15
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:21
display
struct wl_display * display
Definition
linuxdmabuf.h:41
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
Q_UNUSED
#define Q_UNUSED(x)
Definition
qtpreprocessorsupport.h:20
waylandeglstreamcontroller.h
waylandeglstreamintegration.h
qtwayland
src
hardwareintegration
compositor
wayland-eglstream-controller
waylandeglstreamcontroller.cpp
Generated by
1.10.0