![]() |
Qt 6.x
The Qt SDK
|
#include <libhybriseglserverbufferintegration.h>
Inheritance diagram for LibHybrisEglServerBuffer:
Collaboration diagram for LibHybrisEglServerBuffer:Public Member Functions | |
| LibHybrisEglServerBuffer (LibHybrisEglServerBufferIntegration *integration, const QImage &qimage, QtWayland::ServerBuffer::Format format) | |
| struct::wl_resource * | resourceForClient (struct ::wl_client *) 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 libhybriseglserverbufferintegration.h.
| QT_BEGIN_NAMESPACE LibHybrisEglServerBuffer::LibHybrisEglServerBuffer | ( | LibHybrisEglServerBufferIntegration * | integration, |
| const QImage & | qimage, | ||
| QtWayland::ServerBuffer::Format | format | ||
| ) |
Definition at line 12 of file libhybriseglserverbufferintegration.cpp.
References QOpenGLTexture::bind(), QImage::constBits(), QOpenGLTexture::create(), QOpenGLContext::currentContext(), QList< T >::data(), LibHybrisEglServerBufferIntegration::eglCreateImageKHR(), LibHybrisEglServerBufferIntegration::eglHybrisCreateNativeBuffer(), LibHybrisEglServerBufferIntegration::eglHybrisGetNativeBufferInfo(), LibHybrisEglServerBufferIntegration::eglHybrisSerializeNativeBuffer(), QtWayland::ServerBuffer::format(), GL_RGBA, GL_UNSIGNED_BYTE, LibHybrisEglServerBufferIntegration::glEGLImageTargetTexture2DOES(), QImage::height(), QSize::height(), QtWayland::ServerBuffer::m_format, QtWayland::ServerBuffer::m_size, qWarning, QOpenGLTexture::release(), QList< T >::resize(), QtWayland::ServerBuffer::RGBA32, QOpenGLTexture::setSize(), QOpenGLTexture::Target2D, QImage::width(), and QSize::width().
Here is the call graph for this function:
|
overridevirtual |
Implements QtWayland::ServerBuffer.
Definition at line 63 of file libhybriseglserverbufferintegration.cpp.
References add(), QList< T >::at(), QList< T >::data(), QSize::height(), i, QtWayland::ServerBuffer::m_format, QtWayland::ServerBuffer::m_size, qWarning, QList< T >::size(), and QSize::width().
Here is the call graph for this function:
|
overridevirtual |
Implements QtWayland::ServerBuffer.
Definition at line 88 of file libhybriseglserverbufferintegration.cpp.