aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/tracing/timelinerenderstate_p.h
blob: d3587fae8174c6b355c5f55e9043d84a4f9e4d0b (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
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include "timelinerenderstate.h"

namespace Timeline {

class TimelineRenderState::TimelineRenderStatePrivate {
public:
    QSGNode *expandedRowRoot;
    QSGNode *collapsedRowRoot;
    QSGNode *expandedOverlayRoot;
    QSGNode *collapsedOverlayRoot;

    qint64 start;
    qint64 end;

    float scale;  // "native" scale, this stays the same through the life time of a state

    QVector<TimelineRenderPass::State *> passes;
};

} // namespace Timeline