Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
DrmEglServerBufferIntegration Class Reference

#include <drmeglserverbufferintegration.h>

+ Inheritance diagram for DrmEglServerBufferIntegration:
+ Collaboration diagram for DrmEglServerBufferIntegration:

Public Member Functions

 DrmEglServerBufferIntegration ()
 
 ~DrmEglServerBufferIntegration () override
 
bool initializeHardware (QWaylandCompositor *) override
 
bool supportsFormat (QtWayland::ServerBuffer::Format format) const override
 
QtWayland::ServerBuffercreateServerBufferFromImage (const QImage &qimage, QtWayland::ServerBuffer::Format format) override
 
EGLDisplay display () const
 
EGLImageKHR eglCreateImageKHR (EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list)
 
EGLBoolean eglDestroyImageKHR (EGLImageKHR image)
 
EGLImageKHR eglCreateDRMImageMESA (const EGLint *attrib_list)
 
EGLBoolean eglExportDRMImageMESA (EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride)
 
void glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image)
 
- Public Member Functions inherited from QtWayland::ServerBufferIntegration
 ServerBufferIntegration ()
 
virtual ~ServerBufferIntegration ()
 
virtual bool initializeHardware (QWaylandCompositor *)
 
virtual bool supportsFormat (ServerBuffer::Format format) const =0
 
virtual ServerBuffercreateServerBufferFromImage (const QImage &qimage, ServerBuffer::Format format)=0
 
virtual ServerBuffercreateServerBufferFromData (QByteArrayView view, const QSize &size, uint glInternalFormat)
 

Detailed Description

Definition at line 62 of file drmeglserverbufferintegration.h.

Constructor & Destructor Documentation

◆ DrmEglServerBufferIntegration()

DrmEglServerBufferIntegration::DrmEglServerBufferIntegration ( )

Definition at line 93 of file drmeglserverbufferintegration.cpp.

◆ ~DrmEglServerBufferIntegration()

DrmEglServerBufferIntegration::~DrmEglServerBufferIntegration ( )
override

Definition at line 97 of file drmeglserverbufferintegration.cpp.

Member Function Documentation

◆ createServerBufferFromImage()

QtWayland::ServerBuffer * DrmEglServerBufferIntegration::createServerBufferFromImage ( const QImage qimage,
QtWayland::ServerBuffer::Format  format 
)
overridevirtual

◆ display()

EGLDisplay DrmEglServerBufferIntegration::display ( ) const
inline

Definition at line 75 of file drmeglserverbufferintegration.h.

◆ eglCreateDRMImageMESA()

EGLImageKHR DrmEglServerBufferIntegration::eglCreateDRMImageMESA ( const EGLint *  attrib_list)
inline

Definition at line 111 of file drmeglserverbufferintegration.h.

References qWarning.

Referenced by DrmEglServerBuffer::DrmEglServerBuffer().

+ Here is the caller graph for this function:

◆ eglCreateImageKHR()

EGLImageKHR DrmEglServerBufferIntegration::eglCreateImageKHR ( EGLContext  ctx,
EGLenum  target,
EGLClientBuffer  buffer,
const EGLint *  attrib_list 
)
inline

Definition at line 93 of file drmeglserverbufferintegration.h.

References qWarning.

◆ eglDestroyImageKHR()

EGLBoolean DrmEglServerBufferIntegration::eglDestroyImageKHR ( EGLImageKHR  image)
inline

Definition at line 102 of file drmeglserverbufferintegration.h.

References qWarning.

◆ eglExportDRMImageMESA()

EGLBoolean DrmEglServerBufferIntegration::eglExportDRMImageMESA ( EGLImageKHR  image,
EGLint *  name,
EGLint *  handle,
EGLint *  stride 
)
inline

Definition at line 121 of file drmeglserverbufferintegration.h.

References qWarning.

Referenced by DrmEglServerBuffer::DrmEglServerBuffer().

+ Here is the caller graph for this function:

◆ glEGLImageTargetTexture2DOES()

void DrmEglServerBufferIntegration::glEGLImageTargetTexture2DOES ( GLenum  target,
GLeglImageOES  image 
)
inline

Definition at line 130 of file drmeglserverbufferintegration.h.

References qWarning.

Referenced by DrmEglServerBuffer::DrmEglServerBuffer().

+ Here is the caller graph for this function:

◆ initializeHardware()

bool DrmEglServerBufferIntegration::initializeHardware ( QWaylandCompositor compositor)
overridevirtual

Reimplemented from QtWayland::ServerBufferIntegration.

Definition at line 101 of file drmeglserverbufferintegration.cpp.

References compositor, EGLDisplay(), QPlatformNativeInterface::nativeResourceForIntegration(), QGuiApplication::platformNativeInterface(), Q_ASSERT, and qWarning.

+ Here is the call graph for this function:

◆ supportsFormat()

bool DrmEglServerBufferIntegration::supportsFormat ( QtWayland::ServerBuffer::Format  format) const
overridevirtual

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