![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qwaylandbrcmglcontext.h>
Public Member Functions | |
| QWaylandBrcmGLContext () | |
| QWaylandBrcmGLContext (EGLDisplay eglDisplay, const QSurfaceFormat &format, QPlatformOpenGLContext *share) | |
| ~QWaylandBrcmGLContext () | |
| void | swapBuffers (QPlatformSurface *surface) override |
| Reimplement in subclass to native swap buffers calls. | |
| bool | makeCurrent (QPlatformSurface *surface) override |
| void | doneCurrent () override |
| QFunctionPointer | getProcAddress (const char *procName) override |
| Reimplement in subclass to allow dynamic querying of OpenGL symbols. | |
| QSurfaceFormat | format () const override |
| EGLConfig | eglConfig () const |
| EGLContext | eglContext () 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. | |
| virtual bool | isSharing () const |
| virtual bool | isValid () const |
| QOpenGLContext * | context () const |
Additional Inherited Members | |
| Static Public Member Functions inherited from QPlatformOpenGLContext | |
| static bool | parseOpenGLVersion (const QByteArray &versionString, int &major, int &minor) |
Definition at line 20 of file qwaylandbrcmglcontext.h.
|
default |
| QtWaylandClient::QWaylandBrcmGLContext::QWaylandBrcmGLContext | ( | EGLDisplay | eglDisplay, |
| const QSurfaceFormat & | format, | ||
| QPlatformOpenGLContext * | share ) |
Definition at line 26 of file qwaylandbrcmglcontext.cpp.
References QWaylandBrcmGLContext(), and eglContext().
Referenced by QWaylandBrcmGLContext().
| QtWaylandClient::QWaylandBrcmGLContext::~QWaylandBrcmGLContext | ( | ) |
Definition at line 44 of file qwaylandbrcmglcontext.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 54 of file qwaylandbrcmglcontext.cpp.
| EGLConfig QtWaylandClient::QWaylandBrcmGLContext::eglConfig | ( | ) | const |
Definition at line 72 of file qwaylandbrcmglcontext.cpp.
Referenced by QtWaylandClient::QWaylandBrcmEglIntegration::nativeResourceForContext().
|
inline |
Definition at line 36 of file qwaylandbrcmglcontext.h.
Referenced by QWaylandBrcmGLContext(), and QtWaylandClient::QWaylandBrcmEglIntegration::nativeResourceForContext().
|
inlineoverridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 33 of file qwaylandbrcmglcontext.h.
|
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 64 of file qwaylandbrcmglcontext.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 49 of file qwaylandbrcmglcontext.cpp.
References QtWaylandClient::QWaylandBrcmEglWindow::makeCurrent().
|
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 59 of file qwaylandbrcmglcontext.cpp.
References QtWaylandClient::QWaylandBrcmEglWindow::swapBuffers().