![]() |
Qt 6.x
The Qt SDK
|
#include <qwindowsglcontext.h>
Public Member Functions | |
bool | init (bool softwareRendering) |
void * | moduleHandle () const |
bool | moduleIsNotOpengl32 () const |
BOOL | swapBuffers (HDC dc) |
BOOL | setPixelFormat (HDC dc, int pf, const PIXELFORMATDESCRIPTOR *pfd) |
int | describePixelFormat (HDC dc, int pf, UINT size, PIXELFORMATDESCRIPTOR *pfd) |
HGLRC (WINAPI *wglCreateContext)(HDC dc) | |
BOOL (WINAPI *wglDeleteContext)(HGLRC context) | |
HGLRC (WINAPI *wglGetCurrentContext)() | |
HDC (WINAPI *wglGetCurrentDC)() | |
PROC (WINAPI *wglGetProcAddress)(LPCSTR name) | |
BOOL (WINAPI *wglMakeCurrent)(HDC dc | |
BOOL (WINAPI *wglShareLists)(HGLRC context1 | |
GLenum (APIENTRY *glGetError)() | |
void (APIENTRY *glGetIntegerv)(GLenum pname | |
const GLubyte *APIENTRY * | glGetString (GLenum name) |
QFunctionPointer | resolve (const char *name) |
Public Attributes | |
HGLRC | context |
HGLRC | context2 |
GLint * | params |
Definition at line 65 of file qwindowsglcontext.h.
QWindowsOpengl32DLL::BOOL | ( | WINAPI * | wglDeleteContext | ) |
QWindowsOpengl32DLL::BOOL | ( | WINAPI * | wglMakeCurrent | ) |
QWindowsOpengl32DLL::BOOL | ( | WINAPI * | wglShareLists | ) |
int QWindowsOpengl32DLL::describePixelFormat | ( | HDC | dc, |
int | pf, | ||
UINT | size, | ||
PIXELFORMATDESCRIPTOR * | pfd | ||
) |
Definition at line 188 of file qwindowsglcontext.cpp.
References moduleIsNotOpengl32().
Referenced by ARB::choosePixelFormat(), and describeFormats().
QWindowsOpengl32DLL::GLenum | ( | APIENTRY * | glGetError | ) |
Referenced by QOpenGLStaticContext::getGlString(), and init().
QWindowsOpengl32DLL::HDC | ( | WINAPI * | wglGetCurrentDC | ) |
QWindowsOpengl32DLL::HGLRC | ( | WINAPI * | wglCreateContext | ) |
QWindowsOpengl32DLL::HGLRC | ( | WINAPI * | wglGetCurrentContext | ) |
bool QWindowsOpengl32DLL::init | ( | bool | softwareRendering | ) |
Definition at line 127 of file qwindowsglcontext.cpp.
References APIENTRY, BOOL(), QByteArray::constData(), QString::fromLatin1(), GLenum(), glGetString(), GLint(), HDC(), HGLRC(), QByteArray::isEmpty(), moduleIsNotOpengl32(), PROC(), QByteArrayLiteral, qCDebug, qErrnoWarning(), qgetenv(), resolve(), and QByteArray::toLower().
Referenced by QOpenGLStaticContext::create().
|
inline |
Definition at line 68 of file qwindowsglcontext.h.
Referenced by QOpenGLStaticContext::moduleHandle().
|
inline |
Definition at line 69 of file qwindowsglcontext.h.
Referenced by describePixelFormat(), init(), isSoftwareGl(), setPixelFormat(), QOpenGLStaticContext::supportsThreadedOpenGL(), and swapBuffers().
QWindowsOpengl32DLL::PROC | ( | WINAPI * | wglGetProcAddress | ) |
QFunctionPointer QWindowsOpengl32DLL::resolve | ( | const char * | name | ) |
Definition at line 120 of file qwindowsglcontext.cpp.
Referenced by QWindowsGLContext::getProcAddress(), and init().
Definition at line 183 of file qwindowsglcontext.cpp.
References moduleIsNotOpengl32().
Definition at line 178 of file qwindowsglcontext.cpp.
References moduleIsNotOpengl32().
Referenced by QWindowsGLContext::swapBuffers().
QWindowsOpengl32DLL::void | ( | APIENTRY * | glGetIntegerv | ) |
HGLRC QWindowsOpengl32DLL::context |
Definition at line 82 of file qwindowsglcontext.h.
HGLRC QWindowsOpengl32DLL::context2 |
Definition at line 83 of file qwindowsglcontext.h.
GLint* QWindowsOpengl32DLL::params |
Definition at line 87 of file qwindowsglcontext.h.