From 1e5cb4cd663a1f3b5f05bbb50a399ecea6eaa639 Mon Sep 17 00:00:00 2001
From: gitbot <gitbot.north@seco.com>
Date: Thu, 25 Apr 2024 12:18:18 +0000
Subject: [PATCH] Integrate
 meta-seconorth-distro/kirkstone-fix-display-flickering-in-weston

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-distro/-/commit/f5b5ad2c59b4e132dc1daa24077ea80c1d18a016

weston-init: fix display flickering

Refer to https://secogroup.atlassian.net/browse/YT-85 for full discussion
on this topic.

For some unknown reason, when the transparency part of "background-color"
parameter in weston.ini is lower than FF, display (both LVDS and HDMI) starts
to constantly blink if some object/sprite is moving on display.

Herewith this issue cannot be seen if application is launched in full screen
mode (e.g if seco-show-demo is running). But if seco-show-demo is stopped,
the problem immediately appears when a mouse cursor or "weston-flower" are
moved.

As digging into weston internals to understand what is going on will require
reasonable efforts, we simply changed background-color to 0xFF000000, which
also produces a black background, but which does not cause the blinking
issue to appear.

Signed-off-by: Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
---
 default.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/default.xml b/default.xml
index 553bcbc4..d9dda80d 100644
--- a/default.xml
+++ b/default.xml
@@ -30,7 +30,7 @@
     <project name="meta-rauc.git"                   revision="804386f04826ea7fe74a1b4e0a20991425c06d9c"  remote="rauc"         path="sources/meta-rauc"                 />
     <project name="layers/meta-seconorth-machine"   revision="749779aa1d89c7f3c08ca4e2f33378f5b87ab5b1"  remote="seco-ne"      path="sources/meta-seconorth-machine"    />
     <project name="layers/meta-seconorth-mtk"       revision="fae2ef094a2166d1e912a57a6da11a62a3c4a119"  remote="seco-ne"      path="sources/meta-seconorth-mtk"        />
-    <project name="layers/meta-seconorth-distro"    revision="8e1c513b4fc443ad4880f3a888ec649502039fe6"  remote="seco-ne"      path="sources/meta-seconorth-distro"     />
+    <project name="layers/meta-seconorth-distro"    revision="f5b5ad2c59b4e132dc1daa24077ea80c1d18a016"  remote="seco-ne"      path="sources/meta-seconorth-distro"     />
     <project name="layers/meta-seconorth-nogplv3"   revision="2a5a2f8161d51cdfa57ba8a0607d4bb4e4ee86a4"  remote="seco-ne"      path="sources/meta-seconorth-nogplv3"    />
     <project name="config"                          revision="b7a434bf381fe876b43296ed6d9b37232f59ca94"  remote="seco-ne"      path=".conf"                              >
         <linkfile dest="setup-environment" src="setup-environment" />
-- 
GitLab