Many many fixes and optimizations. Texture scaling now dramatically improve performances, various shader optimizations, improved static noise and horizontal distortion and more... #184

Merged
Swordfish90 merged 25 commits from refactoring into master 2014-12-14 21:27:41 +01:00
2 changed files with 3 additions and 5 deletions
Showing only changes of commit 37317136ed - Show all commits

View File

@ -227,7 +227,6 @@ Item{
// Restart blurred source settings change. // Restart blurred source settings change.
Connections{ Connections{
target: appSettings target: appSettings
onScanline_qualityChanged: _blurredSourceEffect.restartBlurSource();
onMotion_blurChanged: _blurredSourceEffect.restartBlurSource(); onMotion_blurChanged: _blurredSourceEffect.restartBlurSource();
onTerminalFontChanged: _blurredSourceEffect.restartBlurSource(); onTerminalFontChanged: _blurredSourceEffect.restartBlurSource();
onRasterizationChanged: _blurredSourceEffect.restartBlurSource(); onRasterizationChanged: _blurredSourceEffect.restartBlurSource();

View File

@ -30,14 +30,13 @@ ShaderTerminal{
// EFFECTS //////////////////////////////////////////////////////////////// // EFFECTS ////////////////////////////////////////////////////////////////
Loader{ Loader{
property real scaling: appSettings.bloom_quality
id: bloomEffectLoader id: bloomEffectLoader
active: appSettings.bloom_strength active: appSettings.bloom_strength
asynchronous: true asynchronous: true
width: parent.width * scaling width: parent.width * appSettings.bloom_quality
height: parent.height * scaling height: parent.height * appSettings.bloom_quality
sourceComponent: FastBlur{ sourceComponent: FastBlur{
radius: 48 * scaling radius: 48 * appSettings.bloom_quality * appSettings.window_scaling
source: terminal.mainTerminal source: terminal.mainTerminal
transparentBorder: true transparentBorder: true
} }