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
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// Qt-Security score:significant reason:default
4
5#ifndef QWINDOWSOPENGLTESTER_H
6#define QWINDOWSOPENGLTESTER_H
7
8#include <QtCore/qbytearray.h>
9#include <QtCore/qflags.h>
10#include <QtCore/qlist.h>
11#include <QtCore/qversionnumber.h>
12
14
15class QDebug;
16class QVariant;
17
34
35#ifndef QT_NO_DEBUG_STREAM
36QDebug operator<<(QDebug d, const GpuDescription &gd);
37#endif
38
40{
41public:
50 Q_DECLARE_FLAGS(Renderers, Renderer)
51
53
55
56private:
57 static Renderers detectSupportedRenderers(const GpuDescription &gpu, Renderer requested);
58 static bool testDesktopGL();
59};
60
61Q_DECLARE_OPERATORS_FOR_FLAGS(QWindowsOpenGLTester::Renderers)
62
63QT_END_NAMESPACE
64
65#endif // QWINDOWSOPENGLTESTER_H
Singleton container for all relevant information.
bool asyncExpose() const
QWindowsTabletSupport * tabletSupport() const
void setAsyncExpose(bool value)
QWindowsMimeRegistry & mimeConverter() const
static QWindowsContext * instance()
Manages the list of QWindowsMimeConverter instances.
static int registerMimeType(const QString &mime)
Registers the MIME type mime, and returns an ID number identifying the format on Windows.
static QString clipboardFormatName(int cf)
QVariant convertToMime(const QStringList &mimeTypes, IDataObject *pDataObj, QMetaType preferredType, QString *format=nullptr) const
QWindowsMimeConverter * converterFromMime(const FORMATETC &formatetc, const QMimeData *mimeData) const
void registerMime(QWindowsMimeConverter *mime)
QStringList allMimesForFormats(IDataObject *pDataObj) const
QList< FORMATETC > allFormatsForMime(const QMimeData *mimeData) const
QWindowsMimeConverter * converterToMime(const QString &mimeType, IDataObject *pDataObj) const
void unregisterMime(QWindowsMimeConverter *mime)
static QWindowsOpenGLTester::Renderers supportedRenderers(Renderer requested)
Raster or OpenGL Window.
static void setHasBorderInFullScreenDefault(bool border)
Combined button and popup list for selecting options.
QString toString() const
static GpuDescription detect()
static QList< GpuDescription > detectAll()
QVariant toVariant() const
QVersionNumber driverVersion