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

(30eb2b2417c2658fb324452d1fc76043157ada23)

#include "qopenglvideobuffer_p.h"
#include <qoffscreensurface.h>
#include <qthread.h>
#include <private/qimagevideobuffer_p.h>
#include <QtOpenGL/private/qopenglcompositor_p.h>
#include <QtOpenGL/private/qopenglframebufferobject_p.h>
+ Include dependency graph for qopenglvideobuffer.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE QOpenGLContextcreateContext (QOpenGLContext *shareContext)
 
static bool setCurrentOpenGLContext ()
 

Function Documentation

◆ createContext()

static QT_BEGIN_NAMESPACE QOpenGLContext * createContext ( QOpenGLContext * shareContext)
static

Definition at line 15 of file qopenglvideobuffer.cpp.

References QObject::connect(), context, QThread::currentThread(), QObject::deleteLater(), QThread::finished(), and qWarning.

Referenced by QV4::Compiler::Context::emitBlockHeader(), and setCurrentOpenGLContext().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCurrentOpenGLContext()

static bool setCurrentOpenGLContext ( )
static

Definition at line 32 of file qopenglvideobuffer.cpp.

References context, QOffscreenSurface::create(), createContext(), QThread::currentThread(), QOpenGLCompositor::instance(), and QOffscreenSurface::setFormat().

Referenced by QOpenGLVideoBuffer::ensureImageBuffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: