C

Configuration Namespace

Tvii::Configuration

Namespace for TRAVEO™ T2G Layer Configuration structs and functions. More...

Header: #include <Configuration>

Classes

struct Config

Functions

Tvii::Configuration::Config configForOTFLayer(std::uint32_t platformId)
Tvii::Configuration::Config defaultConfigForOTFLayer()
void setConfigForOTFLayer(std::uint32_t platformId, std::uint16_t copses, std::uint32_t fifo, std::uint32_t lines)

Detailed Description

Classes

class Config

A struct holding the config for an OTF layer. More...

Function Documentation

[since Qt Quick Ultralite (Platform) 1.9] Tvii::Configuration::Config configForOTFLayer(std::uint32_t platformId)

Get config of the layer with a platform id platformId. Returns Config containing layer's copses, fifo buffer size and the size of the line buffer.

This function was introduced in Qt Quick Ultralite (Platform) 1.9.

See also Tvii::Configuration::Config, setConfigForOTFLayer(), and defaultConfigForOTFLayer().

[since Qt Quick Ultralite (Platform) 1.9] Tvii::Configuration::Config defaultConfigForOTFLayer()

Get the default config for OTF layers. Returns Config.

This function was introduced in Qt Quick Ultralite (Platform) 1.9.

See also Tvii::Configuration::Config, setConfigForOTFLayer(), and configForOTFLayer().

[since Qt Quick Ultralite (Platform) 1.9] void setConfigForOTFLayer(std::uint32_t platformId, std::uint16_t copses, std::uint32_t fifo, std::uint32_t lines)

Sets the configuration for the OTF layer.

platformId is the platform id of the layer, as specified in the QML file.

copses is the number of copses, which are used for rendering images with compression in LBO mode. If any errors appear when using a lot of compressed images in a given layer, this value could be increased from the default value of 16.

fifo is the size of the FIFO used to buffer instructions for the command sequencer. A large number of visual elements might require bigger FIFO buffer size. The default value is 64 * 1024.

lines is the size of the line buffer used by LBO. A bigger line buffer consumes more VRAM, but also reduces the risk of visual glitches that could result if a line does not finish rendering before the time it should be displayed using OTF mode.

For more information, see the Graphics Driver for TRAVEO™ T2G Cluster Series User Guide.

This function was introduced in Qt Quick Ultralite (Platform) 1.9.

See also Tvii::Configuration::Config, configForOTFLayer(), and defaultConfigForOTFLayer().

Available under certain Qt licenses.
Find out more.