[neon/qt6/qt6-declarative/Neon/unstable] debian/patches: patch out patches

Jonathan Esk-Riddell null at kde.org
Mon Jul 17 16:01:34 BST 2023


Git commit bceb44c4c9ef73b52d7b2eced60168824e6a5799 by Jonathan Esk-Riddell.
Committed on 17/07/2023 at 15:01.
Pushed by jriddell into branch 'Neon/unstable'.

patch out patches

D  +0    -47   debian/patches/935c60a.diff
D  +0    -1    debian/patches/series

https://invent.kde.org/neon/qt6/qt6-declarative/-/commit/bceb44c4c9ef73b52d7b2eced60168824e6a5799

diff --git a/debian/patches/935c60a.diff b/debian/patches/935c60a.diff
deleted file mode 100644
index b3ccb92..0000000
--- a/debian/patches/935c60a.diff
+++ /dev/null
@@ -1,47 +0,0 @@
-From 935c60a93b3196809587d8168525f49b96ae216b Mon Sep 17 00:00:00 2001
-From: David Edmundson <davidedmundson at kde.org>
-Date: Wed, 07 Jun 2023 16:59:20 +0100
-Subject: [PATCH] Match fontEngine glyph cache key to lifespan of owner
-
-The glyph cache key is based on the RHI instance. We clean up the font
-cache when the QSGRenderContext is deleted.
-
-For a regular QQuickWindow this is effectively the same. For a
-QQuickWidget the RHI instance has a lifespan of the parent widget, but
-the render context changes.
-
-Task-number: QTBUG-113426
-Task-number: QTBUG-112306
-Change-Id: Ifd901ace6caaff9a08352901956865f5f58e06ef
-Reviewed-by: Laszlo Agocs <laszlo.agocs at qt.io>
-(cherry picked from commit cc4fbbc5ef208ef22c94b1b034173edffacafe19)
-Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot at qt-project.org>
----
-
-diff --git a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
-index 43a7e91..1896c11 100644
---- a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
-+++ b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
-@@ -408,7 +408,8 @@
-         qreal devicePixelRatio;
-         void *cacheKey;
-         Q_ASSERT(m_rhi);
--        cacheKey = m_rhi;
-+        Q_ASSERT(m_rc);
-+        cacheKey = m_rc;
-         // Get the dpr the modern way. This value retrieved via the
-         // rendercontext matches what RenderState::devicePixelRatio()
-         // exposes to the material shaders later on.
-diff --git a/src/quick/scenegraph/qsgdefaultrendercontext.cpp b/src/quick/scenegraph/qsgdefaultrendercontext.cpp
-index cd0a5b6..4621969 100644
---- a/src/quick/scenegraph/qsgdefaultrendercontext.cpp
-+++ b/src/quick/scenegraph/qsgdefaultrendercontext.cpp
-@@ -110,7 +110,7 @@
-     // sequence. (see qsgdefaultglyphnode_p.cpp's init())
-     for (QSet<QFontEngine *>::const_iterator it = m_fontEnginesToClean.constBegin(),
-          end = m_fontEnginesToClean.constEnd(); it != end; ++it) {
--        (*it)->clearGlyphCache(m_rhi);
-+        (*it)->clearGlyphCache(this);
-         if (!(*it)->ref.deref())
-             delete *it;
-     }
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 5bc4e18..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-935c60a.diff


More information about the Neon-commits mailing list