![]() |
Qt 6.x
The Qt SDK
|
#include <waylandeglclientbufferintegration_p.h>
Inheritance diagram for WaylandEglClientBuffer:
Collaboration diagram for WaylandEglClientBuffer:Public Member Functions | |
| WaylandEglClientBuffer (WaylandEglClientBufferIntegration *integration, wl_resource *bufferResource) | |
| ~WaylandEglClientBuffer () override | |
| QWaylandBufferRef::BufferFormatEgl | bufferFormatEgl () const override |
| QSize | size () const override |
| QWaylandSurface::Origin | origin () const override |
| quintptr | lockNativeBuffer () override |
| void | unlockNativeBuffer (quintptr native_buffer) const override |
| QOpenGLTexture * | toOpenGlTexture (int plane) override |
| void | setCommitted (QRegion &damage) override |
| bool | isProtected () override |
Public Member Functions inherited from QtWayland::ClientBuffer | |
| 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 |
Friends | |
| class | WaylandEglClientBufferIntegration |
| class | WaylandEglClientBufferIntegrationPrivate |
Additional Inherited Members | |
Static Public Member Functions inherited from QtWayland::ClientBuffer | |
| static bool | hasContent (ClientBuffer *buffer) |
| static bool | hasProtectedContent (ClientBuffer *buffer) |
Protected Member Functions inherited from QtWayland::ClientBuffer | |
| void | ref () |
| void | deref () |
| void | sendRelease () |
| virtual void | setDestroyed () |
Protected Attributes inherited from QtWayland::ClientBuffer | |
| struct::wl_resource * | m_buffer = nullptr |
| QRegion | m_damage |
| bool | m_textureDirty = false |
Definition at line 44 of file waylandeglclientbufferintegration_p.h.
| WaylandEglClientBuffer::WaylandEglClientBuffer | ( | WaylandEglClientBufferIntegration * | integration, |
| wl_resource * | bufferResource | ||
| ) |
Definition at line 575 of file waylandeglclientbufferintegration.cpp.
References WaylandEglClientBufferIntegrationPrivate::get(), and BufferState::size.
Here is the call graph for this function:
|
override |
Definition at line 592 of file waylandeglclientbufferintegration.cpp.
References QMetaObject::Connection(), QOpenGLContext::currentContext(), QObject::disconnect(), BufferState::egl_images, BufferState::egl_stream, WaylandEglClientBufferIntegrationPrivate::get(), i, Q_FUNC_INFO, qCDebug, BufferState::textures, BufferState::texturesAboutToBeDestroyedConnection, BufferState::texturesContext, and BufferState::texturesLock.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QtWayland::ClientBuffer.
Definition at line 656 of file waylandeglclientbufferintegration.cpp.
References BufferState::egl_format, and formatFromEglFormat().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QtWayland::ClientBuffer.
Definition at line 706 of file waylandeglclientbufferintegration.cpp.
References QtWayland::ClientBufferIntegration::isProtected(), and QtWayland::ClientBuffer::m_buffer.
Referenced by toOpenGlTexture().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QtWayland::ClientBuffer.
Definition at line 720 of file waylandeglclientbufferintegration.cpp.
References EGL_NO_STREAM_KHR, BufferState::egl_stream, EGL_WAYLAND_BUFFER_WL, WaylandEglClientBufferIntegrationPrivate::get(), QtWayland::ClientBuffer::image(), and QtWayland::ClientBuffer::m_buffer.
Here is the call graph for this function:
|
overridevirtual |
Implements QtWayland::ClientBuffer.
Definition at line 715 of file waylandeglclientbufferintegration.cpp.
References BufferState::isYInverted, QWaylandSurface::OriginBottomLeft, and QWaylandSurface::OriginTopLeft.
Reimplemented from QtWayland::ClientBuffer.
Definition at line 697 of file waylandeglclientbufferintegration.cpp.
References BufferState::eglMode, WaylandEglClientBufferIntegrationPrivate::get(), BufferState::ModeEGLStream, BufferState::ModeUninitialized, and QtWayland::ClientBuffer::waylandBufferHandle().
Here is the call graph for this function:
|
overridevirtual |
Implements QtWayland::ClientBuffer.
Definition at line 744 of file waylandeglclientbufferintegration.cpp.
References BufferState::size.
|
override |
Definition at line 661 of file waylandeglclientbufferintegration.cpp.
References BufferState::egl_format, BufferState::egl_images, EGL_TEXTURE_EXTERNAL_WL, BufferState::eglMode, WaylandEglClientBufferIntegrationPrivate::get(), GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_PROTECTED_EXT, QSize::height(), isProtected(), QtWayland::ClientBuffer::m_buffer, QtWayland::ClientBuffer::m_textureDirty, BufferState::ModeEGLStream, openGLFormatFromEglFormat(), BufferState::size, BufferState::textures, and QSize::width().
Here is the call graph for this function:Reimplemented from QtWayland::ClientBuffer.
Definition at line 733 of file waylandeglclientbufferintegration.cpp.
References WaylandEglClientBufferIntegrationPrivate::get().
Here is the call graph for this function:
|
friend |
Definition at line 60 of file waylandeglclientbufferintegration_p.h.
|
friend |
Definition at line 61 of file waylandeglclientbufferintegration_p.h.