Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtWaylandClient::DrmEglServerBufferIntegration Class Reference

#include <drmeglserverbufferintegration.h>

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

Public Member Functions

void initialize (QWaylandDisplay *display) override
 
QWaylandServerBufferserverBuffer (struct qt_server_buffer *buffer) override
 
EGLImageKHR eglCreateImageKHR (EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list)
 
EGLBoolean eglDestroyImageKHR (EGLImageKHR image)
 
void glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image)
 
- Public Member Functions inherited from QtWaylandClient::QWaylandServerBufferIntegration
 QWaylandServerBufferIntegration ()
 
virtual ~QWaylandServerBufferIntegration ()
 
virtual void initialize (QWaylandDisplay *display)=0
 
virtual QWaylandServerBufferserverBuffer (struct qt_server_buffer *buffer)=0
 

Protected Member Functions

void drm_egl_server_buffer_server_buffer_created (struct ::qt_server_buffer *id, int32_t name, int32_t width, int32_t height, int32_t stride, int32_t format) override
 

Detailed Description

Definition at line 46 of file drmeglserverbufferintegration.h.

Member Function Documentation

◆ drm_egl_server_buffer_server_buffer_created()

void DrmEglServerBufferIntegration::drm_egl_server_buffer_server_buffer_created ( struct ::qt_server_buffer *  id,
int32_t  name,
int32_t  width,
int32_t  height,
int32_t  stride,
int32_t  format 
)
overrideprotected

Definition at line 142 of file drmeglserverbufferintegration.cpp.

◆ eglCreateImageKHR()

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

Definition at line 73 of file drmeglserverbufferintegration.h.

References qWarning.

Referenced by QtWaylandClient::DrmServerBuffer::DrmServerBuffer().

+ Here is the caller graph for this function:

◆ eglDestroyImageKHR()

EGLBoolean DrmEglServerBufferIntegration::eglDestroyImageKHR ( EGLImageKHR  image)
inline

Definition at line 84 of file drmeglserverbufferintegration.h.

References qWarning.

Referenced by QtWaylandClient::DrmServerBuffer::~DrmServerBuffer().

+ Here is the caller graph for this function:

◆ glEGLImageTargetTexture2DOES()

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

Definition at line 93 of file drmeglserverbufferintegration.h.

References qWarning.

Referenced by QtWaylandClient::DrmServerBuffer::toOpenGlTexture().

+ Here is the caller graph for this function:

◆ initialize()

void DrmEglServerBufferIntegration::initialize ( QWaylandDisplay display)
overridevirtual

◆ serverBuffer()

QWaylandServerBuffer * DrmEglServerBufferIntegration::serverBuffer ( struct qt_server_buffer *  buffer)
overridevirtual

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