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
QMinimalEglContext Class Reference
+ Inheritance diagram for QMinimalEglContext:
+ Collaboration diagram for QMinimalEglContext:

Public Member Functions

 QMinimalEglContext (const QSurfaceFormat &format, QPlatformOpenGLContext *share, EGLDisplay display)
 
EGLSurface eglSurfaceForPlatformSurface (QPlatformSurface *surface) override
 
- 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 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.
 
QOpenGLContextcontext () const
 

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)
 
- Protected Member Functions inherited from QEGLPlatformContext
 QEGLPlatformContext ()
 
virtual EGLSurface createTemporaryOffscreenSurface ()
 
virtual void destroyTemporaryOffscreenSurface (EGLSurface surface)
 
virtual void runGLChecks ()
 

Detailed Description

Definition at line 23 of file qminimaleglscreen.cpp.

Constructor & Destructor Documentation

◆ QMinimalEglContext()

QMinimalEglContext::QMinimalEglContext ( const QSurfaceFormat & format,
QPlatformOpenGLContext * share,
EGLDisplay display )
inline

Definition at line 26 of file qminimaleglscreen.cpp.

Member Function Documentation

◆ eglSurfaceForPlatformSurface()

EGLSurface QMinimalEglContext::eglSurfaceForPlatformSurface ( QPlatformSurface * surface)
inlineoverridevirtual

Implements QEGLPlatformContext.

Definition at line 31 of file qminimaleglscreen.cpp.

References screen, and window().

+ Here is the call graph for this function:

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