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
qwlclientbufferintegration_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDCLIENTBUFFERINTEGRATION_H
5#define QWAYLANDCLIENTBUFFERINTEGRATION_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtWaylandCompositor/qtwaylandcompositorglobal.h>
19#include <QtWaylandCompositor/qwaylandsurface.h>
20#include <QtWaylandCompositor/qwaylandbufferref.h>
21#include <QtCore/QSize>
22#include <QtCore/private/qglobal_p.h>
23#include <wayland-server-core.h>
24
26
27class QWaylandCompositor;
28class QOpenGLTexture;
29
30namespace QtWayland {
31class Display;
32
33class Q_WAYLANDCOMPOSITOR_EXPORT ClientBufferIntegration
34{
35public:
38
41
42 virtual void initializeHardware(struct ::wl_display *display) = 0;
43
45 virtual bool isProtected(struct ::wl_resource *buffer) { Q_UNUSED(buffer); return false; }
46
47protected:
49};
50
51}
52
53QT_END_NAMESPACE
54
55#endif // QWAYLANDCLIENTBUFFERINTEGRATION_H
\inmodule QtSql
void handleKeyEvent(QWindowSystemInterfacePrivate::KeyEvent *ke)
bool sendEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *e) override
WindowSystemEventHandler(QWaylandCompositor *c)
QtWayland::ClientBuffer * createBufferFor(wl_resource *buffer) override
void initializeHardware(wl_display *display) override
#define Q_PUBLIC_LOGGING_CATEGORY(name,...)
const QLoggingCategory & qLcWaylandCompositorTextInput()
const QLoggingCategory & qLcWaylandCompositorInputMethods()