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
qgraphicsframecapturerenderdoc_p_p.h
Go to the documentation of this file.
1
// Copyright (C) 2023 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 reason:default
4
5
#
ifndef
QGRAPHICSFRAMECAPTURERENDERDOC_P_P_H
6
#
define
QGRAPHICSFRAMECAPTURERENDERDOC_P_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
20
#
include
<
renderdoc_app
.
h
>
21
#
include
"qgraphicsframecapture_p_p.h"
22
23
QT_BEGIN_NAMESPACE
24
25
#
if
QT_CONFIG
(
thread
)
26
class
QBasicMutex;
27
#
endif
28
29
class
QGraphicsFrameCaptureRenderDoc
:
public
QGraphicsFrameCapturePrivate
30
{
31
public
:
32
QGraphicsFrameCaptureRenderDoc
();
33
~
QGraphicsFrameCaptureRenderDoc
() =
default
;
34
35
void
setRhi
(QRhi *rhi)
override
;
36
void
startCaptureFrame
()
override
;
37
void
endCaptureFrame
()
override
;
38
bool
initialized
()
const
override
;
39
bool
isCapturing
()
const
override
;
40
void
openCapture
()
override
;
41
42
private
:
43
void
init();
44
void
updateCapturePathAndTemplate();
45
static
RENDERDOC_API_1_5_0 *s_rdocApi;
46
#
if
QT_CONFIG
(
thread
)
47
static
QBasicMutex
s_frameCaptureMutex
;
48
#
endif
49
bool
m_nativeHandlesSet;
50
};
51
52
QT_END_NAMESPACE
53
54
#
endif
// QGRAPHICSFRAMECAPTURERENDERDOC_P_P_H
QGraphicsFrameCapturePrivate
Definition
qgraphicsframecapture_p_p.h:32
QGraphicsFrameCaptureRenderDoc
The QGraphicsFrameCaptureRenderDoc class provides a way to capture a record of draw calls for differe...
Definition
qgraphicsframecapturerenderdoc_p_p.h:30
QGraphicsFrameCaptureRenderDoc::setRhi
void setRhi(QRhi *rhi) override
Definition
qgraphicsframecapturerenderdoc.cpp:104
QGraphicsFrameCaptureRenderDoc::initialized
bool initialized() const override
Returns true if the API is loaded and can capture frames or not.
Definition
qgraphicsframecapturerenderdoc.cpp:247
QGraphicsFrameCaptureRenderDoc::openCapture
void openCapture() override
Definition
qgraphicsframecapturerenderdoc.cpp:263
QGraphicsFrameCaptureRenderDoc::QGraphicsFrameCaptureRenderDoc
QGraphicsFrameCaptureRenderDoc()
Creates a new object of this class.
Definition
qgraphicsframecapturerenderdoc.cpp:97
QGraphicsFrameCaptureRenderDoc::startCaptureFrame
void startCaptureFrame() override
Starts a frame capture using the set native handles provided through QGraphicsFrameCaptureRenderDoc::...
Definition
qgraphicsframecapturerenderdoc.cpp:166
QGraphicsFrameCaptureRenderDoc::isCapturing
bool isCapturing() const override
Definition
qgraphicsframecapturerenderdoc.cpp:252
QGraphicsFrameCaptureRenderDoc::endCaptureFrame
void endCaptureFrame() override
Ends a frame capture started by a call to QGraphicsFrameCaptureRenderDoc::startCaptureFrame using the...
Definition
qgraphicsframecapturerenderdoc.cpp:198
QGraphicsFrameCaptureRenderDoc::~QGraphicsFrameCaptureRenderDoc
~QGraphicsFrameCaptureRenderDoc()=default
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
gui
util
qgraphicsframecapturerenderdoc_p_p.h
Generated on
for Qt by
1.18.0