C
Rh850::Configuration Namespace
namespace Rh850::ConfigurationNamespace for RH850 Configuration structs and functions. More...
Header: | #include <Configuration> |
Classes
(since Qt Quick Ultralite (Platform) 1.9) struct | Config |
Types
(since Qt Quick Ultralite (Platform) 2.1) enum | LayerType { Sprite, Rle } |
Functions
(since Qt Quick Ultralite (Platform) 1.9) Tvii::Configuration::Config | configForOTFLayer(uint32_t platformId) |
(since Qt Quick Ultralite (Platform) 1.9) Tvii::Configuration::Config | defaultConfigForOTFLayer() |
(since Qt Quick Ultralite (Platform) 2.1) Rh850::Configuration::LayerType | layerType(int layerIndex) |
(since Qt Quick Ultralite (Platform) 1.9) void | setConfigForOTFLayer(uint32_t platformId, uint16_t copses, uint32_t fifo, uint32_t lines) |
(since Qt Quick Ultralite (Platform) 2.1) 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 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.