Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QDirectFbEGLContext Class Reference
+ Inheritance diagram for QDirectFbEGLContext:
+ Collaboration diagram for QDirectFbEGLContext:

Public Member Functions

 QDirectFbEGLContext (QDirectFbScreenEGL *screen, QOpenGLContext *context)
 
- Public Member Functions inherited from QEGLPlatformContext
 QEGLPlatformContext (const QSurfaceFormat &format, QPlatformOpenGLContext *share, EGLDisplay display, EGLConfig *config=nullptr, Flags flags={ })
 
 ~QEGLPlatformContext ()
 
void initialize () override
 Called after a new instance is constructed.
 
bool makeCurrent (QPlatformSurface *surface) override
 
void doneCurrent () override
 
void swapBuffers (QPlatformSurface *surface) override
 Reimplement in subclass to native swap buffers calls.
 
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 ()
 
virtual void initialize ()
 Called after a new instance is constructed.
 
virtual QSurfaceFormat format () const =0
 
virtual void swapBuffers (QPlatformSurface *surface)=0
 Reimplement in subclass to native swap buffers calls.
 
virtual GLuint defaultFramebufferObject (QPlatformSurface *surface) const
 Reimplement in subclass if your platform uses framebuffer objects for surfaces.
 
virtual bool makeCurrent (QPlatformSurface *surface)=0
 
virtual void doneCurrent ()=0
 
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
 
virtual QFunctionPointer getProcAddress (const char *procName)=0
 Reimplement in subclass to allow dynamic querying of OpenGL symbols.
 
QOpenGLContextcontext () const
 

Protected Member Functions

EGLSurface eglSurfaceForPlatformSurface (QPlatformSurface *surface)
 
- Protected Member Functions inherited from QEGLPlatformContext
 QEGLPlatformContext ()
 
virtual EGLSurface eglSurfaceForPlatformSurface (QPlatformSurface *surface)=0
 
virtual EGLSurface createTemporaryOffscreenSurface ()
 
virtual void destroyTemporaryOffscreenSurface (EGLSurface surface)
 
virtual void runGLChecks ()
 

Additional Inherited Members

- Public Types inherited from QEGLPlatformContext
enum  Flag { NoSurfaceless = 0x01 }
 
- Static Public Member Functions inherited from QEGLPlatformContext
template<typename T >
static QOpenGLContextcreateFrom (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)
 

Detailed Description

Definition at line 69 of file qdirectfb_egl.cpp.

Constructor & Destructor Documentation

◆ QDirectFbEGLContext()

QDirectFbEGLContext::QDirectFbEGLContext ( QDirectFbScreenEGL screen,
QOpenGLContext context 
)

Definition at line 188 of file qdirectfb_egl.cpp.

Member Function Documentation

◆ eglSurfaceForPlatformSurface()

EGLSurface QDirectFbEGLContext::eglSurfaceForPlatformSurface ( QPlatformSurface surface)
protectedvirtual

Implements QEGLPlatformContext.

Definition at line 193 of file qdirectfb_egl.cpp.

References window().

+ Here is the call graph for this function:

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