[neon/qt6/qt6-declarative/Neon/release] debian/patches: remove patch in release

Jonathan Esk-Riddell null at kde.org
Wed Oct 4 15:59:30 BST 2023


Git commit ba0414e606eb4de13101f56b121e81db1575cf42 by Jonathan Esk-Riddell.
Committed on 04/10/2023 at 16:58.
Pushed by jriddell into branch 'Neon/release'.

remove patch in release

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

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

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