summaryrefslogtreecommitdiffstats
path: root/ThreadingSlide.qml
blob: e5cc7d97ab6ee1a265bbf17dbcbcdaf4ae2340f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import QtQuick 2.0
import Qt.labs.presentation 1.0

Slide
{
    title: "Threaded Rendering Model"
    contentWidth: renderThreadingImage.x
    content: [
        "Dedicated render thread",
        "Animations and application logic while rendering happens in render thread"
    ]

    Image {
        id: renderThreadingImage
        source: "images/render-threading.png"
        anchors.right: parent.right
        height: parent.height
        fillMode: Image.PreserveAspectFit
        smooth: true
    }
}



//    Slide
//    {
//        title: "Traditional Rendering Model"
//        content: [
//            "One Thread",
//            "Sequential processing",
//            "Blocked during swap"
//        ]


//        Image {
//            source: "images/traditional-threading.png"
//            anchors.right: parent.right
//            anchors.rightMargin: parent.baseFontSize * 2
//            height: parent.height
//            fillMode: Image.PreserveAspectFit
//            smooth: true
//        }
//    }