From 3e7ac0d87d8fded95863b37dee7255c75d41b406 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Wed, 31 Dec 2014 14:36:53 +0100 Subject: [PATCH] Optimize burn-in effect when low res font is used. We can actually use a much lower-res accumulator too. --- app/qml/PreprocessedTerminal.qml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/qml/PreprocessedTerminal.qml b/app/qml/PreprocessedTerminal.qml index 5583487..bf5aa2a 100644 --- a/app/qml/PreprocessedTerminal.qml +++ b/app/qml/PreprocessedTerminal.qml @@ -237,6 +237,8 @@ Item{ visible: false + smooth: !appSettings.lowResolutionFont + function restartBlurSource(){ livetimer.restart(); } @@ -271,8 +273,13 @@ Item{ Loader{ id: blurredTerminalLoader - width: kterminal.width * scaleTexture * appSettings.burnInQuality - height: kterminal.height * scaleTexture * appSettings.burnInQuality + width: appSettings.lowResolutionFont + ? kterminal.width + : kterminal.width * scaleTexture * appSettings.burnInQuality + height: appSettings.lowResolutionFont + ? kterminal.height + : kterminal.height * scaleTexture * appSettings.burnInQuality + active: mBlur !== 0 asynchronous: true