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// Qt-Security score:significant reason:default
4
5#ifndef QWAYLANDCLIENTBUFFERINTEGRATION_H
6#define QWAYLANDCLIENTBUFFERINTEGRATION_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtWaylandCompositor/qtwaylandcompositorglobal.h>
20#include <QtWaylandCompositor/qwaylandsurface.h>
21#include <QtWaylandCompositor/qwaylandbufferref.h>
22#include <QtCore/QSize>
23#include <QtCore/private/qglobal_p.h>
24#include <wayland-server-core.h>
25
27
28class QWaylandCompositor;
29class QOpenGLTexture;
30
31namespace QtWayland {
32class Display;
33
34class Q_WAYLANDCOMPOSITOR_EXPORT ClientBufferIntegration
35{
36public:
39
42
43 virtual void initializeHardware(struct ::wl_display *display) = 0;
44
46 virtual bool isProtected(struct ::wl_resource *buffer) { Q_UNUSED(buffer); return false; }
47
48protected:
50};
51
52}
53
54QT_END_NAMESPACE
55
56#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
Combined button and popup list for selecting options.
#define Q_PUBLIC_LOGGING_CATEGORY(name,...)
const QLoggingCategory & qLcWaylandCompositorTextInput()
const QLoggingCategory & qLcWaylandCompositorInputMethods()