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
shmserverbufferintegration.cpp File Reference

(bca60ddb2cc8e2cc099a12fa0aba637f84b12563)

#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 QOpenGLTexturecreateTextureFromShm (const QString &key, int w, int h, int bpl, int format)
 

Function Documentation

◆ createTextureFromShm()

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: