Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtWaylandClient::ShmServerBuffer Class Reference

#include <shmserverbufferintegration.h>

+ Inheritance diagram for QtWaylandClient::ShmServerBuffer:
+ Collaboration diagram for QtWaylandClient::ShmServerBuffer:

Public Member Functions

 ShmServerBuffer (const QString &key, const QSize &size, int bytesPerLine, QWaylandServerBuffer::Format format)
 
 ~ShmServerBuffer () override
 
QOpenGLTexturetoOpenGlTexture () override
 
- Public Member Functions inherited from QtWaylandClient::QWaylandServerBuffer
 QWaylandServerBuffer ()
 
virtual ~QWaylandServerBuffer ()
 
Format format () const
 
QSize size () const
 
void setUserData (void *userData)
 
voiduserData () const
 

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 21 of file shmserverbufferintegration.h.

Constructor & Destructor Documentation

◆ ShmServerBuffer()

ShmServerBuffer::ShmServerBuffer ( const QString & key,
const QSize & size,
int bytesPerLine,
QWaylandServerBuffer::Format format )

Definition at line 56 of file shmserverbufferintegration.cpp.

References ShmServerBuffer().

Referenced by ShmServerBuffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~ShmServerBuffer()

ShmServerBuffer::~ShmServerBuffer ( )
override

Definition at line 64 of file shmserverbufferintegration.cpp.

Member Function Documentation

◆ toOpenGlTexture()

QOpenGLTexture * ShmServerBuffer::toOpenGlTexture ( )
overridevirtual

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