![]() |
Qt 6.x
The Qt SDK
|
Functions | |
static QSurfaceFormat | qSurfaceFormatFromPixelFormat (const PIXELFORMATDESCRIPTOR &pfd, QWindowsOpenGLAdditionalFormat *additionalIn=nullptr) |
static PIXELFORMATDESCRIPTOR | qPixelFormatFromSurfaceFormat (const QSurfaceFormat &format, const QWindowsOpenGLAdditionalFormat &additional) |
static int | choosePixelFormat (HDC hdc, const QSurfaceFormat &format, const QWindowsOpenGLAdditionalFormat &additional, PIXELFORMATDESCRIPTOR *obtainedPfd) |
static HGLRC | createContext (HDC hdc, HGLRC shared) |
|
static |
Definition at line 402 of file qwindowsglcontext.cpp.
References QSurfaceFormat::DoubleBuffer, QWindowsOpenGLAdditionalFormat::formatFlags, initPixelFormatDescriptor(), isAcceptableFormat(), isDirectRendering(), QOpenGLStaticContext::opengl32, qCDebug, qPixelFormatFromSurfaceFormat(), qWarning, QWindowsGLAccumBuffer, QWindowsGLDirectRendering, and testFlag().
Referenced by QWindowsGLContext::QWindowsGLContext().
|
inlinestatic |
Definition at line 458 of file qwindowsglcontext.cpp.
References QOpenGLStaticContext::opengl32, and qErrnoWarning().
Referenced by QWindowsGLContext::QWindowsGLContext().
|
static |
Definition at line 352 of file qwindowsglcontext.cpp.
References QWindowsOpenGLAdditionalFormat::formatFlags, initPixelFormatDescriptor(), QWindowsGLAccumBuffer, QWindowsGLDirectRendering, QWindowsGLRenderToPixmap, and QSurfaceFormat::SingleBuffer.
Referenced by choosePixelFormat().
|
static |
Definition at line 318 of file qwindowsglcontext.cpp.
References QSurfaceFormat::DoubleBuffer, QWindowsOpenGLAdditionalFormat::formatFlags, hasGLOverlay(), isDirectRendering(), QSurfaceFormat::OpenGL, QWindowsOpenGLAdditionalFormat::pixmapDepth, QWindowsGLAccumBuffer, QWindowsGLDirectRendering, QWindowsGLOverlay, QWindowsGLRenderToPixmap, and testFlag().
Referenced by QWindowsGLContext::QWindowsGLContext(), and QWindowsGLContext::QWindowsGLContext().