![]() |
Qt 6.x
The Qt SDK
|
#include "qopengl.h"#include "qopengl_p.h"#include "qopenglcontext.h"#include "qopenglfunctions.h"#include "qoperatingsystemversion.h"#include "qoffscreensurface.h"#include <QtCore/QDebug>#include <QtCore/QJsonDocument>#include <QtCore/QJsonValue>#include <QtCore/QJsonObject>#include <QtCore/QJsonArray>#include <QtCore/QTextStream>#include <QtCore/QFile>#include <QtCore/QDir>
Include dependency graph for qopengl.cpp:Go to the source code of this file.
Macros | |
| #define | GL_CONTEXT_LOST 0x0507 |
Typedefs | |
| typedef const GLubyte *QOPENGLF_APIENTRYP | qt_glGetStringi(GLenum, GLuint) |
| typedef QJsonArray::ConstIterator | JsonArrayConstIt |
Functions | |
| QDebug | operator<< (QDebug d, const QOpenGLConfig::Gpu &g) |
| static bool | contains (const QJsonArray &haystack, unsigned needle) |
| static bool | contains (const QJsonArray &haystack, const QString &needle) |
| static QString | msgSyntaxWarning (const QJsonObject &object, const QString &what) |
| static bool | matches (const QJsonObject &object, const QString &osName, const QVersionNumber &kernelVersion, const QString &osRelease, const QOpenGLConfig::Gpu &gpu) |
| static bool | readGpuFeatures (const QOpenGLConfig::Gpu &gpu, const QString &osName, const QVersionNumber &kernelVersion, const QString &osRelease, const QJsonDocument &doc, QSet< QString > *result, QString *errorMessage) |
| static bool | readGpuFeatures (const QOpenGLConfig::Gpu &gpu, const QString &osName, const QVersionNumber &kernelVersion, const QString &osRelease, const QByteArray &jsonAsciiData, QSet< QString > *result, QString *errorMessage) |
| static bool | readGpuFeatures (const QOpenGLConfig::Gpu &gpu, const QString &osName, const QVersionNumber &kernelVersion, const QString &osRelease, const QString &fileName, QSet< QString > *result, QString *errorMessage) |
| #define GL_CONTEXT_LOST 0x0507 |
Definition at line 30 of file qopengl.cpp.
Definition at line 114 of file qopengl.cpp.
| typedef const GLubyte *QOPENGLF_APIENTRYP qt_glGetStringi(GLenum, GLuint) |
Definition at line 26 of file qopengl.cpp.
|
inlinestatic |
Definition at line 125 of file qopengl.cpp.
References QJsonArray::constBegin(), QJsonArray::constEnd(), and it.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 116 of file qopengl.cpp.
References QJsonArray::constBegin(), QJsonArray::constEnd(), and it.
Referenced by LowEnergyNotificationHub::LowEnergyNotificationHub(), QWindowsPrintDevice::QWindowsPrintDevice(), QScreen::~QScreen(), QMenuPrivate::actionAt(), QPdfEnginePrivate::addImage(), QRasterPaintEngine::alphaPenBlt(), QCoreApplication::arguments(), QPlatformGraphicsBufferHelper::bindSWToTexture(), QWaylandSurface::client(), QSet< T >::contains(), QRect::contains(), QRect::contains(), QRectF::contains(), convert_generic(), convert_generic_over_rgb64(), QXcbWindow::create(), QVkKhrDisplayVulkanInstance::createOrAdoptInstance(), QSocks5SocketEngineHandler::createSocketEngine(), QOutlineMapper::curveTo(), QPpdPrintDevice::defaultColorMode(), QCocoaPrintDevice::defaultColorMode(), QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), QRhiVulkan::effectiveSampleCount(), QRhiD3D11::effectiveSampleCount(), QRhiGles2::effectiveSampleCount(), QRhiMetal::effectiveSampleCount(), QMdiSubWindow::event(), QToolBar::event(), QMdiSubWindow::eventFilter(), QWindowsFontDatabaseBase::extraTryFontsForFamily(), fallbacksForFamily(), QFileInfoGatherer::fetchExtendedInformation(), QWasmIDBSettingsPrivate::get(), QWaylandMimeHelper::getByteArray(), getFontWeight(), QQuickSpinBoxPrivate::handleRelease(), QAbstractItemView::horizontalScrollbarValueChanged(), QListView::indexAt(), injectExtra(), QQuickContext2D::isPointInPath(), QQmlSettingsPrivate::load(), QAndroidInputContext::longPress(), macValue(), main(), matches(), QStandardItemModel::mimeData(), QWhatsThat::mousePressEvent(), QMenu::mousePressEvent(), QCalendarPopup::mousePressEvent(), QWidget::mousePressEvent(), QWhatsThat::mouseReleaseEvent(), QLineEdit::mouseReleaseEvent(), QPlainTextEdit::mouseReleaseEvent(), QTextEdit::mouseReleaseEvent(), QQmlLocalStorage::openDatabaseSync(), QQmlJS::Dom::FieldFilter::operator()(), parseCollection(), QQmlJS::Dom::AstRangesVisitor::preVisit(), QTest::qSignalDumperCallback(), QTest::qSignalDumperCallbackEndSignal(), QTest::qSignalDumperCallbackSlot(), AndroidPositioning::registerPositionInfoSource(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedAnchor(), QPlatformScreen::screenForPosition(), QScroller::scroller(), QSslSocket::setActiveBackend(), QAVFCameraBase::setCustomFocusPoint(), QToolButton::setDefaultAction(), QGraphicsAnchorLayoutPrivate::setItemsGeometries(), QMacPrintEngine::setProperty(), QScrollerPrivate::setState(), QOffscreenWindow::setVisible(), QMdiSubWindow::setWidget(), QXcbWindow::setWindowFlags(), QTabBar::tabAt(), testInt(), QAndroidInputContext::touchDown(), QAbstractItemView::verticalScrollbarValueChanged(), QmlTypeRegistrar::write(), and QQmlJS::Dom::QmlComponent::writeOut().
Here is the call graph for this function:
|
static |
Definition at line 270 of file qopengl.cpp.
References QJsonValue::Array, QJsonArray::constBegin(), QJsonArray::constEnd(), QByteArray::contains(), contains(), QOpenGLConfig::Gpu::deviceId, QOpenGLConfig::Gpu::driverDescription, QOpenGLConfig::Gpu::driverVersion, QOpenGLConfig::Gpu::glVendor, QJsonValue::isArray(), QByteArray::isEmpty(), QVersionNumber::isNull(), QJsonValue::isString(), it, matches(), msgSyntaxWarning(), QJsonValue::Null, QJsonValue::Object, qWarning, QJsonValue::toArray(), QJsonValue::toString(), QString::toUInt(), QString::toUtf8(), QJsonValue::type(), QJsonValue::Undefined, and QOpenGLConfig::Gpu::vendorId.
Referenced by findFileRecursion(), findSharedLibraries(), matches(), QMimeDatabasePrivate::mimeTypeForFileExtension(), QMimeDatabase::mimeTypesForFileName(), QTest::qPrintTestSlots(), and readGpuFeatures().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 258 of file qopengl.cpp.
Referenced by matches().
Here is the caller graph for this function:| QDebug operator<< | ( | QDebug | d, |
| const QOpenGLConfig::Gpu & | g | ||
| ) |
Definition at line 99 of file qopengl.cpp.
References d, Qt::hex(), and Qt::showbase().
Here is the call graph for this function:
|
static |
Definition at line 376 of file qopengl.cpp.
References QString::clear(), QByteArrayView::count(), error, errorMessage(), QJsonDocument::fromJson(), QByteArrayView::left(), readGpuFeatures(), and str.
Here is the call graph for this function:
|
static |
Definition at line 343 of file qopengl.cpp.
References QString::clear(), QJsonArray::constBegin(), QJsonArray::constEnd(), errorMessage(), QJsonArray::insert(), QJsonValue::isArray(), matches(), QJsonDocument::object(), QJsonValue::toArray(), and QJsonObject::value().
Referenced by QOpenGLConfig::gpuFeatures(), QOpenGLConfig::gpuFeatures(), readGpuFeatures(), and readGpuFeatures().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 399 of file qopengl.cpp.
References QString::clear(), errorMessage(), QIODevice::errorString(), file, fileName, QFile::open(), QString::prepend(), QIODevice::readAll(), readGpuFeatures(), QIODeviceBase::ReadOnly, str, and QDir::toNativeSeparators().
Here is the call graph for this function: