mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-02-21 20:39: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
|
visible: false
|
||||||
|
|
||||||
|
smooth: !appSettings.lowResolutionFont
|
||||||
|
|
||||||
function restartBlurSource(){
|
function restartBlurSource(){
|
||||||
livetimer.restart();
|
livetimer.restart();
|
||||||
}
|
}
|
||||||
@ -271,8 +273,13 @@ Item{
|
|||||||
Loader{
|
Loader{
|
||||||
id: blurredTerminalLoader
|
id: blurredTerminalLoader
|
||||||
|
|
||||||
width: kterminal.width * scaleTexture * appSettings.burnInQuality
|
width: appSettings.lowResolutionFont
|
||||||
height: kterminal.height * scaleTexture * appSettings.burnInQuality
|
? kterminal.width
|
||||||
|
: kterminal.width * scaleTexture * appSettings.burnInQuality
|
||||||
|
height: appSettings.lowResolutionFont
|
||||||
|
? kterminal.height
|
||||||
|
: kterminal.height * scaleTexture * appSettings.burnInQuality
|
||||||
|
|
||||||
active: mBlur !== 0
|
active: mBlur !== 0
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user