Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlprofilerdefinitions_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant
4
5
#
ifndef
QQMLPROFILERDEFINITIONS_P_H
6
#
define
QQMLPROFILERDEFINITIONS_P_H
7
8
#
include
<
private
/
qtqmlglobal_p
.
h
>
9
#
include
<
private
/
qv4profiling_p
.
h
>
10
11
QT_REQUIRE_CONFIG
(
qml_debug
);
12
13
//
14
// W A R N I N G
15
// -------------
16
//
17
// This file is not part of the Qt API. It exists purely as an
18
// implementation detail. This header file may change from version to
19
// version without notice, or even be removed.
20
//
21
// We mean it.
22
//
23
24
QT_BEGIN_NAMESPACE
25
26
struct
QQmlProfilerDefinitions {
27
enum
Message {
28
Event,
29
RangeStart,
30
RangeData,
31
RangeLocation,
32
RangeEnd,
33
Complete,
// end of transmission
34
PixmapCacheEvent,
35
SceneGraphFrame,
36
MemoryAllocation,
37
DebugMessage,
38
Quick3DFrame,
39
40
MaximumMessage
41
};
42
43
enum
EventType {
44
FramePaint,
45
Mouse,
46
Key,
47
AnimationFrame,
48
EndTrace,
49
StartTrace,
50
51
MaximumEventType
52
};
53
54
enum
RangeType {
55
Painting,
56
Compiling,
57
Creating,
58
Binding,
//running a binding
59
HandlingSignal,
//running a signal handler
60
Javascript,
61
62
MaximumRangeType
63
};
64
65
enum
PixmapEventType {
66
PixmapSizeKnown,
67
PixmapReferenceCountChanged,
68
PixmapCacheCountChanged,
69
PixmapLoadingStarted,
70
PixmapLoadingFinished,
71
PixmapLoadingError,
72
73
MaximumPixmapEventType
74
};
75
76
enum
SceneGraphFrameType {
77
SceneGraphRendererFrame,
// Render Thread
78
SceneGraphAdaptationLayerFrame,
// Render Thread
79
SceneGraphContextFrame,
// Render Thread
80
SceneGraphRenderLoopFrame,
// Render Thread
81
SceneGraphTexturePrepare,
// Render Thread
82
SceneGraphTextureDeletion,
// Render Thread
83
SceneGraphPolishAndSync,
// GUI Thread
84
SceneGraphWindowsRenderShow,
// Unused
85
SceneGraphWindowsAnimations,
// GUI Thread
86
SceneGraphPolishFrame,
// GUI Thread
87
88
MaximumSceneGraphFrameType,
89
NumRenderThreadFrameTypes = SceneGraphPolishAndSync,
90
NumGUIThreadFrameTypes = MaximumSceneGraphFrameType - NumRenderThreadFrameTypes
91
};
92
93
enum
Quick3DFrameType {
94
Quick3DRenderFrame,
// Render Thread
95
Quick3DSynchronizeFrame,
96
Quick3DPrepareFrame,
97
Quick3DMeshLoad,
98
Quick3DCustomMeshLoad,
99
Quick3DTextureLoad,
100
Quick3DGenerateShader,
101
Quick3DLoadShader,
102
Quick3DParticleUpdate,
// GUI Thread
103
Quick3DRenderCall,
// Render Thread
104
Quick3DRenderPass,
// Render Thread
105
Quick3DEventData,
// N/A
106
MaximumQuick3DFrameType,
107
};
108
109
enum
ProfileFeature {
110
ProfileJavaScript,
111
ProfileMemory,
112
ProfilePixmapCache,
113
ProfileSceneGraph,
114
ProfileAnimations,
115
ProfilePainting,
116
ProfileCompiling,
117
ProfileCreating,
118
ProfileBinding,
119
ProfileHandlingSignal,
120
ProfileInputEvents,
121
ProfileDebugMessages,
122
ProfileQuick3D,
123
124
MaximumProfileFeature
125
};
126
127
enum
InputEventType {
128
InputKeyPress,
129
InputKeyRelease,
130
InputKeyUnknown,
131
132
InputMousePress,
133
InputMouseRelease,
134
InputMouseMove,
135
InputMouseDoubleClick,
136
InputMouseWheel,
137
InputMouseUnknown,
138
139
MaximumInputEventType
140
};
141
};
142
143
QT_END_NAMESPACE
144
145
#
endif
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(qml_debug)
qtdeclarative
src
qml
debugger
qqmlprofilerdefinitions_p.h
Generated on
for Qt by
1.18.0