Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
ARB Namespace Reference

Functions

static int choosePixelFormat (HDC hdc, const QOpenGLStaticContext &staticContext, const QSurfaceFormat &format, const QWindowsOpenGLAdditionalFormat &additional, PIXELFORMATDESCRIPTOR *obtainedPfd)
static QSurfaceFormat qSurfaceFormatFromHDC (const QOpenGLStaticContext &staticContext, HDC hdc, int pixelFormat, QWindowsOpenGLAdditionalFormat *additionalIn=nullptr)
static HGLRC createContext (const QOpenGLStaticContext &staticContext, HDC hdc, const QSurfaceFormat &format, const QWindowsOpenGLAdditionalFormat &, HGLRC shared=nullptr)

Function Documentation

◆ choosePixelFormat()

int ARB::choosePixelFormat ( HDC hdc,
const QOpenGLStaticContext & staticContext,
const QSurfaceFormat & format,
const QWindowsOpenGLAdditionalFormat & additional,
PIXELFORMATDESCRIPTOR * obtainedPfd )
static

Definition at line 474 of file qwindowsglcontext.cpp.

References QOpenGLStaticContext::extensions, QWindowsOpenGLAdditionalFormat::formatFlags, QOpenGLStaticContext::hasExtensions(), QWindowsGLAccumBuffer, QWindowsGLDirectRendering, QWindowsGLOverlay, QWindowsGLRenderToPixmap, and QOpenGLStaticContext::SampleBuffers.

Here is the call graph for this function:

◆ createContext()

HGLRC ARB::createContext ( const QOpenGLStaticContext & staticContext,
HDC hdc,
const QSurfaceFormat & format,
const QWindowsOpenGLAdditionalFormat & ,
HGLRC shared = nullptr )
static

Definition at line 701 of file qwindowsglcontext.cpp.

References QOpenGLStaticContext::hasExtensions().

Here is the call graph for this function:

◆ qSurfaceFormatFromHDC()

QSurfaceFormat ARB::qSurfaceFormatFromHDC ( const QOpenGLStaticContext & staticContext,
HDC hdc,
int pixelFormat,
QWindowsOpenGLAdditionalFormat * additionalIn = nullptr )
static

Definition at line 629 of file qwindowsglcontext.cpp.

References QOpenGLStaticContext::extensions, QWindowsOpenGLAdditionalFormat::formatFlags, QOpenGLStaticContext::hasExtensions(), QWindowsGLAccumBuffer, QWindowsGLDirectRendering, QWindowsGLOverlay, QOpenGLStaticContext::SampleBuffers, and QOpenGLStaticContext::sRGBCapableFramebuffer.

Here is the call graph for this function: