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>.
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)

Referenced by init().

+ Here is the caller graph for this function:

◆ 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)

Referenced by init().

+ Here is the caller graph for this function:

◆ glGetString()

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

Referenced by init().

+ Here is the caller graph for this function:

◆ HDC()

QWindowsOpengl32DLL::HDC ( WINAPI * wglGetCurrentDC)

Referenced by init().

+ Here is the caller graph for this function:

◆ HGLRC() [1/2]

QWindowsOpengl32DLL::HGLRC ( WINAPI * wglCreateContext)

Referenced by init().

+ Here is the caller graph for this function:

◆ HGLRC() [2/2]

QWindowsOpengl32DLL::HGLRC ( WINAPI * wglGetCurrentContext)

◆ init()

bool QWindowsOpengl32DLL::init ( bool softwareRendering)

Definition at line 127 of file qwindowsglcontext.cpp.

References APIENTRY, BOOL(), QString::fromLatin1(), GLenum(), glGetString(), GLint(), HDC(), HGLRC(), moduleIsNotOpengl32(), PROC(), QByteArrayLiteral, qCDebug, qErrnoWarning(), qgetenv(), resolve(), and QByteArray::toLower().

+ Here is the call graph for this function:

◆ moduleHandle()

void * QWindowsOpengl32DLL::moduleHandle ( ) const
inline

Definition at line 68 of file qwindowsglcontext.h.

◆ moduleIsNotOpengl32()

bool QWindowsOpengl32DLL::moduleIsNotOpengl32 ( ) const
inline

Definition at line 69 of file qwindowsglcontext.h.

Referenced by describePixelFormat(), init(), setPixelFormat(), and swapBuffers().

+ Here is the caller graph for this function:

◆ PROC()

QWindowsOpengl32DLL::PROC ( WINAPI * wglGetProcAddress)

Referenced by init().

+ Here is the caller graph for this function:

◆ resolve()

QFunctionPointer QWindowsOpengl32DLL::resolve ( const char * name)

Definition at line 120 of file qwindowsglcontext.cpp.

Referenced by init().

+ Here is the caller graph for this function:

◆ 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

HGLRC QWindowsOpengl32DLL::context

Definition at line 82 of file qwindowsglcontext.h.

◆ 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: