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
qdmabufimportfailure_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 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#ifndef QDMABUFIMPORTFAILURE_P_H
4#define QDMABUFIMPORTFAILURE_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <QtMultimedia/private/qtmultimediaglobal_p.h>
18
19QT_BEGIN_NAMESPACE
20
21namespace QtMultimediaPrivate {
22
23// Severity of a failure to import DMABUF planes as native (GL/Vulkan) textures.
24enum class FailureSeverity {
25 recoverable, // the caller may retry, e.g. with a different frame
26 unrecoverable, // the caller should permanently disable DMABUF import
27};
28
29} // namespace QtMultimediaPrivate
30
31QT_END_NAMESPACE
32
33#endif // QDMABUFIMPORTFAILURE_P_H