blob: b779605ca131e0cfba2ae0d16d799d668acfc2e5 (
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
|
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <tracing/timelinerenderpass.h>
namespace PerfProfiler {
namespace Internal {
class PerfTimelineResourcesRenderPass : public Timeline::TimelineRenderPass
{
public:
static const PerfTimelineResourcesRenderPass *instance();
Timeline::TimelineRenderPass::State *update(
const Timeline::TimelineAbstractRenderer *renderer,
const Timeline::TimelineRenderState *parentState,
Timeline::TimelineRenderPass::State *oldState, int indexFrom, int indexTo,
bool stateChanged, float spacing) const override;
private:
PerfTimelineResourcesRenderPass() = default;
};
} // namespace Internal
} // namespace PerfProfiler
|