Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtWaylandClient::QWaylandBrcmGLContext Class Reference

#include <qwaylandbrcmglcontext.h>

+ Inheritance diagram for QtWaylandClient::QWaylandBrcmGLContext:
+ Collaboration diagram for QtWaylandClient::QWaylandBrcmGLContext:

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
 
- 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
 
QOpenGLContextcontext () const
 

Additional Inherited Members

- Static Public Member Functions inherited from QPlatformOpenGLContext
static bool parseOpenGLVersion (const QByteArray &versionString, int &major, int &minor)
 

Detailed Description

Definition at line 19 of file qwaylandbrcmglcontext.h.

Constructor & Destructor Documentation

◆ QWaylandBrcmGLContext()

QtWaylandClient::QWaylandBrcmGLContext::QWaylandBrcmGLContext ( EGLDisplay eglDisplay,
const QSurfaceFormat & format,
QPlatformOpenGLContext * share )

Definition at line 23 of file qwaylandbrcmglcontext.cpp.

References eglContext().

+ Here is the call graph for this function:

◆ ~QWaylandBrcmGLContext()

QtWaylandClient::QWaylandBrcmGLContext::~QWaylandBrcmGLContext ( )

Definition at line 41 of file qwaylandbrcmglcontext.cpp.

Member Function Documentation

◆ doneCurrent()

void QtWaylandClient::QWaylandBrcmGLContext::doneCurrent ( )
overridevirtual

Implements QPlatformOpenGLContext.

Definition at line 51 of file qwaylandbrcmglcontext.cpp.

◆ eglConfig()

EGLConfig QtWaylandClient::QWaylandBrcmGLContext::eglConfig ( ) const

Definition at line 69 of file qwaylandbrcmglcontext.cpp.

◆ eglContext()

EGLContext QtWaylandClient::QWaylandBrcmGLContext::eglContext ( ) const
inline

Definition at line 34 of file qwaylandbrcmglcontext.h.

Referenced by QWaylandBrcmGLContext().

+ Here is the caller graph for this function:

◆ format()

QSurfaceFormat QtWaylandClient::QWaylandBrcmGLContext::format ( ) const
inlineoverridevirtual

Implements QPlatformOpenGLContext.

Definition at line 31 of file qwaylandbrcmglcontext.h.

◆ getProcAddress()

QFunctionPointer QtWaylandClient::QWaylandBrcmGLContext::getProcAddress ( const char * procName)
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.

◆ makeCurrent()

bool QtWaylandClient::QWaylandBrcmGLContext::makeCurrent ( QPlatformSurface * surface)
overridevirtual

Implements QPlatformOpenGLContext.

Definition at line 46 of file qwaylandbrcmglcontext.cpp.

References makeCurrent().

Referenced by makeCurrent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swapBuffers()

void QtWaylandClient::QWaylandBrcmGLContext::swapBuffers ( QPlatformSurface * surface)
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 swapBuffers().

Referenced by swapBuffers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: