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
qwlbuffermanager_p.h
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#ifndef QWLBUFFERMANAGER_H
5
#define QWLBUFFERMANAGER_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 <QtCore/QObject>
19
#include <QtCore/QHash>
20
#include "
qwlclientbuffer_p.h
"
21
QT_BEGIN_NAMESPACE
22
23
class
QWaylandCompositor
;
24
25
namespace
QtWayland
{
26
27
class
ClientBuffer;
28
29
class
Q_WAYLANDCOMPOSITOR_EXPORT
BufferManager
:
public
QObject
30
{
31
public
:
32
BufferManager
(
QWaylandCompositor
*
compositor
);
33
ClientBuffer
*getBuffer(struct ::wl_resource *buffer_resource);
34
void
registerBuffer(struct ::wl_resource *buffer_resource,
ClientBuffer
*
clientBuffer
);
35
private
:
36
friend
struct
buffer_manager_destroy_listener
;
37
static
void
destroy_listener_callback(wl_listener *listener,
void
*
data
);
38
39
QHash<struct ::wl_resource *, ClientBuffer*> m_buffers;
40
QWaylandCompositor
*m_compositor =
nullptr
;
41
};
42
43
}
44
QT_END_NAMESPACE
45
46
#endif
// QWLBUFFERMANAGER_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QWaylandCompositor
\qmltype WaylandCompositor \instantiates QWaylandCompositor \inqmlmodule QtWayland....
QtWayland::BufferManager
Definition
qwlbuffermanager_p.h:30
QtWayland::ClientBuffer
Definition
qwlclientbuffer_p.h:45
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QtWayland
Definition
qwaylanddatadevice_p.h:34
compositor
static QOpenGLCompositor * compositor
Definition
qopenglcompositor.cpp:41
data
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
Definition
qopengles2ext.h:206
clientBuffer
GLintptr GLsizeiptr GLeglClientBufferEXT clientBuffer
Definition
qopengles2ext.h:1418
qwlclientbuffer_p.h
QtWayland::buffer_manager_destroy_listener
Definition
qwlbuffermanager.cpp:22
qtwayland
src
compositor
wayland_wrapper
qwlbuffermanager_p.h
Generated by
1.10.0