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