![]() |
Qt 6.x
The Qt SDK
|
#include <brcmeglintegration.h>
Public Member Functions | |
BrcmEglClientBuffer (BrcmEglIntegration *integration, wl_resource *buffer) | |
QWaylandBufferRef::BufferFormatEgl | bufferFormatEgl () const override |
QSize | size () const override |
QWaylandSurface::Origin | origin () const override |
QOpenGLTexture * | toOpenGlTexture (int plane) override |
![]() | |
ClientBuffer (struct ::wl_resource *bufferResource) | |
virtual | ~ClientBuffer () |
virtual QWaylandBufferRef::BufferFormatEgl | bufferFormatEgl () const |
virtual QSize | size () const =0 |
virtual QWaylandSurface::Origin | origin () const =0 |
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 |
Additional Inherited Members | |
![]() | |
static bool | hasContent (ClientBuffer *buffer) |
static bool | hasProtectedContent (ClientBuffer *buffer) |
![]() | |
void | ref () |
void | deref () |
void | sendRelease () |
virtual void | setDestroyed () |
![]() | |
struct::wl_resource * | m_buffer = nullptr |
QRegion | m_damage |
bool | m_textureDirty = false |
Definition at line 36 of file brcmeglintegration.h.
BrcmEglClientBuffer::BrcmEglClientBuffer | ( | BrcmEglIntegration * | integration, |
wl_resource * | buffer | ||
) |
Definition at line 147 of file brcmeglintegration.cpp.
|
overridevirtual |
Reimplemented from QtWayland::ClientBuffer.
Definition at line 153 of file brcmeglintegration.cpp.
References QWaylandBufferRef::BufferFormatEgl_RGBA.
|
overridevirtual |
Implements QtWayland::ClientBuffer.
Definition at line 164 of file brcmeglintegration.cpp.
References BrcmBuffer::fromResource(), BrcmBuffer::isYInverted(), QtWayland::ClientBuffer::m_buffer, QWaylandSurface::OriginBottomLeft, and QWaylandSurface::OriginTopLeft.
|
overridevirtual |
Implements QtWayland::ClientBuffer.
Definition at line 158 of file brcmeglintegration.cpp.
References BrcmBuffer::fromResource(), QtWayland::ClientBuffer::m_buffer, and BrcmBuffer::size().
|
override |
Definition at line 98 of file brcmeglintegration.cpp.
References QOpenGLTexture::bind(), QOpenGLTexture::create(), d, BrcmBuffer::fromResource(), BrcmEglIntegrationPrivate::get(), GL_CLAMP_TO_EDGE, BrcmBuffer::handle(), QtWayland::ClientBuffer::m_buffer, Q_UNUSED, qWarning, and QOpenGLTexture::Target2D.