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>.
|
#include <qquickwindow_p.h>
Classes | |
struct | Redirect |
Public Types | |
enum | CustomEvents { FullUpdateRequest = QEvent::User + 1 , TriggerContextCreationFailure = QEvent::User + 2 } |
enum | TextureFromNativeTextureFlag { NativeTextureIsExternalOES = 0x01 } |
Public Types inherited from QWindowPrivate | |
enum | PositionPolicy { WindowFrameInclusive , WindowFrameExclusive } |
enum | SiblingPosition { PositionTop , PositionBottom } |
enum class | FocusTarget { First , Last , Current , Next , Prev } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Member Functions | |
static QQuickWindowPrivate * | get (QQuickWindow *c) |
static const QQuickWindowPrivate * | get (const QQuickWindow *c) |
static bool | dragOverThreshold (qreal d, Qt::Axis axis, const QEventPoint *tp, int startDragThreshold=-1) |
static bool | dragOverThreshold (qreal d, Qt::Axis axis, QMouseEvent *event, int startDragThreshold=-1) |
static void | data_append (QQmlListProperty< QObject > *, QObject *) |
\qmlproperty list<QtObject> Window::data \qmldefault | |
static qsizetype | data_count (QQmlListProperty< QObject > *) |
static QObject * | data_at (QQmlListProperty< QObject > *, qsizetype) |
static void | data_clear (QQmlListProperty< QObject > *) |
static void | data_replace (QQmlListProperty< QObject > *, qsizetype, QObject *) |
static void | data_removeLast (QQmlListProperty< QObject > *) |
static void | rhiCreationFailureMessage (const QString &backendName, QString *translatedMessage, QString *untranslatedMessage) |
static void | emitBeforeRenderPassRecording (void *ud) |
static void | emitAfterRenderPassRecording (void *ud) |
Static Public Member Functions inherited from QWindowPrivate | |
static QWindowPrivate * | get (QWindow *window) |
static Qt::WindowState | effectiveState (Qt::WindowStates) |
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 bool | defaultAlphaBuffer = false |
static QQuickWindow::TextRenderType | textRenderType = QQuickWindow::QtTextRendering |
Additional Inherited Members | |
Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickWindow, QQuickWindowPrivate > | |
void | setCurrentColorGroup () |
Definition at line 107 of file qquickwindow_p.h.
Enumerator | |
---|---|
FullUpdateRequest | |
TriggerContextCreationFailure |
Definition at line 114 of file qquickwindow_p.h.
Enumerator | |
---|---|
NativeTextureIsExternalOES |
Definition at line 167 of file qquickwindow_p.h.
QQuickWindowPrivate::QQuickWindowPrivate | ( | ) |
Definition at line 725 of file qquickwindow.cpp.
|
override |
Definition at line 745 of file qquickwindow.cpp.
References deliveryAgent, inDestructor, redirect, and rhi.
QRhiRenderTarget * QQuickWindowPrivate::activeCustomRhiRenderTarget | ( | ) |
Definition at line 626 of file qquickwindow.cpp.
Definition at line 908 of file qquickwindow.cpp.
References QList< T >::append(), cleanupNodeList, QListSpecialMethodsBase< T >::contains(), and Q_ASSERT.
void QQuickWindowPrivate::cleanupNodes | ( | ) |
Definition at line 1972 of file qquickwindow.cpp.
References cleanupNodeList, and qDeleteAll().
Referenced by cleanupNodesOnShutdown(), and updateDirtyNodes().
void QQuickWindowPrivate::cleanupNodesOnShutdown | ( | ) |
Definition at line 2012 of file qquickwindow.cpp.
References animationController, QSet< T >::begin(), cleanupNodes(), cleanupNodesOnShutdown(), contentItem, QSet< T >::end(), it, parentlessItems, and QQuickAnimatorController::windowNodesDestroyed().
Referenced by cleanupNodesOnShutdown(), QSGSoftwareRenderThread::event(), QSGRhiSupport::grabOffscreen(), QQuickRenderControl::invalidate(), QSGRenderThread::invalidateGraphics(), QSGRenderThread::teardownGraphics(), and QQuickRenderControlPrivate::windowDestroyed().
|
inline |
Definition at line 251 of file qquickwindow_p.h.
References item.
|
overridevirtual |
Reimplemented from QWindowPrivate.
Definition at line 1851 of file qquickwindow.cpp.
References deliveryAgentPrivate().
void QQuickWindowPrivate::clearGrabbers | ( | QPointerEvent * | pointerEvent | ) |
Clears all exclusive and passive grabs for the points in pointerEvent.
We never allow any kind of grab to persist after release, unless we're waiting for a synth event from QtGui (as with most tablet events), so for points that are fully released, the grab is cleared.
Called when QQuickWindow::event dispatches events, or when the QQuickOverlay has filtered an event so that it bypasses normal delivery.
Definition at line 1413 of file qquickwindow.cpp.
References Qt::AA_SynthesizeMouseForUnhandledTabletEvents, QPointerEvent::clearPassiveGrabbers(), QPointerEvent::isEndEvent(), QEvent::isSinglePointEvent(), QQuickDeliveryAgentPrivate::isTabletEvent(), Qt::NoButton, QWindowSystemInterfacePrivate::TabletEvent::platformSynthesizesMouse, QPointerEvent::point(), QPointerEvent::points(), qApp, QEventPoint::Released, and QPointerEvent::setExclusiveGrabber().
|
inline |
Definition at line 178 of file qquickwindow_p.h.
QSGTexture * QQuickWindowPrivate::createTextureFromNativeTexture | ( | quint64 | nativeObjectHandle, |
int | nativeLayoutOrState, | ||
uint | nativeFormat, | ||
const QSize & | size, | ||
QQuickWindow::CreateTextureOptions | options, | ||
TextureFromNativeTextureFlags | flags = {} ) const |
Definition at line 3242 of file qquickwindow.cpp.
References rhi, and QSGPlainTexture::setTextureFromNativeTexture().
QQmlListProperty< QObject > QQuickWindowPrivate::data | ( | ) |
Definition at line 867 of file qquickwindow.cpp.
References data_append(), data_at(), data_clear(), data_count(), data_removeLast(), and data_replace().
|
static |
\qmlproperty list<QtObject> Window::data \qmldefault
The data property allows you to freely mix visual children, resources and other Windows in a Window.
If you assign another Window to the data list, the nested window will become "transient for" the outer Window.
If you assign an \l Item to the data list, it becomes a child of the Window's \l contentItem, so that it appears inside the window. The item's parent will be the window's contentItem, which is the root of the Item ownership tree within that Window.
If you assign any other object type, it is added as a resource.
It should not generally be necessary to refer to the data
property, as it is the default property for Window and thus all child items are automatically assigned to this property.
Definition at line 1910 of file qquickwindow.cpp.
References QQuickItemPrivate::get(), and o.
Referenced by data().
|
static |
Definition at line 1928 of file qquickwindow.cpp.
References QQuickItemPrivate::get(), i, and win.
Referenced by data().
|
static |
Definition at line 1935 of file qquickwindow.cpp.
References QQuickItemPrivate::get(), and win.
Referenced by data().
|
static |
Definition at line 1919 of file qquickwindow.cpp.
References QQuickItemPrivate::get(), and win.
Referenced by data().
|
static |
Definition at line 1949 of file qquickwindow.cpp.
References QQuickItemPrivate::get(), and win.
Referenced by data().
|
static |
Definition at line 1942 of file qquickwindow.cpp.
References QQuickItemPrivate::get(), i, o, and win.
Referenced by data().
|
inline |
Definition at line 138 of file qquickwindow_p.h.
References QObjectPrivate::get().
Referenced by clearFocusObject(), QQuickMouseArea::itemChange(), QQuickRenderControl::polishItems(), polishItems(), QSGOpenVGRenderLoop::renderWindow(), QSGGuiThreadRenderLoop::renderWindow(), QSGSoftwareRenderLoop::renderWindow(), and setFocusToTarget().
void QQuickWindowPrivate::dirtyItem | ( | QQuickItem * | ) |
Definition at line 878 of file qquickwindow.cpp.
Referenced by polishItems().
|
inlinestatic |
Definition at line 247 of file qquickwindow_p.h.
References d, and QQuickDeliveryAgentPrivate::dragOverThreshold().
Referenced by QQuickDrawerPrivate::grabMouse(), QQuickSwipeDelegatePrivate::handleMouseMoveEvent(), QQuickSwitch::mouseMoveEvent(), and QQuickSwitchDelegate::mouseMoveEvent().
|
inlinestatic |
Definition at line 249 of file qquickwindow_p.h.
References d, and QQuickDeliveryAgentPrivate::dragOverThreshold().
Definition at line 605 of file qquickwindow.cpp.
References emit.
Definition at line 599 of file qquickwindow.cpp.
References emit.
bool QQuickWindowPrivate::emitError | ( | QQuickWindow::SceneGraphError | error, |
const QString & | msg ) |
Definition at line 2341 of file qquickwindow.cpp.
References emit, error, and QMetaMethod::fromSignal().
void QQuickWindowPrivate::ensureCustomRenderTarget | ( | ) |
Definition at line 522 of file qquickwindow.cpp.
References QQuickRenderTargetPrivate::get(), QQuickWindowRenderTarget::KeepImplicitBuffers, qWarning, and resolve().
|
inline |
Definition at line 204 of file qquickwindow_p.h.
References Q_EMIT.
Referenced by QSGOpenVGRenderLoop::hide(), QSGSoftwareRenderLoop::hide(), QSGGuiThreadRenderLoop::hide(), and QQuickRenderControl::invalidate().
|
inline |
Definition at line 203 of file qquickwindow_p.h.
References Q_EMIT.
Referenced by QSGOpenVGRenderLoop::renderWindow(), QSGGuiThreadRenderLoop::renderWindow(), QSGSoftwareRenderLoop::renderWindow(), and QSGSoftwareRenderThread::syncAndRender().
void QQuickWindowPrivate::forcePolish | ( | ) |
Schedules polish events on all items in the scene.
Definition at line 459 of file qquickwindow.cpp.
References contentItem, and forcePolishHelper().
|
inlinestatic |
Definition at line 120 of file qquickwindow_p.h.
|
inlinestatic |
Definition at line 119 of file qquickwindow_p.h.
Referenced by QQuick3DWindowAttachment::QQuick3DWindowAttachment(), QQuickRenderControl::~QQuickRenderControl(), QQuickItemPrivate::addToDirtyList(), QQuick3DLightmapBaker::bake(), QSGRenderLoop::cleanup(), QQuickContainerPrivate::cleanup(), QQuickDeliveryAgentPrivate::clearFocusInScope(), QQuickItem::componentComplete(), QSGRhiSupport::createRhi(), QSGCompressedTextureFactory::createTexture(), QQuickDragAttachedPrivate::deliverEvent(), QQuickItemPrivate::deliveryAgent(), QQuickItemPrivate::derefWindow(), QQuickItemPrivate::dirty(), QQuickShapeGenericRenderer::endSync(), QSGRenderThread::ensureRhi(), QSGGuiThreadRenderLoop::ensureRhi(), QSGRenderThread::event(), QSGSoftwareRenderThread::event(), QQuickDeliveryAgent::event(), QQuickWindowContainer::eventFilter(), QQuickOverlay::eventFilter(), QSGGuiThreadRenderLoop::exposureChanged(), QSGThreadedRenderLoop::exposureChanged(), QQuickTouchUtils::flush(), QQuickDeliveryAgentPrivate::flushFrameSynchronousEvents(), QSGSoftwareContext::getResource(), QSGDefaultContext::getResource(), QQuickRenderControlPrivate::grab(), QSGThreadedRenderLoop::grab(), QSGSoftwareThreadedRenderLoop::grab(), QSGGuiThreadRenderLoop::grab(), QSGRhiSupport::grabOffscreen(), QSGRenderLoop::handleContextCreationFailure(), QSGGuiThreadRenderLoop::handleDeviceLoss(), QQuickDeliveryAgentPrivate::handleMouseEvent(), QQuickShaderEffectPrivate::handleUpdatePaintNode(), QSGThreadedRenderLoop::handleUpdateRequest(), QSGOpenVGRenderLoop::hide(), QSGSoftwareRenderLoop::hide(), QSGGuiThreadRenderLoop::hide(), QQuickRenderControl::initialize(), QQuickRenderControl::invalidate(), QSGRenderThread::invalidateGraphics(), QQuickRenderControlPrivate::isRenderWindowFor(), QQuickMouseArea::itemChange(), QQuickCanvasItem::itemChange(), QSGGuiThreadRenderLoop::maybeUpdate(), QQuickItem::polish(), QQuickRenderControl::polishItems(), QQuickDesignerSupport::polishItems(), QSGRenderLoop::postJob(), QQuickRenderControl::prepareThread(), QSGRhiSupport::prepareWindowForRhi(), QQuickTest::qIsPolishScheduled(), QQuickTest::qWaitForPolish(), QQuickDesignerSupport::refFromEffectItem(), QQuickItemPrivate::refWindow(), QSGGuiThreadRenderLoop::releaseResources(), QSGGuiThreadRenderLoop::releaseSwapchain(), QQuickRenderControl::render(), QQuickWidgetPrivate::render(), QSGOpenVGRenderLoop::renderWindow(), QSGGuiThreadRenderLoop::renderWindow(), QSGSoftwareRenderLoop::renderWindow(), QQuickRenderControl::renderWindowFor(), QQuickWidgetPrivate::rhiConfig(), QSGRhiSupport::rifResource(), setActiveFocus(), QQuickMenuPrivate::setCurrentIndex(), QQuickDeliveryAgentPrivate::setFocusInScope(), QQuickItem::setParentItem(), QQuickRenderControl::sync(), QSGSoftwareRenderThread::sync(), QSGRenderThread::sync(), QSGSoftwareRenderThread::syncAndRender(), QSGRenderThread::syncAndRender(), QSGGuiThreadRenderLoop::teardownGraphics(), QSGRenderThread::teardownGraphics(), QQuickCanvasItem::textureProvider(), QQuickFramebufferObject::textureProvider(), QQuickDesignerSupport::updateDirtyNode(), QQuickCanvasItem::updatePaintNode(), QQuickShaderEffectPrivate::updateUniformValue(), QQuickRenderControlPrivate::windowDestroyed(), QSGOpenVGRenderLoop::windowDestroyed(), QSGSoftwareRenderLoop::windowDestroyed(), and QSGGuiThreadRenderLoop::windowDestroyed().
void QQuickWindowPrivate::init | ( | QQuickWindow * | c, |
QQuickRenderControl * | control = nullptr ) |
Definition at line 782 of file qquickwindow.cpp.
References QSGRenderLoop::addWindow(), animationController, QGuiApplication::applicationStateChanged(), QObject::connect(), contentItem, context, QJSEngine::CppOwnership, QSGRenderLoop::createRenderContext(), QSGContext::defaultSurfaceFormat(), deliveryAgent, Qt::DirectConnection, QWindow::focusObjectChanged(), QGuiApplication::fontDatabaseChanged(), QQuickWindow::frameSwapped(), QQuickItemPrivate::get(), QQuickRenderControlPrivate::get(), QSGRenderContext::initialized(), QSGRenderLoop::instance(), QCoreApplication::instance(), QSGRenderContext::invalidated(), QQuickItem::ItemIsFocusScope, lastReportedItemDevicePixelRatio, QSurface::OpenGLSurface, Q_ASSERT, QObjectData::q_ptr, qApp, qgetenv(), QQml_setParent_noEvent(), renderControl, QScopedPointer< T, Cleanup >::reset(), QSGRenderLoop::sceneGraphContext(), QQuickWindow::sceneGraphInitialized(), QQuickWindow::sceneGraphInvalidated(), QWindow::screenChanged(), QObject::setObjectName(), QJSEngine::setObjectOwnership(), QQuickItem::setSize(), visualizationMode, windowManager, and QSGRenderLoop::windowSurfaceType().
void QQuickWindowPrivate::invalidateFontData | ( | QQuickItem * | item | ) |
Definition at line 511 of file qquickwindow.cpp.
References child, QGraphicsItem::childItems(), and item.
bool QQuickWindowPrivate::isRenderable | ( | ) | const |
Definition at line 1956 of file qquickwindow.cpp.
Referenced by QSGGuiThreadRenderLoop::maybeUpdate(), QSGOpenVGRenderLoop::renderWindow(), QSGGuiThreadRenderLoop::renderWindow(), and QSGSoftwareRenderLoop::renderWindow().
int QQuickWindowPrivate::multiViewCount | ( | ) |
Definition at line 611 of file qquickwindow.cpp.
QOpenGLContext * QQuickWindowPrivate::openglContext | ( | ) |
Definition at line 2378 of file qquickwindow.cpp.
References context, QSGRenderContext::isValid(), QSGRendererInterface::OpenGLContextResource, QSGContext::rendererInterface(), and QSGRenderContext::sceneGraphContext().
void QQuickWindowPrivate::polishItems | ( | ) |
Definition at line 352 of file qquickwindow.cpp.
References contentItem, deliveryAgentPrivate(), dirtyItem(), firstItemWithDirtyChildrenStacking(), QGuiApplication::focusObject(), QQuickItemPrivate::get(), Qt::ImEnabled, QGraphicsItem::inputMethodQuery(), item, itemsToPolish, QQuickItemPrivate::polishScheduled, qCDebug, updateChildWindowStackingOrder(), QQuickDeliveryAgentPrivate::updateFocusItemTransform(), and QQuickItemPrivate::updatePolish().
Referenced by QQuickRenderControlPrivate::grab(), QSGSoftwareThreadedRenderLoop::grab(), QSGGuiThreadRenderLoop::grab(), QSGRhiSupport::grabOffscreen(), QQuickRenderControl::polishItems(), QSGOpenVGRenderLoop::renderWindow(), QSGGuiThreadRenderLoop::renderWindow(), and QSGSoftwareRenderLoop::renderWindow().
void QQuickWindowPrivate::renderSceneGraph | ( | ) |
Definition at line 635 of file qquickwindow.cpp.
References cb, context, emit, QSGAbstractRenderer::MatrixTransformFlipY, QQuickWindowRenderTarget::multiViewCount, QCoreApplication::postEvent(), qWarning, rect, renderer, and QQuickWindowRenderTarget::rt.
Referenced by QSGRenderThread::event(), QSGSoftwareRenderThread::event(), QSGGuiThreadRenderLoop::grab(), QSGRhiSupport::grabOffscreen(), QQuickRenderControl::render(), QSGOpenVGRenderLoop::renderWindow(), QSGGuiThreadRenderLoop::renderWindow(), QSGSoftwareRenderLoop::renderWindow(), and QSGSoftwareRenderThread::syncAndRender().
|
static |
Definition at line 1962 of file qquickwindow.cpp.
References backendName, QString::fromLatin1(), and QT_TRANSLATE_NOOP.
Referenced by QQuickWidgetPrivate::handleContextCreationFailure(), and QSGRenderLoop::handleContextCreationFailure().
Definition at line 3989 of file qquickwindow.cpp.
References QMutex::lock(), renderJobMutex, and QMutex::unlock().
void QQuickWindowPrivate::setCustomCommandBuffer | ( | QRhiCommandBuffer * | cb | ) |
Definition at line 539 of file qquickwindow.cpp.
References cb.
Referenced by QSGRhiSupport::grabOffscreen(), QQuickRenderControl::render(), and QQuickRenderControl::sync().
|
override |
Definition at line 1857 of file qquickwindow.cpp.
References Qt::ActiveWindowFocusReason, contentItem, deliveryAgentPrivate(), QWindowPrivate::First, QWindowPrivate::Last, QWindowPrivate::Next, QQuickItemPrivate::nextPrevItemInTabFocusChain(), QWindowPrivate::Prev, and Q_ASSERT.
|
overridevirtual |
Set new palette. Doesn't transfer ownership.
Reimplemented from QQuickPaletteProviderPrivateBase< QQuickWindow, QQuickWindowPrivate >.
Definition at line 754 of file qquickwindow.cpp.
References QQuickColorGroup::changed(), QObjectPrivate::connect(), disconnect(), QQuickPaletteProviderPrivateBase< QQuickWindow, QQuickWindowPrivate >::palette(), updateWindowPalette(), and windowPaletteRef.
void QQuickWindowPrivate::syncSceneGraph | ( | ) |
Definition at line 545 of file qquickwindow.cpp.
References QSGNode::appendChildNode(), cb, QFont::cleanup(), context, emit, forceUpdate(), QQuickItemPrivate::get(), renderer, QSGRendererInterface::RenderMode2D, and QSGRendererInterface::RenderMode2DNoDepthBuffer.
Referenced by QSGRenderThread::event(), QSGSoftwareRenderThread::event(), QQuickRenderControlPrivate::grab(), QSGGuiThreadRenderLoop::grab(), QSGRhiSupport::grabOffscreen(), QSGOpenVGRenderLoop::renderWindow(), QSGGuiThreadRenderLoop::renderWindow(), QSGSoftwareRenderLoop::renderWindow(), QQuickRenderControl::sync(), and QSGSoftwareRenderThread::sync().
Updates children palettes. The default implementation invokes inheritPalette for all visual children.
This function is also called when palette is changed (signal changed() is emitted).
Reimplemented from QQuickPaletteProviderPrivateBase< QQuickWindow, QQuickWindowPrivate >.
Definition at line 772 of file qquickwindow.cpp.
References child, QQuickItemPrivate::get(), and QQuickPaletteProviderPrivateBase< QQuickWindow, QQuickWindowPrivate >::parentPalette().
Referenced by QQuickApplicationWindowPrivate::updateChildrenPalettes().
void QQuickWindowPrivate::updateChildWindowStackingOrder | ( | QQuickItem * | item = nullptr | ) |
Definition at line 1671 of file qquickwindow.cpp.
References child, contentItem, QQuickItemPrivate::get(), item, qCDebug, updateChildWindowStackingOrder(), and window().
Referenced by polishItems(), and updateChildWindowStackingOrder().
void QQuickWindowPrivate::updateDirtyNode | ( | QQuickItem * | item | ) |
Definition at line 2090 of file qquickwindow.cpp.
References QSGNode::appendChildNode(), child, QQuickItemPrivate::ChildrenUpdateMask, QQuickItemPrivate::Clip, QQuickItemPrivate::ContentUpdateMask, QQuickItemPrivate::EffectReference, fetchNextNode(), QSGNode::firstChild(), QQuickItemPrivate::get(), QQuickItemPrivate::HideReference, i, item, QQuickItem::ItemHasContents, QSGNode::nextSibling(), QWindowPrivate::opacity, QQuickItemPrivate::OpacityValue, QObjectData::parent, QSGNode::parent(), Q_ASSERT, qquickitem_before_paintNode(), QSGNode::removeChildNode(), QSGNode::reparentChildNodesTo(), QSGClipNode::setClipRect(), QQuickItemPrivate::Size, QQuickItem::TopLeft, QQuickItem::UpdatePaintNodeData::transformNode, QGraphicsItem::transformOriginPoint(), QQuickItemPrivate::TransformUpdateMask, QMatrix4x4::translate(), QQuickDefaultClipNode::update(), updatePaintNodeData, QQuickItemPrivate::Visible, QQuickItemPrivate::Window, QPointF::x(), and QPointF::y().
Referenced by updateDirtyNodes().
void QQuickWindowPrivate::updateDirtyNodes | ( | ) |
Definition at line 2023 of file qquickwindow.cpp.
References cleanupNodes(), dirtyItemList, QQuickItemPrivate::get(), item, qCDebug, qPrintable, and updateDirtyNode().
bool QQuickWindowPrivate::updateEffectiveOpacity | ( | QQuickItem * | ) |
void QQuickWindowPrivate::updateEffectiveOpacityRoot | ( | QQuickItem * | , |
qreal | ) |
void QQuickWindowPrivate::updateWindowPalette | ( | ) |
Definition at line 767 of file qquickwindow.cpp.
References QQuickPaletteProviderPrivateBase< I, Impl >::setPalette(), and windowPaletteRef.
Referenced by setPalette().
Definition at line 274 of file qquickwindow_p.h.
Definition at line 275 of file qquickwindow_p.h.
Definition at line 272 of file qquickwindow_p.h.
QScopedPointer<QQuickAnimatorController> QQuickWindowPrivate::animationController |
Definition at line 219 of file qquickwindow_p.h.
Referenced by cleanupNodesOnShutdown(), QSGSoftwareRenderThread::event(), init(), QSGRenderThread::invalidateGraphics(), and QSGSoftwareRenderThread::syncAndRender().
Definition at line 273 of file qquickwindow_p.h.
Definition at line 271 of file qquickwindow_p.h.
Definition at line 189 of file qquickwindow_p.h.
Referenced by cleanup(), and cleanupNodes().
QColor QQuickWindowPrivate::clearColor |
Definition at line 221 of file qquickwindow_p.h.
QQuickRootItem* QQuickWindowPrivate::contentItem |
Definition at line 131 of file qquickwindow_p.h.
Referenced by cleanupNodesOnShutdown(), forcePolish(), QQuickViewPrivate::init(), init(), polishItems(), setFocusToTarget(), and updateChildWindowStackingOrder().
QSGRenderContext* QQuickWindowPrivate::context |
Definition at line 213 of file qquickwindow_p.h.
Referenced by QQuick3DWindowAttachment::QQuick3DWindowAttachment(), QSGGuiThreadRenderLoop::ensureRhi(), QSGRhiSupport::grabOffscreen(), init(), openglContext(), QSGOpenVGRenderLoop::renderWindow(), and QSGSoftwareRenderLoop::renderWindow().
QQuickGraphicsDevice QQuickWindowPrivate::customDeviceObjects |
Definition at line 237 of file qquickwindow_p.h.
Referenced by QSGRhiSupport::createRhi().
QQuickRenderTarget QQuickWindowPrivate::customRenderTarget |
Definition at line 229 of file qquickwindow_p.h.
|
static |
Definition at line 243 of file qquickwindow_p.h.
QQuickDeliveryAgent* QQuickWindowPrivate::deliveryAgent = nullptr |
Definition at line 137 of file qquickwindow_p.h.
Referenced by ~QQuickWindowPrivate(), and init().
QRhiRenderBuffer* QQuickWindowPrivate::depthStencilForSwapchain = nullptr |
Definition at line 283 of file qquickwindow_p.h.
Referenced by QSGRenderThread::ensureRhi(), QSGGuiThreadRenderLoop::ensureRhi(), and QSGGuiThreadRenderLoop::releaseSwapchain().
QQuickItem* QQuickWindowPrivate::dirtyItemList |
Definition at line 188 of file qquickwindow_p.h.
Referenced by updateDirtyNodes().
QQuickGraphicsConfiguration QQuickWindowPrivate::graphicsConfig |
Definition at line 239 of file qquickwindow_p.h.
Referenced by QQuickRenderControl::~QQuickRenderControl(), QSGRhiSupport::createRhi(), QSGRenderThread::invalidateGraphics(), QSGGuiThreadRenderLoop::renderWindow(), QQuickWidgetPrivate::rhiConfig(), and QSGRenderThread::syncAndRender().
uint QQuickWindowPrivate::hasActiveSwapchain |
Definition at line 285 of file qquickwindow_p.h.
Referenced by QSGGuiThreadRenderLoop::exposureChanged(), QSGThreadedRenderLoop::exposureChanged(), QSGGuiThreadRenderLoop::releaseSwapchain(), QSGGuiThreadRenderLoop::renderWindow(), and QSGRenderThread::syncAndRender().
uint QQuickWindowPrivate::hasRenderableSwapchain |
Definition at line 286 of file qquickwindow_p.h.
Referenced by QSGGuiThreadRenderLoop::exposureChanged(), QSGThreadedRenderLoop::exposureChanged(), QSGGuiThreadRenderLoop::releaseSwapchain(), QSGGuiThreadRenderLoop::renderWindow(), and QSGRenderThread::syncAndRender().
|
mutable |
Definition at line 241 of file qquickwindow_p.h.
uint QQuickWindowPrivate::inDestructor |
Definition at line 225 of file qquickwindow_p.h.
Referenced by ~QQuickWindowPrivate().
QVector<QQuickItem *> QQuickWindowPrivate::itemsToPolish |
Definition at line 191 of file qquickwindow_p.h.
Referenced by polishItems().
qreal QQuickWindowPrivate::lastReportedItemDevicePixelRatio |
Definition at line 193 of file qquickwindow_p.h.
Referenced by init().
QSet<QQuickItem *> QQuickWindowPrivate::parentlessItems |
Definition at line 132 of file qquickwindow_p.h.
Referenced by cleanupNodesOnShutdown().
bool QQuickWindowPrivate::pendingFontUpdate = false |
Definition at line 289 of file qquickwindow_p.h.
uint QQuickWindowPrivate::persistentGraphics |
Definition at line 223 of file qquickwindow_p.h.
uint QQuickWindowPrivate::persistentSceneGraph |
Definition at line 224 of file qquickwindow_p.h.
QMetaObject::Connection QQuickWindowPrivate::physicalDpiChangedConnection |
Definition at line 194 of file qquickwindow_p.h.
struct QQuickWindowPrivate::Redirect QQuickWindowPrivate::redirect |
Referenced by ~QQuickWindowPrivate().
QQuickRenderControl* QQuickWindowPrivate::renderControl |
Definition at line 218 of file qquickwindow_p.h.
Referenced by QQuickRenderControl::~QQuickRenderControl(), QSGRhiSupport::grabOffscreen(), init(), and QSGRhiSupport::prepareWindowForRhi().
QSGRenderer* QQuickWindowPrivate::renderer |
Definition at line 214 of file qquickwindow_p.h.
Referenced by QSGSoftwareRenderThread::event(), QQuickRenderControlPrivate::grab(), QQuickWidgetPrivate::render(), QSGSoftwareRenderLoop::renderWindow(), QSGSoftwareRenderThread::sync(), and QSGSoftwareRenderThread::syncAndRender().
QMutex QQuickWindowPrivate::renderJobMutex |
Definition at line 270 of file qquickwindow_p.h.
Referenced by runAndClearJobs().
Definition at line 281 of file qquickwindow_p.h.
Referenced by ~QQuickWindowPrivate(), createTextureFromNativeTexture(), QSGRenderThread::ensureRhi(), QSGGuiThreadRenderLoop::ensureRhi(), QSGRenderThread::event(), QSGGuiThreadRenderLoop::grab(), QSGRhiSupport::grabOffscreen(), QQuickRenderControl::initialize(), QSGRenderThread::invalidateGraphics(), QSGRenderLoop::postJob(), QSGGuiThreadRenderLoop::renderWindow(), and QSGRenderThread::syncAndRender().
QQuickWindow::GraphicsStateInfo QQuickWindowPrivate::rhiStateInfo |
Definition at line 280 of file qquickwindow_p.h.
QRhiRenderPassDescriptor* QQuickWindowPrivate::rpDescForSwapchain = nullptr |
Definition at line 284 of file qquickwindow_p.h.
Referenced by QSGRenderThread::ensureRhi(), QSGGuiThreadRenderLoop::ensureRhi(), and QSGGuiThreadRenderLoop::releaseSwapchain().
QRhiSwapChain* QQuickWindowPrivate::swapchain = nullptr |
Definition at line 282 of file qquickwindow_p.h.
Referenced by QSGRenderThread::ensureRhi(), QSGGuiThreadRenderLoop::ensureRhi(), QSGRenderThread::event(), QSGGuiThreadRenderLoop::exposureChanged(), QSGThreadedRenderLoop::exposureChanged(), QSGGuiThreadRenderLoop::grab(), QSGRenderThread::invalidateGraphics(), QSGGuiThreadRenderLoop::releaseSwapchain(), QSGGuiThreadRenderLoop::renderWindow(), and QSGRenderThread::syncAndRender().
uint QQuickWindowPrivate::swapchainJustBecameRenderable |
Definition at line 287 of file qquickwindow_p.h.
Referenced by QSGGuiThreadRenderLoop::exposureChanged(), QSGThreadedRenderLoop::exposureChanged(), QSGGuiThreadRenderLoop::releaseSwapchain(), QSGGuiThreadRenderLoop::renderWindow(), and QSGRenderThread::syncAndRender().
|
static |
Definition at line 244 of file qquickwindow_p.h.
QQuickItem::UpdatePaintNodeData QQuickWindowPrivate::updatePaintNodeData |
Definition at line 186 of file qquickwindow_p.h.
Referenced by updateDirtyNode().
uint QQuickWindowPrivate::updatesEnabled |
Definition at line 288 of file qquickwindow_p.h.
Referenced by QSGGuiThreadRenderLoop::renderWindow().
QByteArray QQuickWindowPrivate::visualizationMode |
Definition at line 215 of file qquickwindow_p.h.
Referenced by init().
bool QQuickWindowPrivate::windowEventDispatch = false |
Definition at line 290 of file qquickwindow_p.h.
QSGRenderLoop* QQuickWindowPrivate::windowManager |
Definition at line 217 of file qquickwindow_p.h.
Referenced by QSGRenderLoop::cleanup(), and init().
QPointer<QQuickPalette> QQuickWindowPrivate::windowPaletteRef |
Definition at line 291 of file qquickwindow_p.h.
Referenced by setPalette(), and updateWindowPalette().