![]() |
Qt 6.x
The Qt SDK
|
#include <libhybriseglserverbufferintegration.h>
Inheritance diagram for QtWaylandClient::LibHybrisServerBuffer:
Collaboration diagram for QtWaylandClient::LibHybrisServerBuffer: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 |
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 |
Protected Member Functions | |
| void | libhybris_buffer_add_fd (int32_t fd) override |
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 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().
Here is the call graph for this function:| QtWaylandClient::LibHybrisServerBuffer::~LibHybrisServerBuffer | ( | ) |
Definition at line 39 of file libhybriseglserverbufferintegration.cpp.
References QtWaylandClient::LibHybrisEglServerBufferIntegration::eglDestroyImageKHR().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function: