C
<tviiextras/tviiconfiguration.h> - Traveo II Extras Layer Configuration API
Provides extra configuration functions for Traveo II layer configuration. More...
Header: | #include <tviiextras/tviiconfiguration.h> |
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
In some cases, it might be necessary to override some OTF layer configuration values specific to Infineon/Cypress Traveo II.
For this, the custom Qt Quick Ultralite configuration API for Infineon/Cypress Traveo II can be used. It works by using the ItemLayer::platformId API to give a specific platform id to the layer whose configuration should be changed, and then using the provided setConfigForOTFLayer() C++ API to set the custom layer properties before the Qt Quick Ultralite application is started.
Classes
A struct holding the config for an OTF layer |
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 II 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.