![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qglxintegration.h>
Public Member Functions | |
QGLXContext (Display *display, QXcbScreen *screen, const QSurfaceFormat &format, QPlatformOpenGLContext *share) | |
QGLXContext (Display *display, GLXContext context, void *visualInfo, QPlatformOpenGLContext *share) | |
~QGLXContext () | |
bool | makeCurrent (QPlatformSurface *surface) override |
void | doneCurrent () override |
void | swapBuffers (QPlatformSurface *surface) override |
Reimplement in subclass to native swap buffers calls. | |
QFunctionPointer | getProcAddress (const char *procName) override |
Reimplement in subclass to allow dynamic querying of OpenGL symbols. | |
QSurfaceFormat | format () const override |
bool | isSharing () const override |
bool | isValid () const override |
GLXContext | nativeContext () const override |
GLXContext | glxContext () const |
GLXFBConfig | glxConfig () const |
Public Member Functions inherited from QPlatformOpenGLContext | |
QPlatformOpenGLContext () | |
virtual | ~QPlatformOpenGLContext () |
virtual void | initialize () |
Called after a new instance is constructed. | |
virtual GLuint | defaultFramebufferObject (QPlatformSurface *surface) const |
Reimplement in subclass if your platform uses framebuffer objects for surfaces. | |
virtual void | beginFrame () |
Called when the RHI begins rendering a new frame in the context. | |
virtual void | endFrame () |
Called when the RHI ends rendering a in the context. | |
QOpenGLContext * | context () const |
Static Public Member Functions | |
static bool | supportsThreading () |
static void | queryDummyContext () |
Static Public Member Functions inherited from QPlatformOpenGLContext | |
static bool | parseOpenGLVersion (const QByteArray &versionString, int &major, int &minor) |
Definition at line 20 of file qglxintegration.h.
QGLXContext::QGLXContext | ( | Display * | display, |
QXcbScreen * | screen, | ||
const QSurfaceFormat & | format, | ||
QPlatformOpenGLContext * | share ) |
Definition at line 187 of file qglxintegration.cpp.
QGLXContext::QGLXContext | ( | Display * | display, |
GLXContext | context, | ||
void * | visualInfo, | ||
QPlatformOpenGLContext * | share ) |
Definition at line 373 of file qglxintegration.cpp.
References createDummyWindow(), and createDummyWindow().
QGLXContext::~QGLXContext | ( | ) |
Definition at line 455 of file qglxintegration.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 533 of file qglxintegration.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 566 of file qglxintegration.cpp.
|
overridevirtual |
Reimplement in subclass to allow dynamic querying of OpenGL symbols.
As opposed to e.g. the wglGetProcAddress function on Windows, Qt expects this methods to be able to return valid function pointers even for standard OpenGL symbols.
Implements QPlatformOpenGLContext.
Definition at line 561 of file qglxintegration.cpp.
|
inline |
Definition at line 40 of file qglxintegration.h.
|
inline |
Definition at line 39 of file qglxintegration.h.
|
overridevirtual |
Reimplemented from QPlatformOpenGLContext.
Definition at line 571 of file qglxintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformOpenGLContext.
Definition at line 576 of file qglxintegration.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 472 of file qglxintegration.cpp.
References QGLXPbuffer::pbuffer().
|
inlineoverride |
Definition at line 37 of file qglxintegration.h.
|
static |
Definition at line 599 of file qglxintegration.cpp.
References qglx_threadedgl_blacklist_renderer, and qglx_threadedgl_blacklist_vendor.
|
static |
Definition at line 715 of file qglxintegration.cpp.
|
overridevirtual |
Reimplement in subclass to native swap buffers calls.
The implementation must support being called in a thread different than the gui-thread.
Implements QPlatformOpenGLContext.
Definition at line 542 of file qglxintegration.cpp.
References QGLXPbuffer::pbuffer().