Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
DmaBufServerBufferIntegration Class Reference

#include <dmabufserverbufferintegration.h>

+ Inheritance diagram for DmaBufServerBufferIntegration:
+ Collaboration diagram for DmaBufServerBufferIntegration:

Public Member Functions

 DmaBufServerBufferIntegration ()
 
 ~DmaBufServerBufferIntegration () override
 
bool initializeHardware (QWaylandCompositor *) override
 
bool supportsFormat (QtWayland::ServerBuffer::Format format) const override
 
QtWayland::ServerBuffercreateServerBufferFromImage (const QImage &qimage, QtWayland::ServerBuffer::Format format) override
 
EGLDisplay display () const
 
EGLImageKHR eglCreateImageKHR (EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list)
 
EGLBoolean eglDestroyImageKHR (EGLImageKHR image)
 
EGLBoolean eglExportDMABUFImageQueryMESA (EGLImageKHR image, int *fourcc, int *num_planes, EGLuint64KHR *modifiers)
 
EGLBoolean eglExportDMABUFImageMESA (EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets)
 
void glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image)
 
- Public Member Functions inherited from QtWayland::ServerBufferIntegration
 ServerBufferIntegration ()
 
virtual ~ServerBufferIntegration ()
 
virtual ServerBuffercreateServerBufferFromData (QByteArrayView view, const QSize &size, uint glInternalFormat)
 

Detailed Description

Definition at line 68 of file dmabufserverbufferintegration.h.

Constructor & Destructor Documentation

◆ DmaBufServerBufferIntegration()

DmaBufServerBufferIntegration::DmaBufServerBufferIntegration ( )

Definition at line 106 of file dmabufserverbufferintegration.cpp.

◆ ~DmaBufServerBufferIntegration()

DmaBufServerBufferIntegration::~DmaBufServerBufferIntegration ( )
override

Definition at line 110 of file dmabufserverbufferintegration.cpp.

Member Function Documentation

◆ createServerBufferFromImage()

QtWayland::ServerBuffer * DmaBufServerBufferIntegration::createServerBufferFromImage ( const QImage & qimage,
QtWayland::ServerBuffer::Format format )
overridevirtual

◆ display()

EGLDisplay DmaBufServerBufferIntegration::display ( ) const
inline

Definition at line 81 of file dmabufserverbufferintegration.h.

◆ eglCreateImageKHR()

EGLImageKHR DmaBufServerBufferIntegration::eglCreateImageKHR ( EGLContext ctx,
EGLenum target,
EGLClientBuffer buffer,
const EGLint * attrib_list )
inline

Definition at line 109 of file dmabufserverbufferintegration.h.

References qCWarning.

Referenced by DmaBufServerBuffer::DmaBufServerBuffer().

+ Here is the caller graph for this function:

◆ eglDestroyImageKHR()

EGLBoolean DmaBufServerBufferIntegration::eglDestroyImageKHR ( EGLImageKHR image)
inline

Definition at line 118 of file dmabufserverbufferintegration.h.

References qCWarning.

Referenced by DmaBufServerBuffer::DmaBufServerBuffer(), and DmaBufServerBuffer::~DmaBufServerBuffer().

+ Here is the caller graph for this function:

◆ eglExportDMABUFImageMESA()

EGLBoolean DmaBufServerBufferIntegration::eglExportDMABUFImageMESA ( EGLImageKHR image,
int * fds,
EGLint * strides,
EGLint * offsets )
inline

Definition at line 139 of file dmabufserverbufferintegration.h.

References qCWarning.

Referenced by DmaBufServerBuffer::DmaBufServerBuffer().

+ Here is the caller graph for this function:

◆ eglExportDMABUFImageQueryMESA()

EGLBoolean DmaBufServerBufferIntegration::eglExportDMABUFImageQueryMESA ( EGLImageKHR image,
int * fourcc,
int * num_planes,
EGLuint64KHR * modifiers )
inline

Definition at line 127 of file dmabufserverbufferintegration.h.

References qCWarning.

Referenced by DmaBufServerBuffer::DmaBufServerBuffer().

+ Here is the caller graph for this function:

◆ glEGLImageTargetTexture2DOES()

void DmaBufServerBufferIntegration::glEGLImageTargetTexture2DOES ( GLenum target,
GLeglImageOES image )
inline

Definition at line 151 of file dmabufserverbufferintegration.h.

References qCWarning.

◆ initializeHardware()

bool DmaBufServerBufferIntegration::initializeHardware ( QWaylandCompositor * compositor)
overridevirtual

Reimplemented from QtWayland::ServerBufferIntegration.

Definition at line 114 of file dmabufserverbufferintegration.cpp.

References compositor, EGLDisplay(), QGuiApplication::platformNativeInterface(), Q_ASSERT, and qCWarning.

+ Here is the call graph for this function:

◆ supportsFormat()

bool DmaBufServerBufferIntegration::supportsFormat ( QtWayland::ServerBuffer::Format format) const
overridevirtual

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