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.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
23QT_BEGIN_NAMESPACE
24
25class QWaylandCompositor;
26class QWaylandResource;
28
30{
31public:
32 explicit WaylandEglStreamController(wl_display *display, WaylandEglStreamClientBufferIntegration *clientBufferIntegration);
33
34protected:
35 void eglstream_controller_attach_eglstream_consumer(Resource *resource, struct ::wl_resource *wl_surface, struct ::wl_resource *wl_buffer) override;
36
37private:
38 WaylandEglStreamClientBufferIntegration *m_clientBufferIntegration;
39};
40
41
42QT_END_NAMESPACE
43
44#endif // WAYLANDEGLSTREAMCONTROLLER_H
void attachEglStreamConsumer(struct ::wl_resource *wl_surface, struct ::wl_resource *wl_buffer)
WaylandEglStreamController(wl_display *display, WaylandEglStreamClientBufferIntegration *clientBufferIntegration)
void eglstream_controller_attach_eglstream_consumer(Resource *resource, struct ::wl_resource *wl_surface, struct ::wl_resource *wl_buffer) override