[PATCH] Enable GLSL for Mali (Lima) / PinePhone devices
authorHannah Kiekens <hannahkiekens@gmail.com>
Tue, 28 Feb 2023 21:04:37 +0000 (21:04 +0000)
committerSandro Knauß <hefee@debian.org>
Fri, 5 May 2023 12:22:35 +0000 (13:22 +0100)
Commit 88cf8355 changed the behaviour of Mali (Lima) / PinePhone devices by disabling GLSL
88cf8355 got backported in 5.27.1 and broke PinePhone devices (White rectangle on topright quarter of a black screen)

This patch restores the behaviour of 5.27.0

(cherry picked from commit 0543949df709c69c99c46c9abad483250b01c288)

Gbp-Pq: Name fix-for-Lima-disabling-GLSL.patch

autotests/libkwineffects/data/glplatform/lima-mali400-desktop-3.0
src/libkwineffects/kwinglplatform.cpp

index 8e32a85af81aded45cab78cbec3c36f74aed7e09..cf83810fd8b03388c8d4e5cadb445dd102ad5112 100644 (file)
@@ -6,7 +6,7 @@ ShadingLanguageVersion=1.30
 
 [Settings]
 LooseBinding=true
-GLSL=false
+GLSL=true
 TextureNPOT=true
 Mesa=true
 Lima=true
index 82554ca755bae59a515e47f36d398fa37d139d1e..aa0f5b105a54d22ae04ef45b01d1c3839ace271d 100644 (file)
@@ -1138,8 +1138,7 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
 
     if (isLima()) {
         m_recommendedCompositor = OpenGLCompositing;
-        // GLSL works but causes dramatic FPS drop on this GPU
-        m_supportsGLSL = false;
+        m_supportsGLSL = true;
     }
 
     if (isVideoCore4()) {