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
QXcbEglIntegration Class Reference

#include <qxcbeglintegration.h>

+ Inheritance diagram for QXcbEglIntegration:
+ Collaboration diagram for QXcbEglIntegration:

Public Member Functions

 QXcbEglIntegration ()
 
 ~QXcbEglIntegration ()
 
bool initialize (QXcbConnection *connection) override
 
QXcbWindowcreateWindow (QWindow *window) const override
 
QPlatformOpenGLContextcreatePlatformOpenGLContext (QOpenGLContext *context) const override
 
QOpenGLContextcreateOpenGLContext (EGLContext context, EGLDisplay display, QOpenGLContext *shareContext) const override
 
QPlatformOffscreenSurfacecreatePlatformOffscreenSurface (QOffscreenSurface *surface) const override
 
bool supportsThreadedOpenGL () const override
 
EGLDisplay eglDisplay () const
 
bool usingPlatformDisplay () const
 
xcb_visualid_t getCompatibleVisualId (xcb_screen_t *screen, EGLConfig config) const
 
- Public Member Functions inherited from QXcbGlIntegration
 QXcbGlIntegration ()
 
virtual ~QXcbGlIntegration ()
 
virtual bool supportsSwitchableWidgetComposition () const
 
virtual bool handleXcbEvent (xcb_generic_event_t *event, uint responseType)
 
virtual QXcbNativeInterfaceHandlernativeInterfaceHandler () const
 

Detailed Description

Definition at line 24 of file qxcbeglintegration.h.

Constructor & Destructor Documentation

◆ QXcbEglIntegration()

QXcbEglIntegration::QXcbEglIntegration ( )

Definition at line 58 of file qxcbeglintegration.cpp.

References qCDebug.

◆ ~QXcbEglIntegration()

QXcbEglIntegration::~QXcbEglIntegration ( )

Definition at line 66 of file qxcbeglintegration.cpp.

Member Function Documentation

◆ createOpenGLContext()

QOpenGLContext * QXcbEglIntegration::createOpenGLContext ( EGLContext context,
EGLDisplay display,
QOpenGLContext * shareContext ) const
override

Definition at line 135 of file qxcbeglintegration.cpp.

References context, and eglDisplay().

+ Here is the call graph for this function:

◆ createPlatformOffscreenSurface()

QPlatformOffscreenSurface * QXcbEglIntegration::createPlatformOffscreenSurface ( QOffscreenSurface * surface) const
overridevirtual

Implements QXcbGlIntegration.

Definition at line 140 of file qxcbeglintegration.cpp.

References eglDisplay(), QScreen::handle(), QOffscreenSurface::requestedFormat(), QOffscreenSurface::screen(), and screen.

+ Here is the call graph for this function:

◆ createPlatformOpenGLContext()

QPlatformOpenGLContext * QXcbEglIntegration::createPlatformOpenGLContext ( QOpenGLContext * context) const
overridevirtual

Implements QXcbGlIntegration.

Definition at line 126 of file qxcbeglintegration.cpp.

References context, eglDisplay(), and screen.

+ Here is the call graph for this function:

◆ createWindow()

QXcbWindow * QXcbEglIntegration::createWindow ( QWindow * window) const
overridevirtual

Implements QXcbGlIntegration.

Definition at line 121 of file qxcbeglintegration.cpp.

References window().

+ Here is the call graph for this function:

◆ eglDisplay()

EGLDisplay QXcbEglIntegration::eglDisplay ( ) const
inline

Definition at line 40 of file qxcbeglintegration.h.

Referenced by QXcbEglWindow::~QXcbEglWindow(), QXcbEglWindow::create(), createOpenGLContext(), createPlatformOffscreenSurface(), createPlatformOpenGLContext(), getCompatibleVisualId(), and QXcbEglWindow::resolveFormat().

+ Here is the caller graph for this function:

◆ getCompatibleVisualId()

xcb_visualid_t QXcbEglIntegration::getCompatibleVisualId ( xcb_screen_t * screen,
EGLConfig config ) const

Definition at line 146 of file qxcbeglintegration.cpp.

References eglDisplay(), q_hasEglExtension(), qCDebug, qPopulationCount(), qWarning, and screen.

Referenced by QXcbEglWindow::createVisual().

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

◆ initialize()

bool QXcbEglIntegration::initialize ( QXcbConnection * connection)
overridevirtual

Implements QXcbGlIntegration.

Definition at line 72 of file qxcbeglintegration.cpp.

References connection, EGL_PLATFORM_X11_KHR, EGL_PLATFORM_XCB_KHR, qCDebug, qCWarning, and QScopedPointer< T, Cleanup >::reset().

+ Here is the call graph for this function:

◆ supportsThreadedOpenGL()

bool QXcbEglIntegration::supportsThreadedOpenGL ( ) const
inlineoverridevirtual

Reimplemented from QXcbGlIntegration.

Definition at line 38 of file qxcbeglintegration.h.

◆ usingPlatformDisplay()

bool QXcbEglIntegration::usingPlatformDisplay ( ) const
inline

Definition at line 42 of file qxcbeglintegration.h.

Referenced by QXcbEglWindow::create().

+ Here is the caller graph for this function:

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