|  | Qt 6.x
    The Qt SDK | 
#include <drmeglserverbufferintegration.h>
 Inheritance diagram for QtWaylandClient::DrmServerBuffer:
 Inheritance diagram for QtWaylandClient::DrmServerBuffer: Collaboration diagram for QtWaylandClient::DrmServerBuffer:
 Collaboration diagram for QtWaylandClient::DrmServerBuffer:| Public Member Functions | |
| DrmServerBuffer (DrmEglServerBufferIntegration *integration, int32_t name, int32_t width, int32_t height, int32_t stride, int32_t format) | |
| ~DrmServerBuffer () override | |
| QOpenGLTexture * | toOpenGlTexture () override | 
|  Public Member Functions inherited from QtWaylandClient::QWaylandServerBuffer | |
| QWaylandServerBuffer () | |
| virtual | ~QWaylandServerBuffer () | 
| virtual QOpenGLTexture * | toOpenGlTexture ()=0 | 
| Format | format () const | 
| QSize | size () const | 
| void | setUserData (void *userData) | 
| void * | userData () const | 
| Additional Inherited Members | |
|  Public Types inherited from QtWaylandClient::QWaylandServerBuffer | |
| enum | Format { RGBA32 , A8 , Custom } | 
|  Protected Attributes inherited from QtWaylandClient::QWaylandServerBuffer | |
| Format | m_format = RGBA32 | 
| QSize | m_size | 
Definition at line 34 of file drmeglserverbufferintegration.h.
| QtWaylandClient::DrmServerBuffer::DrmServerBuffer | ( | DrmEglServerBufferIntegration * | integration, | 
| int32_t | name, | ||
| int32_t | width, | ||
| int32_t | height, | ||
| int32_t | stride, | ||
| int32_t | format | ||
| ) | 
Definition at line 16 of file drmeglserverbufferintegration.cpp.
References QtWaylandClient::QWaylandServerBuffer::A8, QtWaylandClient::DrmEglServerBufferIntegration::eglCreateImageKHR(), QtWaylandClient::QWaylandServerBuffer::m_format, QtWaylandClient::QWaylandServerBuffer::m_size, qWarning, and QtWaylandClient::QWaylandServerBuffer::RGBA32.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | override | 
Definition at line 60 of file drmeglserverbufferintegration.cpp.
References QtWaylandClient::DrmEglServerBufferIntegration::eglDestroyImageKHR().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | overridevirtual | 
Implements QtWaylandClient::QWaylandServerBuffer.
Definition at line 65 of file drmeglserverbufferintegration.cpp.
References QOpenGLTexture::bind(), QOpenGLTexture::create(), QOpenGLContext::currentContext(), GL_CLAMP_TO_EDGE, QtWaylandClient::DrmEglServerBufferIntegration::glEGLImageTargetTexture2DOES(), QSize::height(), QtWaylandClient::QWaylandServerBuffer::m_size, qWarning, QOpenGLTexture::release(), QOpenGLTexture::setSize(), QOpenGLTexture::Target2D, and QSize::width().
 Here is the call graph for this function:
 Here is the call graph for this function: