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
QWindowsOpengl32DLL Struct Reference

#include <qwindowsglcontext.h>

Collaboration diagram for QWindowsOpengl32DLL:

Public Member Functions

bool init (bool softwareRendering)
voidmoduleHandle () 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 *APIENTRYglGetString (GLenum name)
QFunctionPointer resolve (const char *name)

Public Attributes

HGLRC context
HGLRC context2
GLintparams

Detailed Description

Definition at line 65 of file qwindowsglcontext.h.

Member Function Documentation

◆ BOOL() [1/3]

QWindowsOpengl32DLL::BOOL ( WINAPI * wglDeleteContext)

◆ BOOL() [2/3]

QWindowsOpengl32DLL::BOOL ( WINAPI * wglMakeCurrent)

◆ BOOL() [3/3]

QWindowsOpengl32DLL::BOOL ( WINAPI * wglShareLists)

◆ describePixelFormat()

int QWindowsOpengl32DLL::describePixelFormat ( HDC dc,
int pf,
UINT size,
PIXELFORMATDESCRIPTOR * pfd )

Definition at line 188 of file qwindowsglcontext.cpp.

References moduleIsNotOpengl32().

Here is the call graph for this function:

◆ GLenum()

QWindowsOpengl32DLL::GLenum ( APIENTRY * glGetError)

◆ glGetString()

const GLubyte *APIENTRY * QWindowsOpengl32DLL::glGetString ( GLenum name)

◆ HDC()

QWindowsOpengl32DLL::HDC ( WINAPI * wglGetCurrentDC)

◆ HGLRC() [1/2]

QWindowsOpengl32DLL::HGLRC ( WINAPI * wglCreateContext)

◆ HGLRC() [2/2]

QWindowsOpengl32DLL::HGLRC ( WINAPI * wglGetCurrentContext)

◆ init()

bool QWindowsOpengl32DLL::init ( bool softwareRendering)

Definition at line 127 of file qwindowsglcontext.cpp.

References moduleIsNotOpengl32().

Referenced by QOpenGLStaticContext::create().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ moduleHandle()

void * QWindowsOpengl32DLL::moduleHandle ( ) const
inline

Definition at line 68 of file qwindowsglcontext.h.

Referenced by QOpenGLStaticContext::moduleHandle().

Here is the caller graph for this function:

◆ moduleIsNotOpengl32()

bool QWindowsOpengl32DLL::moduleIsNotOpengl32 ( ) const
inline

Definition at line 69 of file qwindowsglcontext.h.

Referenced by GDI::choosePixelFormat(), describePixelFormat(), init(), setPixelFormat(), QOpenGLStaticContext::supportsThreadedOpenGL(), and swapBuffers().

Here is the caller graph for this function:

◆ PROC()

QWindowsOpengl32DLL::PROC ( WINAPI * wglGetProcAddress)

◆ resolve()

QFunctionPointer QWindowsOpengl32DLL::resolve ( const char * name)

Definition at line 120 of file qwindowsglcontext.cpp.

◆ setPixelFormat()

BOOL QWindowsOpengl32DLL::setPixelFormat ( HDC dc,
int pf,
const PIXELFORMATDESCRIPTOR * pfd )

Definition at line 183 of file qwindowsglcontext.cpp.

References moduleIsNotOpengl32().

Here is the call graph for this function:

◆ swapBuffers()

BOOL QWindowsOpengl32DLL::swapBuffers ( HDC dc)

Definition at line 178 of file qwindowsglcontext.cpp.

References moduleIsNotOpengl32().

Here is the call graph for this function:

◆ void()

QWindowsOpengl32DLL::void ( APIENTRY * glGetIntegerv)

Member Data Documentation

◆ context

◆ context2

HGLRC QWindowsOpengl32DLL::context2

Definition at line 83 of file qwindowsglcontext.h.

◆ params

GLint* QWindowsOpengl32DLL::params

Definition at line 87 of file qwindowsglcontext.h.


The documentation for this struct was generated from the following files: