Improved scanlines, restructurizations of the effects and optimizations.

This commit is contained in:
Filippo Scognamiglio
2014-06-06 23:55:33 +02:00
parent 7850df26a1
commit 947b355c29
6 changed files with 195 additions and 145 deletions
+2 -10
View File
@@ -133,16 +133,8 @@ ApplicationWindow{
}
Terminal{
id: terminal
anchors.centerIn: parent
property int frameOffsetX: frame.item.addedWidth - frame.item.borderLeft - frame.item.borderRight
property int frameOffsetY: frame.item.addedHeight - frame.item.borderTop - frame.item.borderBottom
width: parent.width + frameOffsetX * shadersettings.window_scaling
height: parent.height + frameOffsetY * shadersettings.window_scaling
}
ShaderEffectSource{
id: theSource
sourceItem: terminal
sourceRect: frame.sourceRect
anchors.fill: parent
anchors.margins: 30
}
ShaderManager{
id: shadercontainer