![]() |
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 *displaydisplay, QXcbScreen *screen, const QSurfaceFormat &formatformat, QPlatformOpenGLContext *share) | |
| QGLXContext (Display *displaydisplay, 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 184 of file qglxintegration.cpp.
| QGLXContext::QGLXContext | ( | Display * | display, |
| GLXContext | context, | ||
| void * | visualInfo, | ||
| QPlatformOpenGLContext * | share ) |
Definition at line 370 of file qglxintegration.cpp.
References createDummyWindow(), and createDummyWindow().
| QGLXContext::~QGLXContext | ( | ) |
Definition at line 452 of file qglxintegration.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 532 of file qglxintegration.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 565 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 560 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 570 of file qglxintegration.cpp.
|
overridevirtual |
Reimplemented from QPlatformOpenGLContext.
Definition at line 575 of file qglxintegration.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 469 of file qglxintegration.cpp.
References QGLXPbuffer::pbuffer().
|
inlineoverride |
Definition at line 37 of file qglxintegration.h.
|
static |
Definition at line 598 of file qglxintegration.cpp.
References qglx_threadedgl_blacklist_renderer, and qglx_threadedgl_blacklist_vendor.
|
static |
Definition at line 683 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 541 of file qglxintegration.cpp.
References QGLXPbuffer::pbuffer().