Optimize burn-in effect when low res font is used. We can actually use a much lower-res accumulator too.

This commit is contained in:
Filippo Scognamiglio 2014-12-31 14:36:53 +01:00
parent a6952251de
commit 3e7ac0d87d

View File

@ -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