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>.
Loading...
Searching...
No Matches
QtWaylandClient::LibHybrisServerBuffer Class Reference

#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 ()
 
QOpenGLTexturetoOpenGlTexture () override
 
- Public Member Functions inherited from QtWaylandClient::QWaylandServerBuffer
 QWaylandServerBuffer ()
 
virtual ~QWaylandServerBuffer ()
 
Format format () const
 
QSize size () const
 
void setUserData (void *userData)
 
voiduserData () 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
 

Detailed Description

Definition at line 37 of file libhybriseglserverbufferintegration.h.

Constructor & Destructor Documentation

◆ LibHybrisServerBuffer()

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:

◆ ~LibHybrisServerBuffer()

QtWaylandClient::LibHybrisServerBuffer::~LibHybrisServerBuffer ( )

Definition at line 39 of file libhybriseglserverbufferintegration.cpp.

References QtWaylandClient::LibHybrisEglServerBufferIntegration::eglDestroyImageKHR().

+ Here is the call graph for this function:

Member Function Documentation

◆ libhybris_buffer_add_fd()

void QtWaylandClient::LibHybrisServerBuffer::libhybris_buffer_add_fd ( int32_t fd)
overrideprotected

◆ toOpenGlTexture()

QOpenGLTexture * QtWaylandClient::LibHybrisServerBuffer::toOpenGlTexture ( )
overridevirtual

The documentation for this class was generated from the following files: