![]() |
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 (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 |
![]() | |
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 bool | parseOpenGLVersion (const QByteArray &versionString, int &major, int &minor) |
Definition at line 19 of file qwaylandbrcmglcontext.h.
QtWaylandClient::QWaylandBrcmGLContext::QWaylandBrcmGLContext | ( | EGLDisplay | eglDisplay, |
const QSurfaceFormat & | format, | ||
QPlatformOpenGLContext * | share ) |
Definition at line 23 of file qwaylandbrcmglcontext.cpp.
References QWaylandBrcmGLContext(), and eglContext().
Referenced by QWaylandBrcmGLContext().
QtWaylandClient::QWaylandBrcmGLContext::~QWaylandBrcmGLContext | ( | ) |
Definition at line 41 of file qwaylandbrcmglcontext.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 51 of file qwaylandbrcmglcontext.cpp.
EGLConfig QtWaylandClient::QWaylandBrcmGLContext::eglConfig | ( | ) | const |
Definition at line 69 of file qwaylandbrcmglcontext.cpp.
Referenced by QtWaylandClient::QWaylandBrcmEglIntegration::nativeResourceForContext().
|
inline |
Definition at line 34 of file qwaylandbrcmglcontext.h.
Referenced by QWaylandBrcmGLContext(), and QtWaylandClient::QWaylandBrcmEglIntegration::nativeResourceForContext().
|
inlineoverridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 31 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 61 of file qwaylandbrcmglcontext.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 46 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 56 of file qwaylandbrcmglcontext.cpp.
References QtWaylandClient::QWaylandBrcmEglWindow::swapBuffers().