summaryrefslogtreecommitdiffstats
path: root/src/core/ozone/ozone_util_qt.h
blob: 68ee67b0e45b4b37730579a2adb136bfed348bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default

#ifndef OZONE_UTIL_QT_H
#define OZONE_UTIL_QT_H

#include <QtCore/qglobal.h>

QT_BEGIN_NAMESPACE

class QOpenGLContext;

namespace OzoneUtilQt {
void *getXDisplay();
QOpenGLContext *getQOpenGLContext();
bool usingGLX();
bool usingEGL();
} // namespace OzoneUtilQt

QT_END_NAMESPACE

#endif // OZONE_UTIL_QT_H