Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 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.

Referenced by DrmEglServerBufferIntegrationPlugin::create(), and QtWaylandClient::DrmEglServerBufferPlugin::create().

+ Here is the caller graph for this function:

◆ ~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.

◆ eglCreateImageKHR()

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

Definition at line 93 of file drmeglserverbufferintegration.h.

◆ eglDestroyImageKHR()

EGLBoolean DrmEglServerBufferIntegration::eglDestroyImageKHR ( EGLImageKHR image)
inline

Definition at line 102 of file drmeglserverbufferintegration.h.

◆ eglExportDRMImageMESA()

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

Definition at line 121 of file drmeglserverbufferintegration.h.

◆ glEGLImageTargetTexture2DOES()

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

Definition at line 130 of file drmeglserverbufferintegration.h.

◆ initializeHardware()

bool DrmEglServerBufferIntegration::initializeHardware ( QWaylandCompositor * compositor)
overridevirtual

Reimplemented from QtWayland::ServerBufferIntegration.

Definition at line 101 of file drmeglserverbufferintegration.cpp.

◆ supportsFormat()

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

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