Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
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, 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 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, QWindowsGLAccumBuffer, QWindowsGLDirectRendering, QWindowsGLOverlay, QWindowsGLRenderToPixmap, QSurfaceFormat::setRenderableType(), and testFlag().
Referenced by QWindowsGLContext::QWindowsGLContext(), and QWindowsGLContext::QWindowsGLContext().