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
26
QT_BEGIN_NAMESPACE
27
28
class
QWaylandSurface;
29
class
QWaylandOutput;
30
31
class
QWaylandViewPrivate
:
public
QObjectPrivate
32
{
33
Q_DECLARE_PUBLIC(QWaylandView)
34
public
:
35
static
QWaylandViewPrivate
*
get
(
QWaylandView
*
view
) {
return
view
->
d_func
(); }
36
37
QWaylandViewPrivate
()
38
{ }
39
40
void
markSurfaceAsDestroyed
(
QWaylandSurface
*
surface
);
41
void
setSurface
(QWaylandSurface *newSurface);
42
void
clearFrontBuffer
();
43
44
QObject
*
renderObject
=
nullptr
;
45
QWaylandSurface *
surface
=
nullptr
;
46
QWaylandOutput *
output
=
nullptr
;
47
QPointF
requestedPos
;
48
QMutex
bufferMutex
;
49
QWaylandBufferRef
currentBuffer
;
50
QRegion
currentDamage
;
51
QWaylandBufferRef
nextBuffer
;
52
QRegion
nextDamage
;
53
bool
nextBufferCommitted
=
false
;
54
bool
bufferLocked
=
false
;
55
bool
broadcastRequestedPositionChanged
=
false
;
56
bool
forceAdvanceSucceed
=
false
;
57
bool
allowDiscardFrontBuffer
=
false
;
58
bool
independentFrameCallback
=
false
;
//If frame callbacks are independent of the main quick scene graph
59
};
60
61
QT_END_NAMESPACE
62
63
#
endif
/*QWAYLANDSURFACEVIEW_P_H*/
QWaylandViewPrivate
Definition
qwaylandview_p.h:32
QWaylandViewPrivate::allowDiscardFrontBuffer
bool allowDiscardFrontBuffer
Definition
qwaylandview_p.h:57
QWaylandViewPrivate::requestedPos
QPointF requestedPos
Definition
qwaylandview_p.h:47
QWaylandViewPrivate::setSurface
void setSurface(QWaylandSurface *newSurface)
Definition
qwaylandview.cpp:105
QWaylandViewPrivate::currentDamage
QRegion currentDamage
Definition
qwaylandview_p.h:50
QWaylandViewPrivate::nextBufferCommitted
bool nextBufferCommitted
Definition
qwaylandview_p.h:53
QWaylandViewPrivate::output
QWaylandOutput * output
Definition
qwaylandview_p.h:46
QWaylandViewPrivate::broadcastRequestedPositionChanged
bool broadcastRequestedPositionChanged
Definition
qwaylandview_p.h:55
QWaylandViewPrivate::clearFrontBuffer
void clearFrontBuffer()
Definition
qwaylandview.cpp:127
QWaylandViewPrivate::forceAdvanceSucceed
bool forceAdvanceSucceed
Definition
qwaylandview_p.h:56
QWaylandViewPrivate::independentFrameCallback
bool independentFrameCallback
Definition
qwaylandview_p.h:58
QWaylandViewPrivate::surface
QWaylandSurface * surface
Definition
qwaylandview_p.h:45
QWaylandViewPrivate::bufferMutex
QMutex bufferMutex
Definition
qwaylandview_p.h:48
QWaylandViewPrivate::nextBuffer
QWaylandBufferRef nextBuffer
Definition
qwaylandview_p.h:51
QWaylandViewPrivate::currentBuffer
QWaylandBufferRef currentBuffer
Definition
qwaylandview_p.h:49
QWaylandViewPrivate::bufferLocked
bool bufferLocked
Definition
qwaylandview_p.h:54
QWaylandViewPrivate::nextDamage
QRegion nextDamage
Definition
qwaylandview_p.h:52
QWaylandViewPrivate::renderObject
QObject * renderObject
Definition
qwaylandview_p.h:44
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtwayland
src
compositor
compositor_api
qwaylandview_p.h
Generated on
for Qt by
1.14.0