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
qwaylandview_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// Qt-Security score:significant reason:default
4
5#ifndef QWAYLANDSURFACEVIEW_P_H
6#define QWAYLANDSURFACEVIEW_P_H
7
8#include "qwaylandview.h"
9
10#include <QtCore/QPoint>
11#include <QtCore/QMutex>
12#include <QtCore/private/qobject_p.h>
13
14#include <QtWaylandCompositor/QWaylandBufferRef>
15
16//
17// W A R N I N G
18// -------------
19//
20// This file is not part of the Qt API. It exists purely as an
21// implementation detail. This header file may change from version to
22// version without notice, or even be removed.
23//
24// We mean it.
25//
26
28
29class QWaylandSurface;
30class QWaylandOutput;
31
33{
34 Q_DECLARE_PUBLIC(QWaylandView)
35public:
37
40
42 void setSurface(QWaylandSurface *newSurface);
43 void clearFrontBuffer();
44
46 QWaylandSurface *surface = nullptr;
47 QWaylandOutput *output = nullptr;
54 bool nextBufferCommitted = false;
55 bool bufferLocked = false;
57 bool forceAdvanceSucceed = false;
59 bool independentFrameCallback = false; //If frame callbacks are independent of the main quick scene graph
60};
61
62QT_END_NAMESPACE
63
64#endif /*QWAYLANDSURFACEVIEW_P_H*/
void setSurface(QWaylandSurface *newSurface)
QWaylandOutput * output
bool broadcastRequestedPositionChanged
QWaylandSurface * surface
QWaylandBufferRef nextBuffer
QWaylandBufferRef currentBuffer
Combined button and popup list for selecting options.