C
Configuration Namespace
Rh850::ConfigurationNamespace for RH850 Configuration structs and functions. More...
Header: | #include <Configuration> |
Classes
struct | Config |
Types
enum | LayerType { Sprite, Rle } |
Functions
Tvii::Configuration::Config | configForOTFLayer(std::uint32_t platformId) |
Tvii::Configuration::Config | defaultConfigForOTFLayer() |
Rh850::Configuration::LayerType | layerType(int layerIndex) |
void | setConfigForOTFLayer(std::uint32_t platformId, std::uint16_t copses, std::uint32_t fifo, std::uint32_t lines) |
void | setLayerType(int layerIndex, Rh850::Configuration::LayerType layerType) |
Type Documentation
[since Qt Quick Ultralite (Platform) 2.1]
enum Configuration::LayerType
An enum holding the configuration values for an RH850 hardware layer.
Constant | Value | Description |
---|---|---|
Rh850::Configuration::Sprite | 0 | This value represents a hardware layer that can be used with normal sprite layers, non-RLE image layers, item layers. |
Rh850::Configuration::Rle | 1 | This value represents a hardware layer that can be used with RLE image layers, non-RLE image layers, or item layers. |
This enum was introduced or modified in Qt Quick Ultralite (Platform) 2.1.
See also layerType() and setLayerType().
Function Documentation
[since Qt Quick Ultralite (Platform) 2.1]
Rh850::Configuration::LayerType layerType(int layerIndex)
Get the layer type for the given hardware layer.
The layerIndex value should be between 0 and 3.
This function was introduced in Qt Quick Ultralite (Platform) 2.1.
See also setLayerType().
[since Qt Quick Ultralite (Platform) 2.1]
void setLayerType(int layerIndex, Rh850::Configuration::LayerType layerType)
Set the layer type for the hardware layer identified by the layerIndex to layerType.
For example, if the application wants to use RLE images for the bottom-most layer, the layer type for layer index 0 should be set to LayerType::Rle:
Rle::Configuration::setLayerType(0, LayerType::Rle);
The layerIndex value should be between 0 and 3.
Note: This function needs to be called before Qul::Application::setRootItem() to have any effect.
This function was introduced in Qt Quick Ultralite (Platform) 2.1.
See also layerType().
Available under certain Qt licenses.
Find out more.