Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
waylandeglstreamcontroller.h
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
#
ifndef
WAYLANDEGLSTREAMCONTROLLER_H
6
#
define
WAYLANDEGLSTREAMCONTROLLER_H
7
8
#
include
"qwayland-server-wl-eglstream-controller.h"
9
10
#
include
<
QtWaylandCompositor
/
private
/
qwayland
-
server
-
wayland
.
h
>
11
#
include
<
QtWaylandCompositor
/
private
/
qwlclientbufferintegration_p
.
h
>
12
13
#
include
<
QtOpenGL
/
QOpenGLTexture
>
14
#
include
<
QtCore
/
QObject
>
15
#
include
<
QtCore
/
QHash
>
16
#
include
<
QtCore
/
QSize
>
17
#
include
<
QtCore
/
QTextStream
>
18
19
#
include
<
EGL
/
egl
.
h
>
20
#
include
<
EGL
/
eglext
.
h
>
21
22
23
QT_BEGIN_NAMESPACE
24
25
class
QWaylandCompositor;
26
class
QWaylandResource;
27
class
WaylandEglStreamClientBufferIntegration
;
28
29
class
WaylandEglStreamController
:
public
QtWaylandServer
::
wl_eglstream_controller
30
{
31
public
:
32
explicit
WaylandEglStreamController
(wl_display *display,
WaylandEglStreamClientBufferIntegration
*clientBufferIntegration);
33
34
protected
:
35
void
eglstream_controller_attach_eglstream_consumer
(Resource *resource,
struct
::wl_resource *wl_surface,
struct
::wl_resource *wl_buffer)
override
;
36
37
private
:
38
WaylandEglStreamClientBufferIntegration
*m_clientBufferIntegration;
39
};
40
41
42
QT_END_NAMESPACE
43
44
#
endif
// WAYLANDEGLSTREAMCONTROLLER_H
WaylandEglStreamClientBufferIntegration
Definition
waylandeglstreamintegration.h:17
WaylandEglStreamClientBufferIntegration::attachEglStreamConsumer
void attachEglStreamConsumer(struct ::wl_resource *wl_surface, struct ::wl_resource *wl_buffer)
Definition
waylandeglstreamintegration.cpp:310
WaylandEglStreamController
Definition
waylandeglstreamcontroller.h:30
WaylandEglStreamController::WaylandEglStreamController
WaylandEglStreamController(wl_display *display, WaylandEglStreamClientBufferIntegration *clientBufferIntegration)
Definition
waylandeglstreamcontroller.cpp:16
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.h
Generated on
for Qt by
1.18.0