![]() |
Qt 6.x
The Qt SDK
|
#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 |
| Plane & | plane (uint index) |
| uint32_t | planesNumber () const |
| EGLImageKHR | image (uint32_t plane) |
| QOpenGLTexture * | texture (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 |
Definition at line 100 of file linuxdmabuf.h.
|
explicit |
Definition at line 245 of file linuxdmabuf.cpp.
|
override |
Definition at line 251 of file linuxdmabuf.cpp.
References buffer_destroy(), and LinuxDmabufClientBufferIntegration::removeBuffer().
Here is the call graph for this function:
|
overrideprivate |
Definition at line 257 of file linuxdmabuf.cpp.
References QMetaObject::Connection(), LinuxDmabufClientBufferIntegration::deleteGLTextureWhenPossible(), LinuxDmabufClientBufferIntegration::deleteImage(), QObject::disconnect(), i, and Q_UNUSED.
Referenced by ~LinuxDmabufWlBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
override |
Definition at line 327 of file linuxdmabuf.cpp.
References Q_UNUSED.
|
inline |
Definition at line 110 of file linuxdmabuf.h.
Referenced by LinuxDmabufClientBuffer::bufferFormatEgl(), LinuxDmabufClientBufferIntegration::importBuffer(), and LinuxDmabufClientBuffer::toOpenGlTexture().
Here is the caller graph for this function:
|
inline |
Definition at line 109 of file linuxdmabuf.h.
Referenced by LinuxDmabufClientBuffer::origin().
Here is the caller graph for this function:
|
inline |
Definition at line 113 of file linuxdmabuf.h.
References plane().
Referenced by LinuxDmabufClientBuffer::toOpenGlTexture().
Here is the call graph for this function:
Here is the caller graph for this function:| void LinuxDmabufWlBuffer::initImage | ( | uint32_t | plane, |
| EGLImageKHR | image | ||
| ) |
Definition at line 282 of file linuxdmabuf.cpp.
References plane(), and Q_ASSERT.
Here is the call graph for this function:| void LinuxDmabufWlBuffer::initTexture | ( | uint32_t | plane, |
| QOpenGLTexture * | texture | ||
| ) |
Definition at line 289 of file linuxdmabuf.cpp.
References QOpenGLContext::aboutToBeDestroyed(), QObject::connect(), QMetaObject::Connection(), QOpenGLContext::currentContext(), Qt::DirectConnection, QObject::disconnect(), plane(), Q_ASSERT, Q_FUNC_INFO, and qCDebug.
Referenced by LinuxDmabufClientBuffer::toOpenGlTexture().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 111 of file linuxdmabuf.h.
Referenced by image(), initImage(), initTexture(), and texture().
Here is the caller graph for this function:
|
inline |
Definition at line 112 of file linuxdmabuf.h.
|
inline |
Definition at line 108 of file linuxdmabuf.h.
Referenced by LinuxDmabufClientBuffer::size(), and LinuxDmabufClientBuffer::toOpenGlTexture().
Here is the caller graph for this function:
|
inline |
Definition at line 114 of file linuxdmabuf.h.
References plane().
Referenced by LinuxDmabufClientBuffer::toOpenGlTexture().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 135 of file linuxdmabuf.h.
|
static |
Definition at line 117 of file linuxdmabuf.h.
Referenced by LinuxDmabufParams::zwp_linux_buffer_params_v1_add().