mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-02-21 04:19:00 +00:00
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:
parent
a6952251de
commit
3e7ac0d87d
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user