5#include <QSurfaceFormat>
6#if __has_include(<private/qshader_p.h>)
7#include <private/qshader_p.h>
10#include <score_lib_base_export.h>
32SCORE_LIB_BASE_TEST_EXPORT QString
37SCORE_LIB_BASE_TEST_EXPORT QString
43 const QString& kernelVersion,
const QString& libraryVersion)
noexcept;
77 QSurfaceFormat::RenderableType type{};
79#if __has_include(<private/qshader_p.h>)
80 QShaderVersion qShaderVersion;
83 void setupFormat(QSurfaceFormat& fmt);
86#if __has_include(<private/qshader_p.h>)
88SCORE_LIB_BASE_EXPORT QShaderVersion qShaderVersion(
const QSurfaceFormat& fmt)
noexcept;
92SCORE_LIB_BASE_EXPORT
void pinDefaultOpenGLFormat() noexcept;
Base toolkit upon which the software is built.
Definition Application.cpp:83
NvidiaGlxVendorState
Whether the NVIDIA GLX vendor library can be asked to provide GL.
Definition OpenGL.hpp:16
@ VersionMismatch
Different releases: every GLX context creation fails with BadValue.
@ Consistent
Both halves agree.
@ NotInstalled
Kernel module loaded, no GLX vendor library.
@ Unknown
Versions unreadable; treated as usable.
@ NoDriver
No NVIDIA kernel module.
QString nvidiaKernelDriverVersion(const QString &procVersionText) noexcept
Definition OpenGL.cpp:29
QString nvidiaGlxLibraryVersion(const QString &libraryPath) noexcept
Definition OpenGL.cpp:43
NvidiaGlxVendorState nvidiaGlxVendorState() noexcept
Definition OpenGL.cpp:66
void setupDefaultOpenGLFormat() noexcept
Definition OpenGL.cpp:244