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

#include <linuxdmabuf.h>

Inheritance diagram for LinuxDmabufWlBuffer:
Collaboration diagram for LinuxDmabufWlBuffer:

Public Member Functions

 LinuxDmabufWlBuffer (::wl_client *client, LinuxDmabufClientBufferIntegration *clientBufferIntegration, uint id=0)
 ~LinuxDmabufWlBuffer () override
void initImage (uint32_t plane, EGLImageKHR image)
void initTexture (uint32_t plane, QOpenGLTexture *texture)
QSize size () const
uint32_t flags () const
uint32_t drmFormat () const
Planeplane (uint index)
uint32_t planesNumber () const
EGLImageKHR image (uint32_t plane)
QOpenGLTexturetexture (uint32_t plane) const
void buffer_destroy_resource (Resource *resource) override

Static Public Attributes

static const uint32_t MaxDmabufPlanes = 4

Private Member Functions

void buffer_destroy (Resource *resource) override

Friends

class LinuxDmabufParams

Detailed Description

Definition at line 100 of file linuxdmabuf.h.

Constructor & Destructor Documentation

◆ LinuxDmabufWlBuffer()

LinuxDmabufWlBuffer::LinuxDmabufWlBuffer ( ::wl_client * client,
LinuxDmabufClientBufferIntegration * clientBufferIntegration,
uint id = 0 )
explicit

Definition at line 246 of file linuxdmabuf.cpp.

References LinuxDmabufWlBuffer().

Referenced by LinuxDmabufWlBuffer().

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

◆ ~LinuxDmabufWlBuffer()

LinuxDmabufWlBuffer::~LinuxDmabufWlBuffer ( )
override

Definition at line 252 of file linuxdmabuf.cpp.

References LinuxDmabufClientBufferIntegration::removeBuffer().

Here is the call graph for this function:

Member Function Documentation

◆ buffer_destroy()

void LinuxDmabufWlBuffer::buffer_destroy ( Resource * resource)
overrideprivate

Definition at line 259 of file linuxdmabuf.cpp.

References LinuxDmabufClientBufferIntegration::removeBuffer().

Here is the call graph for this function:

◆ buffer_destroy_resource()

void LinuxDmabufWlBuffer::buffer_destroy_resource ( Resource * resource)
override

Definition at line 334 of file linuxdmabuf.cpp.

◆ drmFormat()

uint32_t LinuxDmabufWlBuffer::drmFormat ( ) const
inline

Definition at line 110 of file linuxdmabuf.h.

Referenced by LinuxDmabufClientBuffer::bufferFormatEgl().

Here is the caller graph for this function:

◆ flags()

uint32_t LinuxDmabufWlBuffer::flags ( ) const
inline

Definition at line 109 of file linuxdmabuf.h.

◆ image()

EGLImageKHR LinuxDmabufWlBuffer::image ( uint32_t plane)
inline

Definition at line 113 of file linuxdmabuf.h.

Referenced by LinuxDmabufClientBuffer::toOpenGlTexture().

Here is the caller graph for this function:

◆ initImage()

void LinuxDmabufWlBuffer::initImage ( uint32_t plane,
EGLImageKHR image )

Definition at line 289 of file linuxdmabuf.cpp.

◆ initTexture()

void LinuxDmabufWlBuffer::initTexture ( uint32_t plane,
QOpenGLTexture * texture )

Definition at line 296 of file linuxdmabuf.cpp.

◆ plane()

Plane & LinuxDmabufWlBuffer::plane ( uint index)
inline

Definition at line 111 of file linuxdmabuf.h.

◆ planesNumber()

uint32_t LinuxDmabufWlBuffer::planesNumber ( ) const
inline

Definition at line 112 of file linuxdmabuf.h.

◆ size()

QSize LinuxDmabufWlBuffer::size ( ) const
inline

Definition at line 108 of file linuxdmabuf.h.

◆ texture()

QOpenGLTexture * LinuxDmabufWlBuffer::texture ( uint32_t plane) const
inline

Definition at line 114 of file linuxdmabuf.h.

◆ LinuxDmabufParams

friend class LinuxDmabufParams
friend

Definition at line 135 of file linuxdmabuf.h.

Member Data Documentation

◆ MaxDmabufPlanes

const uint32_t LinuxDmabufWlBuffer::MaxDmabufPlanes = 4
static

Definition at line 117 of file linuxdmabuf.h.

Referenced by LinuxDmabufParams::zwp_linux_buffer_params_v1_add().


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