Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qopenglcontext_p.h>
Public Types | |
using | QOpenGLVertexArrayObjectHelperDestroyCallback_t = void (*)(QOpenGLVertexArrayObjectHelper *) |
Public Types inherited from QObjectPrivate | |
typedef void(*) | StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Member Functions | |
static QOpenGLContext * | setCurrentContext (QOpenGLContext *context) |
static QOpenGLContextPrivate * | get (QOpenGLContext *context) |
static bool | toggleMakeCurrentTracker (QOpenGLContext *context, bool value) |
static void | cleanMakeCurrentTracker (QOpenGLContext *context) |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Static Public Attributes | |
static QHash< QOpenGLContext *, bool > | makeCurrentTracker |
static QMutex | makeCurrentTrackerMutex |
Definition at line 168 of file qopenglcontext_p.h.
using QOpenGLContextPrivate::QOpenGLVertexArrayObjectHelperDestroyCallback_t = void (*)(QOpenGLVertexArrayObjectHelper *) |
Definition at line 211 of file qopenglcontext_p.h.
|
inline |
Definition at line 172 of file qopenglcontext_p.h.
|
override |
Definition at line 383 of file qopenglcontext.cpp.
Definition at line 324 of file qopenglcontext.cpp.
void QOpenGLContextPrivate::adopt | ( | QPlatformOpenGLContext * | context | ) |
Definition at line 387 of file qopenglcontext.cpp.
|
inlinestatic |
Definition at line 248 of file qopenglcontext_p.h.
|
inlinestatic |
Definition at line 235 of file qopenglcontext_p.h.
int QOpenGLContextPrivate::maxTextureSize | ( | ) |
Definition at line 184 of file qopenglcontext.cpp.
|
static |
Set the current context. Returns the previously current context.
Definition at line 165 of file qopenglcontext.cpp.
|
inlinestatic |
Definition at line 241 of file qopenglcontext_p.h.
QPaintEngineEx* QOpenGLContextPrivate::active_engine |
Definition at line 220 of file qopenglcontext_p.h.
GLuint QOpenGLContextPrivate::defaultFboRedirect |
Definition at line 229 of file qopenglcontext_p.h.
|
mutable |
Definition at line 206 of file qopenglcontext_p.h.
QOpenGLFunctions* QOpenGLContextPrivate::functions |
Definition at line 205 of file qopenglcontext_p.h.
|
static |
Definition at line 253 of file qopenglcontext_p.h.
|
static |
Definition at line 254 of file qopenglcontext_p.h.
GLint QOpenGLContextPrivate::max_texture_size |
Definition at line 214 of file qopenglcontext_p.h.
QPlatformOpenGLContext* QOpenGLContextPrivate::platformGLContext |
Definition at line 200 of file qopenglcontext_p.h.
QOpenGLFramebufferObject* QOpenGLContextPrivate::qgl_current_fbo |
Definition at line 227 of file qopenglcontext_p.h.
bool QOpenGLContextPrivate::qgl_current_fbo_invalid |
Definition at line 222 of file qopenglcontext_p.h.
QSurfaceFormat QOpenGLContextPrivate::requestedFormat |
Definition at line 199 of file qopenglcontext_p.h.
QScreen* QOpenGLContextPrivate::screen |
Definition at line 203 of file qopenglcontext_p.h.
QOpenGLContext* QOpenGLContextPrivate::shareContext |
Definition at line 201 of file qopenglcontext_p.h.
QOpenGLContextGroup* QOpenGLContextPrivate::shareGroup |
Definition at line 202 of file qopenglcontext_p.h.
QSurface* QOpenGLContextPrivate::surface |
Definition at line 204 of file qopenglcontext_p.h.
QOpenGLTextureHelper* QOpenGLContextPrivate::textureFunctions |
Definition at line 207 of file qopenglcontext_p.h.
std::function<void()> QOpenGLContextPrivate::textureFunctionsDestroyCallback |
Definition at line 208 of file qopenglcontext_p.h.
QOpenGLVertexArrayObjectHelper* QOpenGLContextPrivate::vaoHelper |
Definition at line 210 of file qopenglcontext_p.h.
QOpenGLVertexArrayObjectHelperDestroyCallback_t QOpenGLContextPrivate::vaoHelperDestroyCallback |
Definition at line 212 of file qopenglcontext_p.h.
QOpenGLContextVersionFunctionHelper* QOpenGLContextPrivate::versionFunctions |
Definition at line 209 of file qopenglcontext_p.h.
bool QOpenGLContextPrivate::workaround_brokenFBOReadBack |
Definition at line 216 of file qopenglcontext_p.h.
bool QOpenGLContextPrivate::workaround_brokenTexSubImage |
Definition at line 217 of file qopenglcontext_p.h.
bool QOpenGLContextPrivate::workaround_missingPrecisionQualifiers |
Definition at line 218 of file qopenglcontext_p.h.