![]() |
Qt 6.x
The Qt SDK
|
Static Public Member Functions | |
static QOpenGLWindowPrivate * | get (QOpenGLWindow *w) |
![]() | |
static QWindowPrivate * | get (QWindow *window) |
static Qt::WindowState | effectiveState (Qt::WindowStates) |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
enum | PositionPolicy { WindowFrameInclusive , WindowFrameExclusive } |
enum | SiblingPosition { PositionTop , PositionBottom } |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 154 of file qopenglwindow.cpp.
|
inline |
Definition at line 158 of file qopenglwindow.cpp.
References qt_gl_global_share_context(), and shareContext.
QOpenGLWindowPrivate::~QOpenGLWindowPrivate | ( | ) |
Definition at line 189 of file qopenglwindow.cpp.
References blitter, QOpenGLTextureBlitter::destroy(), fbo, paintDevice, and QScopedPointer< T, Cleanup >::reset().
Reimplemented from QPaintDeviceWindowPrivate.
Definition at line 226 of file qopenglwindow.cpp.
References QOpenGLFramebufferObject::bind(), QOpenGLFramebufferObject::CombinedDepthStencil, context, QOpenGLContext::defaultFramebufferObject(), fbo, QOpenGLContext::functions(), GL_FRAMEBUFFER, QOpenGLFunctions::glBindFramebuffer(), QOpenGLFunctions::glViewport(), initialize(), QOpenGLContext::makeCurrent(), QPaintDeviceWindowPrivate::markWindowAsDirty(), QOpenGLWindow::NoPartialUpdate, paintDevice, QOpenGLWindow::PartialUpdateBlend, Q_UNUSED, qWarning, QScopedPointer< T, Cleanup >::reset(), QOpenGLFramebufferObjectFormat::setAttachment(), QOpenGLPaintDevice::setDevicePixelRatio(), QOpenGLFramebufferObjectFormat::setSamples(), QOpenGLPaintDevice::setSize(), QOpenGLFramebufferObject::size(), and updateBehavior.
void QOpenGLWindowPrivate::bindFBO | ( | ) |
Definition at line 306 of file qopenglwindow.cpp.
References QOpenGLFramebufferObject::bind(), QOpenGLFramebufferObject::bindDefault(), fbo, QOpenGLWindow::NoPartialUpdate, and updateBehavior.
Referenced by QOpenGLWindowPaintDevice::ensureActiveTarget().
|
overridevirtual |
Reimplemented from QPaintDeviceWindowPrivate.
Definition at line 267 of file qopenglwindow.cpp.
References QOpenGLTextureBlitter::bind(), QOpenGLTextureBlitter::blit(), blitter, context, QOpenGLTextureBlitter::create(), QScopedPointer< T, Cleanup >::data(), QOpenGLContext::defaultFramebufferObject(), fbo, QOpenGLContext::functions(), GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER, GL_READ_FRAMEBUFFER, QOpenGLFunctions::glBindFramebuffer(), QOpenGLFunctions::glBlendFunc(), QOpenGLExtraFunctions::glBlitFramebuffer(), QOpenGLFunctions::glDisable(), QOpenGLFunctions::glEnable(), QOpenGLFramebufferObject::handle(), hasFboBlit, QOpenGLTextureBlitter::isCreated(), QOpenGLWindow::NoPartialUpdate, QOpenGLTextureBlitter::OriginBottomLeft, QOpenGLWindow::PartialUpdateBlend, QOpenGLWindow::PartialUpdateBlit, QOpenGLFramebufferObject::release(), QOpenGLTextureBlitter::release(), QOpenGLFramebufferObject::size(), QOpenGLTextureBlitter::targetTransform(), QOpenGLFramebufferObject::texture(), and updateBehavior.
Reimplemented from QPaintDeviceWindowPrivate.
Definition at line 314 of file qopenglwindow.cpp.
References context, emit, Q_UNUSED, and QOpenGLContext::swapBuffers().
|
inlinestatic |
Definition at line 169 of file qopenglwindow.cpp.
Referenced by QOpenGLWindowPaintDevice::ensureActiveTarget().
void QOpenGLWindowPrivate::initialize | ( | ) |
Definition at line 201 of file qopenglwindow.cpp.
References context, QOpenGLContext::create(), hasFboBlit, QOpenGLFramebufferObject::hasOpenGLFramebufferBlit(), QOpenGLContext::makeCurrent(), paintDevice, QOpenGLWindow::PartialUpdateBlit, qWarning, QScopedPointer< T, Cleanup >::reset(), QOpenGLContext::setFormat(), QOpenGLContext::setShareContext(), shareContext, and updateBehavior.
Referenced by beginPaint().
QColor QOpenGLWindowPrivate::backgroundColor |
Definition at line 185 of file qopenglwindow.cpp.
QOpenGLTextureBlitter QOpenGLWindowPrivate::blitter |
Definition at line 184 of file qopenglwindow.cpp.
Referenced by ~QOpenGLWindowPrivate(), and endPaint().
QScopedPointer<QOpenGLContext> QOpenGLWindowPrivate::context |
Definition at line 180 of file qopenglwindow.cpp.
Referenced by beginPaint(), endPaint(), flush(), and initialize().
QScopedPointer<QOpenGLFramebufferObject> QOpenGLWindowPrivate::fbo |
Definition at line 182 of file qopenglwindow.cpp.
Referenced by ~QOpenGLWindowPrivate(), beginPaint(), bindFBO(), and endPaint().
bool QOpenGLWindowPrivate::hasFboBlit |
Definition at line 179 of file qopenglwindow.cpp.
Referenced by endPaint(), and initialize().
QScopedPointer<QOffscreenSurface> QOpenGLWindowPrivate::offscreenSurface |
Definition at line 186 of file qopenglwindow.cpp.
QScopedPointer<QOpenGLWindowPaintDevice> QOpenGLWindowPrivate::paintDevice |
Definition at line 183 of file qopenglwindow.cpp.
Referenced by ~QOpenGLWindowPrivate(), beginPaint(), and initialize().
QOpenGLContext* QOpenGLWindowPrivate::shareContext |
Definition at line 181 of file qopenglwindow.cpp.
Referenced by QOpenGLWindowPrivate(), and initialize().
QOpenGLWindow::UpdateBehavior QOpenGLWindowPrivate::updateBehavior |
Definition at line 178 of file qopenglwindow.cpp.
Referenced by beginPaint(), bindFBO(), endPaint(), and initialize().