![]() |
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 19 of file qwaylandbrcmglcontext.h.
|
default |
QtWaylandClient::QWaylandBrcmGLContext::QWaylandBrcmGLContext | ( | EGLDisplay | eglDisplay, |
const QSurfaceFormat & | format, | ||
QPlatformOpenGLContext * | share ) |
Definition at line 25 of file qwaylandbrcmglcontext.cpp.
References QWaylandBrcmGLContext(), and eglContext().
Referenced by QWaylandBrcmGLContext().
QtWaylandClient::QWaylandBrcmGLContext::~QWaylandBrcmGLContext | ( | ) |
Definition at line 43 of file qwaylandbrcmglcontext.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 53 of file qwaylandbrcmglcontext.cpp.
EGLConfig QtWaylandClient::QWaylandBrcmGLContext::eglConfig | ( | ) | const |
Definition at line 71 of file qwaylandbrcmglcontext.cpp.
Referenced by QtWaylandClient::QWaylandBrcmEglIntegration::nativeResourceForContext().
|
inline |
Definition at line 35 of file qwaylandbrcmglcontext.h.
Referenced by QWaylandBrcmGLContext(), and QtWaylandClient::QWaylandBrcmEglIntegration::nativeResourceForContext().
|
inlineoverridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 32 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 63 of file qwaylandbrcmglcontext.cpp.
|
overridevirtual |
Implements QPlatformOpenGLContext.
Definition at line 48 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 58 of file qwaylandbrcmglcontext.cpp.
References QtWaylandClient::QWaylandBrcmEglWindow::swapBuffers().