![]() |
Qt 6.x
The Qt SDK
|
#include <drmeglserverbufferintegration.h>
Inheritance diagram for DrmEglServerBuffer:
Collaboration diagram for DrmEglServerBuffer:Public Member Functions | |
| DrmEglServerBuffer (DrmEglServerBufferIntegration *integration, const QImage &qimage, QtWayland::ServerBuffer::Format format) | |
| struct::wl_resource * | resourceForClient (struct ::wl_client *) override |
| bool | bufferInUse () override |
| QOpenGLTexture * | toOpenGlTexture () override |
Public Member Functions inherited from QtWayland::ServerBuffer | |
| ServerBuffer (const QSize &size, ServerBuffer::Format format) | |
| virtual | ~ServerBuffer () |
| virtual struct::wl_resource * | resourceForClient (struct ::wl_client *)=0 |
| virtual bool | bufferInUse () |
| virtual QOpenGLTexture * | toOpenGlTexture ()=0 |
| virtual void | releaseOpenGlTexture () |
| virtual bool | isYInverted () const |
| QSize | size () const |
| Format | format () const |
Additional Inherited Members | |
Public Types inherited from QtWayland::ServerBuffer | |
| enum | Format { RGBA32 , A8 , Custom } |
Protected Attributes inherited from QtWayland::ServerBuffer | |
| QSize | m_size |
| Format | m_format |
Definition at line 42 of file drmeglserverbufferintegration.h.
| QT_BEGIN_NAMESPACE DrmEglServerBuffer::DrmEglServerBuffer | ( | DrmEglServerBufferIntegration * | integration, |
| const QImage & | qimage, | ||
| QtWayland::ServerBuffer::Format | format | ||
| ) |
Definition at line 11 of file drmeglserverbufferintegration.cpp.
References QtWayland::ServerBuffer::A8, QOpenGLTexture::bind(), QImage::constBits(), QOpenGLTexture::create(), DrmEglServerBufferIntegration::eglCreateDRMImageMESA(), DrmEglServerBufferIntegration::eglExportDRMImageMESA(), QtWayland::ServerBuffer::format(), GL_RGBA, GL_UNSIGNED_BYTE, DrmEglServerBufferIntegration::glEGLImageTargetTexture2DOES(), QImage::height(), QSize::height(), QtWayland::ServerBuffer::m_format, QtWayland::ServerBuffer::m_size, qWarning, QOpenGLTexture::release(), QtWayland::ServerBuffer::RGBA32, QOpenGLTexture::setSize(), QOpenGLTexture::Target2D, QImage::width(), and QSize::width().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QtWayland::ServerBuffer.
Definition at line 88 of file drmeglserverbufferintegration.cpp.
|
overridevirtual |
Implements QtWayland::ServerBuffer.
Definition at line 62 of file drmeglserverbufferintegration.cpp.
References add(), QSize::height(), QtWayland::ServerBuffer::m_size, qWarning, and QSize::width().
Here is the call graph for this function:
|
overridevirtual |
Implements QtWayland::ServerBuffer.
Definition at line 80 of file drmeglserverbufferintegration.cpp.
References qWarning.