diff options
Diffstat (limited to 'src/quick/scenegraph/qsgadaptationlayer.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgadaptationlayer.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/quick/scenegraph/qsgadaptationlayer.cpp b/src/quick/scenegraph/qsgadaptationlayer.cpp index db32f656e1..e0b96a45b6 100644 --- a/src/quick/scenegraph/qsgadaptationlayer.cpp +++ b/src/quick/scenegraph/qsgadaptationlayer.cpp @@ -338,25 +338,4 @@ void QSGNodeVisitorEx::visitChildren(QSGNode *node) } } -void QSGLayer::markDirtyTextureLater() -{ - QCoreApplication::postEvent(this, new QEvent(static_cast<QEvent::Type>(markDirtyEventType()))); -} - -void QSGLayer::customEvent(QEvent *event) -{ - if (event->type() == markDirtyEventType()) - markDirtyTexture(); - else - QObject::customEvent(event); -} - -int QSGLayer::markDirtyEventType() -{ - static int type = QEvent::None; - if (type == QEvent::None) - type = QEvent::registerEventType(); - return type; -} - QT_END_NAMESPACE |