![]() |
Qt 6.x
The Qt SDK
|
#include "shmserverbufferintegration.h"#include <QtWaylandClient/private/qwaylanddisplay_p.h>#include <QDebug>#include <QtOpenGL/QOpenGLTexture>#include <QtGui/QOpenGLContext>#include <QtGui/QImage>#include <QtCore/QSharedMemory>
Include dependency graph for shmserverbufferintegration.cpp:Go to the source code of this file.
Namespaces | |
| namespace | QtWaylandClient |
Functions | |
| static QT_BEGIN_NAMESPACE QOpenGLTexture * | createTextureFromShm (const QString &key, int w, int h, int bpl, int format) |
|
static |
Definition at line 14 of file shmserverbufferintegration.cpp.
References QOpenGLContext::currentContext(), QOpenGLTexture::DontGenerateMipMaps, QImage::Format_Alpha8, QImage::Format_RGBA8888, ok, QT_IGNORE_DEPRECATIONS, and qWarning.
Referenced by QtWaylandClient::ShmServerBuffer::toOpenGlTexture().
Here is the call graph for this function:
Here is the caller graph for this function: