Commit c73ff1bd authored by Florent Revest's avatar Florent Revest

qml-asteroid: Disable a couple of fragment shaders which cause glitches on qemux86

parent 51e1a940
From 5f61a4cc0e34e15c289c66bea9f4aefb0b8fc6ff Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Sun, 3 Dec 2017 00:37:37 +0100
Subject: [PATCH] Spinners: Disable shaders which cause all sorts of problems
on tetra
---
src/controls/qml/CircularSpinner.qml | 2 +-
src/controls/qml/Spinner.qml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/controls/qml/CircularSpinner.qml b/src/controls/qml/CircularSpinner.qml
index 2b83d8a..129bba8 100644
--- a/src/controls/qml/CircularSpinner.qml
+++ b/src/controls/qml/CircularSpinner.qml
@@ -45,7 +45,7 @@ PathView {
visible: false
}
- layer.enabled: true
+ layer.enabled: false
layer.effect: ShaderEffect {
fragmentShader: "
varying highp vec2 qt_TexCoord0;
diff --git a/src/controls/qml/Spinner.qml b/src/controls/qml/Spinner.qml
index 053c1fd..1e3df55 100644
--- a/src/controls/qml/Spinner.qml
+++ b/src/controls/qml/Spinner.qml
@@ -40,7 +40,7 @@ ListView {
visible: false
}
- layer.enabled: true
+ layer.enabled: false
layer.effect: ShaderEffect {
fragmentShader: "
varying highp vec2 qt_TexCoord0;
--
2.14.3
...@@ -4,6 +4,7 @@ LICENSE = "LGPL-2.1" ...@@ -4,6 +4,7 @@ LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=1702a92c723f09e3fab3583b165a8d90" LIC_FILES_CHKSUM = "file://COPYING;md5=1702a92c723f09e3fab3583b165a8d90"
SRC_URI = "git://github.com/AsteroidOS/qml-asteroid.git;protocol=https" SRC_URI = "git://github.com/AsteroidOS/qml-asteroid.git;protocol=https"
SRC_URI_append_qemux86 = " file://0001-Spinners-Disable-shaders-which-cause-all-sorts-of-pr.patch"
SRCREV = "${AUTOREV}" SRCREV = "${AUTOREV}"
PR = "r1" PR = "r1"
PV = "+git${SRCPV}" PV = "+git${SRCPV}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment