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

#include <linuxdmabufclientbufferintegration.h>

+ Inheritance diagram for LinuxDmabufClientBuffer:
+ Collaboration diagram for LinuxDmabufClientBuffer:

Public Member Functions

 ~LinuxDmabufClientBuffer () override
 
QWaylandBufferRef::BufferFormatEgl bufferFormatEgl () const override
 
QSize size () const override
 
QWaylandSurface::Origin origin () const override
 
QOpenGLTexturetoOpenGlTexture (int plane) override
 
- Public Member Functions inherited from QtWayland::ClientBuffer
 ClientBuffer (struct ::wl_resource *bufferResource)
 
virtual ~ClientBuffer ()
 
virtual quintptr lockNativeBuffer ()
 
virtual void unlockNativeBuffer (quintptr native_buffer) const
 
virtual QImage image () const
 
bool isCommitted () const
 
virtual void setCommitted (QRegion &damage)
 
bool isDestroyed ()
 
virtual bool isProtected ()
 
struct::wl_resource * waylandBufferHandle () const
 
bool isSharedMemory () const
 

Protected Member Functions

void setDestroyed () override
 
- Protected Member Functions inherited from QtWayland::ClientBuffer
void ref ()
 
void deref ()
 
void sendRelease ()
 

Friends

class LinuxDmabufClientBufferIntegration
 
class LinuxDmabufClientBufferIntegrationPrivate
 

Additional Inherited Members

- Static Public Member Functions inherited from QtWayland::ClientBuffer
static bool hasContent (ClientBuffer *buffer)
 
static bool hasProtectedContent (ClientBuffer *buffer)
 
- Protected Attributes inherited from QtWayland::ClientBuffer
struct::wl_resource * m_buffer = nullptr
 
QRegion m_damage
 
bool m_textureDirty = false
 

Detailed Description

Definition at line 77 of file linuxdmabufclientbufferintegration.h.

Constructor & Destructor Documentation

◆ ~LinuxDmabufClientBuffer()

LinuxDmabufClientBuffer::~LinuxDmabufClientBuffer ( )
override

Member Function Documentation

◆ bufferFormatEgl()

QWaylandBufferRef::BufferFormatEgl LinuxDmabufClientBuffer::bufferFormatEgl ( ) const
overridevirtual

Reimplemented from QtWayland::ClientBuffer.

Definition at line 439 of file linuxdmabufclientbufferintegration.cpp.

References LinuxDmabufWlBuffer::drmFormat(), and formatFromDrmFormat().

+ Here is the call graph for this function:

◆ origin()

QWaylandSurface::Origin LinuxDmabufClientBuffer::origin ( ) const
overridevirtual

Implements QtWayland::ClientBuffer.

Definition at line 449 of file linuxdmabufclientbufferintegration.cpp.

References LinuxDmabufWlBuffer::flags(), QWaylandSurface::OriginBottomLeft, and QWaylandSurface::OriginTopLeft.

+ Here is the call graph for this function:

◆ setDestroyed()

void LinuxDmabufClientBuffer::setDestroyed ( )
overrideprotectedvirtual

Reimplemented from QtWayland::ClientBuffer.

Definition at line 426 of file linuxdmabufclientbufferintegration.cpp.

References QtWayland::ClientBuffer::m_buffer, and LinuxDmabufClientBufferIntegration::removeBuffer().

+ Here is the call graph for this function:

◆ size()

QSize LinuxDmabufClientBuffer::size ( ) const
overridevirtual

Implements QtWayland::ClientBuffer.

Definition at line 444 of file linuxdmabufclientbufferintegration.cpp.

References LinuxDmabufWlBuffer::size().

+ Here is the call graph for this function:

◆ toOpenGlTexture()

Friends And Related Symbol Documentation

◆ LinuxDmabufClientBufferIntegration

Definition at line 91 of file linuxdmabufclientbufferintegration.h.

◆ LinuxDmabufClientBufferIntegrationPrivate

friend class LinuxDmabufClientBufferIntegrationPrivate
friend

Definition at line 92 of file linuxdmabufclientbufferintegration.h.


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