![]() |
Qt 6.x
The Qt SDK
|
#include <libhybriseglserverbufferintegration.h>
Public Member Functions | |
LibHybrisServerBuffer (LibHybrisEglServerBufferIntegration *integration, int32_t numFds, wl_array *ints, int32_t name, int32_t width, int32_t height, int32_t stride, int32_t format) | |
~LibHybrisServerBuffer () | |
QOpenGLTexture * | toOpenGlTexture () override |
![]() | |
QWaylandServerBuffer () | |
virtual | ~QWaylandServerBuffer () |
virtual QOpenGLTexture * | toOpenGlTexture ()=0 |
Format | format () const |
QSize | size () const |
void | setUserData (void *userData) |
void * | userData () const |
Protected Member Functions | |
void | libhybris_buffer_add_fd (int32_t fd) override |
Additional Inherited Members | |
![]() | |
enum | Format { RGBA32 , A8 , Custom } |
![]() | |
Format | m_format = RGBA32 |
QSize | m_size |
Definition at line 37 of file libhybriseglserverbufferintegration.h.
QtWaylandClient::LibHybrisServerBuffer::LibHybrisServerBuffer | ( | LibHybrisEglServerBufferIntegration * | integration, |
int32_t | numFds, | ||
wl_array * | ints, | ||
int32_t | name, | ||
int32_t | width, | ||
int32_t | height, | ||
int32_t | stride, | ||
int32_t | format | ||
) |
Definition at line 17 of file libhybriseglserverbufferintegration.cpp.
References QList< T >::data(), QtWaylandClient::QWaylandServerBuffer::m_size, QList< T >::reserve(), and QList< T >::resize().
QtWaylandClient::LibHybrisServerBuffer::~LibHybrisServerBuffer | ( | ) |
Definition at line 39 of file libhybriseglserverbufferintegration.cpp.
References QtWaylandClient::LibHybrisEglServerBufferIntegration::eglDestroyImageKHR().
|
overrideprotected |
Definition at line 68 of file libhybriseglserverbufferintegration.cpp.
References QList< T >::data(), QtWaylandClient::LibHybrisEglServerBufferIntegration::eglCreateImageKHR(), QtWaylandClient::LibHybrisEglServerBufferIntegration::eglHybrisCreateRemoteBuffer(), QSize::height(), QtWaylandClient::QWaylandServerBuffer::m_format, QtWaylandClient::QWaylandServerBuffer::m_size, qWarning, QtWaylandClient::QWaylandServerBuffer::RGBA32, QList< T >::size(), and QSize::width().
|
overridevirtual |
Implements QtWaylandClient::QWaylandServerBuffer.
Definition at line 44 of file libhybriseglserverbufferintegration.cpp.
References QOpenGLTexture::bind(), QOpenGLTexture::create(), QOpenGLContext::currentContext(), GL_CLAMP_TO_EDGE, QtWaylandClient::LibHybrisEglServerBufferIntegration::glEGLImageTargetTexture2DOES(), QSize::height(), QtWaylandClient::QWaylandServerBuffer::m_size, qWarning, QOpenGLTexture::release(), QOpenGLTexture::setSize(), QOpenGLTexture::Target2D, and QSize::width().