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

#include <dmabufserverbufferintegration.h>

+ Inheritance diagram for DmaBufServerBuffer:
+ Collaboration diagram for DmaBufServerBuffer:

Public Member Functions

 DmaBufServerBuffer (DmaBufServerBufferIntegration *integration, const QImage &qimage, QtWayland::ServerBuffer::Format format)
 
 ~DmaBufServerBuffer () override
 
struct::wl_resource * resourceForClient (struct ::wl_client *) override
 
QOpenGLTexturetoOpenGlTexture () override
 
bool bufferInUse () override
 
- Public Member Functions inherited from QtWayland::ServerBuffer
 ServerBuffer (const QSize &size, ServerBuffer::Format format)
 
virtual ~ServerBuffer ()
 
virtual void releaseOpenGlTexture ()
 
virtual bool isYInverted () const
 
QSize size () const
 
Format format () const
 

Protected Member Functions

void server_buffer_release (Resource *resource) override
 

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 43 of file dmabufserverbufferintegration.h.

Constructor & Destructor Documentation

◆ DmaBufServerBuffer()

◆ ~DmaBufServerBuffer()

DmaBufServerBuffer::~DmaBufServerBuffer ( )
override

Definition at line 59 of file dmabufserverbufferintegration.cpp.

References DmaBufServerBufferIntegration::eglDestroyImageKHR(), Qt::hex(), and qCWarning.

+ Here is the call graph for this function:

Member Function Documentation

◆ bufferInUse()

bool DmaBufServerBuffer::bufferInUse ( )
overridevirtual

Reimplemented from QtWayland::ServerBuffer.

Definition at line 101 of file dmabufserverbufferintegration.cpp.

◆ resourceForClient()

struct::wl_resource * DmaBufServerBuffer::resourceForClient ( struct ::wl_client * client)
overridevirtual

Implements QtWayland::ServerBuffer.

Definition at line 74 of file dmabufserverbufferintegration.cpp.

References add(), QSize::height(), QtWayland::ServerBuffer::m_size, qCWarning, and QSize::width().

+ Here is the call graph for this function:

◆ server_buffer_release()

void DmaBufServerBuffer::server_buffer_release ( Resource * resource)
overrideprotected

Definition at line 177 of file dmabufserverbufferintegration.cpp.

References qCDebug.

◆ toOpenGlTexture()

QOpenGLTexture * DmaBufServerBuffer::toOpenGlTexture ( )
overridevirtual

Implements QtWayland::ServerBuffer.

Definition at line 93 of file dmabufserverbufferintegration.cpp.

References qCWarning.


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