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
LibHybrisEglServerBuffer Class Reference

#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
 
QOpenGLTexturetoOpenGlTexture () 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
 

Detailed Description

Definition at line 42 of file libhybriseglserverbufferintegration.h.

Constructor & Destructor Documentation

◆ LibHybrisEglServerBuffer()

Member Function Documentation

◆ resourceForClient()

struct::wl_resource * LibHybrisEglServerBuffer::resourceForClient ( struct ::wl_client * client)
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:

◆ toOpenGlTexture()

QOpenGLTexture * LibHybrisEglServerBuffer::toOpenGlTexture ( )
overridevirtual

Implements QtWayland::ServerBuffer.

Definition at line 88 of file libhybriseglserverbufferintegration.cpp.


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