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
4#ifndef QWAYLANDSURFACEVIEW_P_H
5#define QWAYLANDSURFACEVIEW_P_H
6
7#include "qwaylandview.h"
8
9#include <QtCore/QPoint>
10#include <QtCore/QMutex>
11#include <QtCore/private/qobject_p.h>
12
13#include <QtWaylandCompositor/QWaylandBufferRef>
14
15//
16// W A R N I N G
17// -------------
18//
19// This file is not part of the Qt API. It exists purely as an
20// implementation detail. This header file may change from version to
21// version without notice, or even be removed.
22//
23// We mean it.
24//
25
27
28class QWaylandSurface;
29class QWaylandOutput;
30
32{
33 Q_DECLARE_PUBLIC(QWaylandView)
34public:
36
39
41 void setSurface(QWaylandSurface *newSurface);
42 void clearFrontBuffer();
43
45 QWaylandSurface *surface = nullptr;
46 QWaylandOutput *output = nullptr;
53 bool nextBufferCommitted = false;
54 bool bufferLocked = false;
56 bool forceAdvanceSucceed = false;
58 bool independentFrameCallback = false; //If frame callbacks are independent of the main quick scene graph
59};
60
61QT_END_NAMESPACE
62
63#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.