C

MCU.Config.platformRenderBatchHeight

Sets the render batch height for the given platform.

Description

The render batch height defines the maximum height of a dirty area that is rendered. Default value is 0 which disables the feature. When disabled the rendering area height is not limited.

Flickering may occur when partially rendered elements are visible on a display for a short period of time. To alleviate this, maximum rendering height can be decreased, which may reduce flickering when single buffering is used.

Note: This property must be set in BoardDefaults.qmlprojectconfig. See the Qt Quick Ultralite Platform Porting Guide for more information.

Note: platformRenderBatchHeight is propagated to Qt Quick Ultralite runtime through Qul::Platform::PlatformContext::config().

Usage

This property is accepted in BoardDefaults.qmlprojectconfig for the target platform. It takes an integer.

Code example:

Setting the maximum rendering area height to 64 pixels:

MCU.Config {
    platformRenderBatchHeight: 64
}

Since

This property was introduced in QmlProject API 1.3.

See also QUL_PLATFORM_RENDER_BATCH_HEIGHT.

Available under certain Qt licenses.
Find out more.