Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwindowsopengltester.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
4#ifndef QWINDOWSOPENGLTESTER_H
5#define QWINDOWSOPENGLTESTER_H
6
7#include <QtCore/qbytearray.h>
8#include <QtCore/qflags.h>
9#include <QtCore/qlist.h>
10#include <QtCore/qversionnumber.h>
11
13
14class QDebug;
15class QVariant;
16
33
34#ifndef QT_NO_DEBUG_STREAM
36#endif
37
39{
40public:
49 Q_DECLARE_FLAGS(Renderers, Renderer)
50
52
53 static QWindowsOpenGLTester::Renderers supportedRenderers(Renderer requested);
54
55private:
56 static Renderers detectSupportedRenderers(const GpuDescription &gpu, Renderer requested);
57 static bool testDesktopGL();
58};
59
60Q_DECLARE_OPERATORS_FOR_FLAGS(QWindowsOpenGLTester::Renderers)
61
63
64#endif // QWINDOWSOPENGLTESTER_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qvariant.h:65
\inmodule QtCore
static Renderer requestedRenderer()
static QWindowsOpenGLTester::Renderers supportedRenderers(Renderer requested)
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
Definition qflags.h:174
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
Definition qflags.h:194
unsigned int uint
Definition qtypes.h:34
QDebug operator<<(QDebug d, const GpuDescription &gd)
QString toString() const
static GpuDescription detect()
static QList< GpuDescription > detectAll()
QVariant toVariant() const
QVersionNumber driverVersion