Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <libhybriseglserverbufferintegration.h>
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 bool | bufferInUse () |
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(), 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(), QSize::height(), QtWayland::ServerBuffer::m_format, QtWayland::ServerBuffer::m_size, qWarning, QOpenGLTexture::release(), QList< T >::resize(), QtWayland::ServerBuffer::RGBA32, QOpenGLTexture::setSize(), QOpenGLTexture::Target2D, and QSize::width().
|
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().
|
overridevirtual |
Implements QtWayland::ServerBuffer.
Definition at line 88 of file libhybriseglserverbufferintegration.cpp.