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
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:
35 static QWaylandViewPrivate *get(QWaylandView *view) { return view->d_func(); }
36
39
41 void setSurface(QWaylandSurface *newSurface);
42 void clearFrontBuffer();
43
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
62
63#endif /*QWAYLANDSURFACEVIEW_P_H*/
\inmodule QtCore
Definition qmutex.h:281
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore\reentrant
Definition qpoint.h:217
The QRegion class specifies a clip region for a painter.
Definition qregion.h:27
\inmodule QtWaylandCompositor
\qmltype WaylandOutput \instantiates QWaylandOutput \inqmlmodule QtWayland.Compositor
\qmltype WaylandSurface \instantiates QWaylandSurface \inqmlmodule QtWayland.Compositor
void setSurface(QWaylandSurface *newSurface)
QWaylandOutput * output
bool broadcastRequestedPositionChanged
QWaylandSurface * surface
QWaylandBufferRef nextBuffer
QWaylandBufferRef currentBuffer
static QWaylandViewPrivate * get(QWaylandView *view)
void markSurfaceAsDestroyed(QWaylandSurface *surface)
\qmltype WaylandView \instantiates QWaylandView \inqmlmodule QtWayland.Compositor
Combined button and popup list for selecting options.
QQuickView * view
[0]