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

#include <drmeglserverbufferintegration.h>

+ Inheritance diagram for DrmEglServerBuffer:
+ Collaboration diagram for DrmEglServerBuffer:

Public Member Functions

 DrmEglServerBuffer (DrmEglServerBufferIntegration *integration, const QImage &qimage, QtWayland::ServerBuffer::Format format)
 
struct::wl_resource * resourceForClient (struct ::wl_client *) override
 
bool bufferInUse () override
 
QOpenGLTexturetoOpenGlTexture () 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
 

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 drmeglserverbufferintegration.h.

Constructor & Destructor Documentation

◆ DrmEglServerBuffer()

Member Function Documentation

◆ bufferInUse()

bool DrmEglServerBuffer::bufferInUse ( )
overridevirtual

Reimplemented from QtWayland::ServerBuffer.

Definition at line 88 of file drmeglserverbufferintegration.cpp.

◆ resourceForClient()

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

Implements QtWayland::ServerBuffer.

Definition at line 62 of file drmeglserverbufferintegration.cpp.

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

+ Here is the call graph for this function:

◆ toOpenGlTexture()

QOpenGLTexture * DrmEglServerBuffer::toOpenGlTexture ( )
overridevirtual

Implements QtWayland::ServerBuffer.

Definition at line 80 of file drmeglserverbufferintegration.cpp.

References qWarning.


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