![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qwaylandglcontext_p.h>
Public Member Functions | |
| QWaylandGLContext () | |
| QWaylandGLContext (EGLDisplay eglDisplay, QWaylandDisplay *display, const QSurfaceFormat &format, QPlatformOpenGLContext *share) | |
| ~QWaylandGLContext () | |
| void | initialize () override |
| Called after a new instance is constructed. | |
| void | swapBuffers (QPlatformSurface *surface) override |
| Reimplement in subclass to native swap buffers calls. | |
| bool | makeCurrent (QPlatformSurface *surface) override |
| void | doneCurrent () override |
| void | beginFrame () override |
| Called when the RHI begins rendering a new frame in the context. | |
| void | endFrame () override |
| Called when the RHI ends rendering a in the context. | |
| GLuint | defaultFramebufferObject (QPlatformSurface *surface) const override |
| Reimplement in subclass if your platform uses framebuffer objects for surfaces. | |
| Public Member Functions inherited from QEGLPlatformContext | |
| QEGLPlatformContext (const QSurfaceFormat &format, QPlatformOpenGLContext *share, EGLDisplay display, EGLConfig *config=nullptr, Flags flags={ }) | |
| ~QEGLPlatformContext () | |
| 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 |
| EGLContext | nativeContext () const override |
| EGLConfig | config () const override |
| EGLDisplay | display () const override |
| virtual void | invalidateContext () override |
| EGLContext | eglContext () const |
| EGLDisplay | eglDisplay () const |
| EGLConfig | eglConfig () const |
| Public Member Functions inherited from QPlatformOpenGLContext | |
| QPlatformOpenGLContext () | |
| virtual | ~QPlatformOpenGLContext () |
| QOpenGLContext * | context () const |
Protected Member Functions | |
| EGLSurface | eglSurfaceForPlatformSurface (QPlatformSurface *surface) override |
| EGLSurface | createTemporaryOffscreenSurface () override |
| void | destroyTemporaryOffscreenSurface (EGLSurface surface) override |
| void | runGLChecks () override |
| Protected Member Functions inherited from QEGLPlatformContext | |
| QEGLPlatformContext () | |
| bool | checkGraphicsReset () |
Additional Inherited Members | |
| Public Types inherited from QEGLPlatformContext | |
| enum | Flag { NoSurfaceless = 0x01 } |
| Static Public Member Functions inherited from QEGLPlatformContext | |
| template<typename T> | |
| static QOpenGLContext * | createFrom (EGLContext context, EGLDisplay contextDisplay, EGLDisplay platformDisplay, QOpenGLContext *shareContext) |
| Static Public Member Functions inherited from QPlatformOpenGLContext | |
| static bool | parseOpenGLVersion (const QByteArray &versionString, int &major, int &minor) |
Definition at line 23 of file qwaylandglcontext_p.h.
| QtWaylandClient::QWaylandGLContext::QWaylandGLContext | ( | ) |
Definition at line 235 of file qwaylandglcontext.cpp.
| QtWaylandClient::QWaylandGLContext::QWaylandGLContext | ( | EGLDisplay | eglDisplay, |
| QWaylandDisplay * | display, | ||
| const QSurfaceFormat & | format, | ||
| QPlatformOpenGLContext * | share ) |
Definition at line 241 of file qwaylandglcontext.cpp.
| QtWaylandClient::QWaylandGLContext::~QWaylandGLContext | ( | ) |
Definition at line 329 of file qwaylandglcontext.cpp.
|
overridevirtual |
Called when the RHI begins rendering a new frame in the context.
Will always be paired with a call to \l endFrame().
Reimplemented from QPlatformOpenGLContext.
Definition at line 387 of file qwaylandglcontext.cpp.
|
overrideprotectedvirtual |
Reimplemented from QEGLPlatformContext.
Definition at line 282 of file qwaylandglcontext.cpp.
|
overridevirtual |
Reimplement in subclass if your platform uses framebuffer objects for surfaces.
The default implementation returns 0.
Reimplemented from QPlatformOpenGLContext.
Definition at line 513 of file qwaylandglcontext.cpp.
|
overrideprotectedvirtual |
Reimplemented from QEGLPlatformContext.
Definition at line 295 of file qwaylandglcontext.cpp.
|
overridevirtual |
Reimplemented from QEGLPlatformContext.
Definition at line 465 of file qwaylandglcontext.cpp.
|
overrideprotectedvirtual |
Implements QEGLPlatformContext.
Definition at line 521 of file qwaylandglcontext.cpp.
|
overridevirtual |
Called when the RHI ends rendering a in the context.
Is always preceded by a call to \l beginFrame().
Reimplemented from QPlatformOpenGLContext.
Definition at line 396 of file qwaylandglcontext.cpp.
|
overridevirtual |
Called after a new instance is constructed.
The default implementation does nothing.
Subclasses can use this function to perform additional initialization that relies on virtual functions.
Reimplemented from QEGLPlatformContext.
Definition at line 338 of file qwaylandglcontext.cpp.
|
overridevirtual |
Reimplemented from QEGLPlatformContext.
Definition at line 412 of file qwaylandglcontext.cpp.
|
overrideprotectedvirtual |
Reimplemented from QEGLPlatformContext.
Definition at line 304 of file qwaylandglcontext.cpp.
|
overridevirtual |
Reimplement in subclass to native swap buffers calls.
The implementation must support being called in a thread different than the gui-thread.
Reimplemented from QEGLPlatformContext.
Definition at line 471 of file qwaylandglcontext.cpp.