![]() |
Qt 6.x
The Qt SDK
|
#include "qopenglfunctions.h"
#include "qopenglextrafunctions.h"
#include "qopenglextensions_p.h"
#include "qdebug.h"
#include <QtGui/private/qopenglcontext_p.h>
#include <QtGui/private/qopengl_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformnativeinterface.h>
Go to the source code of this file.
Classes | |
struct | QOpenGLFunctionsPrivateEx |
Macros | |
#define | GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA |
#define | QT_OPENGL_COUNT_FUNCTIONS(ret, name, args) +1 |
#define | QT_OPENGL_FUNCTION_NAMES(ret, name, args) "gl"#name"\0" |
#define | QT_OPENGL_FLAGS(ret, name, args) 0, |
#define | QT_OPENGL_IMPLEMENT(CLASS, FUNCTIONS) |
#define | RESOLVE(name) resolve(context, "gl"#name, name) |
Functions | |
static QOpenGLFunctionsPrivateEx * | qt_gl_functions (QOpenGLContext *context=nullptr) |
static int | qt_gl_resolve_features () |
static int | qt_gl_resolve_extensions () |
static void QOPENGLF_APIENTRY | qopenglfSpecialClearDepthf (GLclampf depth) |
static void QOPENGLF_APIENTRY | qopenglfSpecialDepthRangef (GLclampf zNear, GLclampf zFar) |
static void QOPENGLF_APIENTRY | qopenglfSpecialGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) |
static GLboolean QOPENGLF_APIENTRY | qopenglfSpecialIsProgram (GLuint program) |
static GLboolean QOPENGLF_APIENTRY | qopenglfSpecialIsShader (GLuint shader) |
static void QOPENGLF_APIENTRY | qopenglfSpecialReleaseShaderCompiler () |
#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA |
Definition at line 19 of file qopenglfunctions.cpp.
Definition at line 26 of file qopenglfunctions.cpp.
Definition at line 29 of file qopenglfunctions.cpp.
Definition at line 27 of file qopenglfunctions.cpp.
#define QT_OPENGL_IMPLEMENT | ( | CLASS, | |
FUNCTIONS | |||
) |
Definition at line 31 of file qopenglfunctions.cpp.
Definition at line 2109 of file qopenglfunctions.cpp.
|
static |
Definition at line 2115 of file qopenglfunctions.cpp.
References context, QOpenGLContext::currentContext(), funcs, and qt_gl_functions().
Referenced by QOpenGLFunctionsPrivate::QOpenGLFunctionsPrivate().
|
static |
Definition at line 2122 of file qopenglfunctions.cpp.
References context, QOpenGLContext::currentContext(), funcs, and qt_gl_functions().
Referenced by QOpenGLFunctionsPrivate::QOpenGLFunctionsPrivate().
|
static |
Definition at line 2129 of file qopenglfunctions.cpp.
References Q_UNUSED.
Referenced by QOpenGLFunctionsPrivate::QOpenGLFunctionsPrivate().
|
static |
Definition at line 2136 of file qopenglfunctions.cpp.
Referenced by QOpenGLFunctionsPrivate::QOpenGLFunctionsPrivate().
|
static |
Definition at line 2141 of file qopenglfunctions.cpp.
Referenced by QOpenGLFunctionsPrivate::QOpenGLFunctionsPrivate().
|
static |
Definition at line 2146 of file qopenglfunctions.cpp.
Referenced by QOpenGLFunctionsPrivate::QOpenGLFunctionsPrivate().
|
static |
Definition at line 151 of file qopenglfunctions.cpp.
References context, QOpenGLContext::currentContext(), funcs, and Q_ASSERT.
Referenced by QOpenGLFunctions::QOpenGLFunctions(), QOpenGLFunctions::initializeOpenGLFunctions(), qopenglfSpecialClearDepthf(), and qopenglfSpecialDepthRangef().
|
static |
Definition at line 314 of file qopenglfunctions.cpp.
References QOpenGLExtensions::ASTCTextureCompression, QOpenGLExtensions::BGRATextureFormat, Qt::CaseInsensitive, QString::compare(), QOpenGLContext::currentContext(), QOpenGLExtensions::DDSTextureCompression, QOpenGLExtensions::Depth24, QOpenGLExtensions::DiscardFramebuffer, QOpenGLExtensions::ElementIndexUint, QOpenGLExtensions::ETC1TextureCompression, QOpenGLExtensions::ETC2TextureCompression, QOpenGLExtensions::FramebufferBlit, QOpenGLExtensions::FramebufferMultisample, QOpenGLExtensions::GenerateMipmap, QOpenGLExtensions::GeometryShaders, GL_FRAMEBUFFER_SRGB_CAPABLE_EXT, GLboolean(), QOpenGLExtensions::HalfFloatVertex, QOpenGLExtensions::MapBuffer, QOpenGLExtensions::MapBufferRange, QOpenGLExtensionMatcher::match(), QOpenGLExtensions::MirroredRepeat, QOpenGLExtensions::MultiView, QOpenGLExtensions::MultiViewExtended, QPlatformNativeInterface::nativeResourceForIntegration(), QOpenGLExtensions::NVFloatBuffer, QOpenGLExtensions::PackedDepthStencil, QOpenGLExtensions::PixelBufferObject, QGuiApplication::platformNativeInterface(), QOpenGLExtensions::PVRTCTextureCompression, qMakePair(), QOpenGLExtensions::Sized16Formats, QOpenGLExtensions::Sized8Formats, QOpenGLExtensions::SRGBFrameBuffer, QOpenGLExtensions::StandardDerivatives, QOpenGLExtensions::StencilTwoSide, QOpenGLExtensions::StencilWrap, QOpenGLExtensions::TextureCompression, QOpenGLExtensions::TextureRectangle, and QOpenGLExtensions::TextureSwizzle.
Referenced by QOpenGLExtensions::hasOpenGLExtension(), and QOpenGLExtensions::openGLExtensions().
|
static |
Definition at line 210 of file qopenglfunctions.cpp.
References QOpenGLFunctions::BlendColor, QOpenGLFunctions::BlendEquation, QOpenGLFunctions::BlendEquationAdvanced, QOpenGLFunctions::BlendEquationSeparate, QOpenGLFunctions::BlendFuncSeparate, QOpenGLFunctions::BlendSubtract, QOpenGLFunctions::Buffers, QSurfaceFormat::CompatibilityProfile, QOpenGLFunctions::CompressedTextures, QOpenGLContext::currentContext(), QSurfaceFormat::DeprecatedFunctions, QOpenGLFunctions::FixedFunctionPipeline, QOpenGLContext::format(), QOpenGLFunctions::Framebuffers, QOpenGLExtensionMatcher::match(), QOpenGLFunctions::MultipleRenderTargets, QOpenGLFunctions::Multisample, QOpenGLFunctions::Multitexture, QOpenGLFunctions::NPOTTextureRepeat, QOpenGLFunctions::NPOTTextures, qMakePair(), renderer, QOpenGLFunctions::Shaders, QOpenGLFunctions::StencilSeparate, and QOpenGLFunctions::TextureRGFormats.
Referenced by QOpenGLFunctions::hasOpenGLFeature(), and QOpenGLFunctions::openGLFeatures().