Using framebuffer object instead of image to render the terminal. Improves performances.

This commit is contained in:
Filippo Scognamiglio
2014-06-27 23:17:51 +02:00
parent 6d9c50f474
commit df49f1d1c6
3 changed files with 21 additions and 3 deletions

18
app/TimeManager.qml Normal file
View File

@@ -0,0 +1,18 @@
import QtQuick 2.0
Timer{
property int time
NumberAnimation on time {
from: 0
to: 100000
running: shadersettings.fps === 0
duration: 100000
loops: Animation.Infinite
}
onTriggered: time += interval
running: shadersettings.fps !== 0
interval: Math.round(1000 / shadersettings.fps)
repeat: true
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.0.1, 2014-06-27T16:14:00. -->
<!-- Written by QtCreator 3.0.1, 2014-06-27T20:58:56. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>