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

#include <dmabufserverbufferintegration.h>

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

Public Member Functions

 DmaBufServerBuffer (DmaBufServerBufferIntegration *integration, struct ::qt_server_buffer *id, int32_t fd, int32_t width, int32_t height, int32_t stride, int32_t offset, int32_t fourcc_format)
 
 ~DmaBufServerBuffer () 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 34 of file dmabufserverbufferintegration.h.

Constructor & Destructor Documentation

◆ DmaBufServerBuffer()

DmaBufServerBuffer::DmaBufServerBuffer ( DmaBufServerBufferIntegration * integration,
struct ::qt_server_buffer * id,
int32_t fd,
int32_t width,
int32_t height,
int32_t stride,
int32_t offset,
int32_t fourcc_format )

Definition at line 17 of file dmabufserverbufferintegration.cpp.

References QtWaylandClient::DmaBufServerBufferIntegration::eglCreateImageKHR().

+ Here is the call graph for this function:

◆ ~DmaBufServerBuffer()

DmaBufServerBuffer::~DmaBufServerBuffer ( )
override

Definition at line 56 of file dmabufserverbufferintegration.cpp.

References QtWaylandClient::DmaBufServerBufferIntegration::eglDestroyImageKHR().

+ Here is the call graph for this function:

Member Function Documentation

◆ toOpenGlTexture()

QOpenGLTexture * DmaBufServerBuffer::toOpenGlTexture ( )
overridevirtual

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