![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qpa/qplatformopenglcontext.h>
#include <qpa/qplatformintegration.h>
#include "qopenglcontext.h"
#include "qopenglcontext_p.h"
#include "qwindow.h"
#include <QtCore/QThreadStorage>
#include <QtCore/QThread>
#include <QtCore/private/qlocking_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/private/qopengl_p.h>
#include <QtGui/private/qwindow_p.h>
#include <QtGui/QScreen>
#include <qpa/qplatformnativeinterface.h>
#include <private/qopenglextensions_p.h>
#include <QDebug>
#include "moc_qopenglcontext.cpp"
Go to the source code of this file.
Classes | |
class | QGuiGLThreadContext |
Functions | |
Q_GLOBAL_STATIC (QThreadStorage< QGuiGLThreadContext * >, qwindow_context_storage) | |
void | qt_gl_set_global_share_context (QOpenGLContext *context) |
QOpenGLContext * | qt_gl_global_share_context () |
QDebug | operator<< (QDebug debug, const QOpenGLContext *ctx) |
QDebug | operator<< (QDebug debug, const QOpenGLContextGroup *cg) |
Variables | |
static QOpenGLContext * | global_share_context = nullptr |
QDebug operator<< | ( | QDebug | debug, |
const QOpenGLContext * | ctx ) |
Definition at line 1295 of file qopenglcontext.cpp.
QDebug operator<< | ( | QDebug | debug, |
const QOpenGLContextGroup * | cg ) |
Definition at line 1319 of file qopenglcontext.cpp.
Q_GLOBAL_STATIC | ( | QThreadStorage< QGuiGLThreadContext * > | , |
qwindow_context_storage | ) |
QOpenGLContext * qt_gl_global_share_context | ( | ) |
Definition at line 65 of file qopenglcontext.cpp.
References global_share_context.
void qt_gl_set_global_share_context | ( | QOpenGLContext * | context | ) |
This function is used by Qt::AA_ShareOpenGLContexts and the Qt WebEngine to set up context sharing across multiple windows. Do not use it for any other purpose.
Please maintain the binary compatibility of these functions.
Definition at line 57 of file qopenglcontext.cpp.
References global_share_context.
|
static |
Definition at line 41 of file qopenglcontext.cpp.
Referenced by qt_gl_global_share_context(), and qt_gl_set_global_share_context().