C

<platform/platform.h> - Platform abstraction functionality

Provides abstraction functionality for the platform. More...

Header: #include <platform/platform.h>

Types

enum FrameBufferingType { SingleBuffering, FlippedDoubleBuffering, CopyingDoubleBuffering, PartialBuffering, OtherBuffering }

Functions

Qul::Platform::PlatformContext *getPlatformInstance()

Detailed Description

This namespace contains all functions of the platform abstraction that are used by the Qt Quick Ultralite core library. The header files for this namespace are located in include/platform/

Classes or structs

Qul::Platform::Config

This struct provides runtime representation of platform configuration

Qul::Platform::FrameStatistics

Provides frame rendering statistics

Qul::Platform::PerformanceMetrics

Provides performance metrics

Qul::Platform::PlatformContext

This class provides an abstract interface to implement platform context

Type Documentation

[since Qt Quick Ultralite (Platform) 1.5] enum FrameBufferingType

Defines the different buffering mechanisms that are supported.

ConstantValueDescription
SingleBuffering0There is only single buffer used for rendering. All rendering must happen within timing budget allowed by the display refresh rate.
FlippedDoubleBuffering1Two buffers are used and both can be displayed. One is used for displaying while the other is used for rendering and then flipped.
CopyingDoubleBuffering2There is one buffer for rendering and one for displaying. When rendering is finished the content from rendering buffer is copied to the display buffer.
PartialBuffering3There is one or multiple buffers which are smaller than full framebuffer. Partial buffering requires that display has built-in memory.
OtherBuffering4Other platform specific buffering type.

This enum was introduced or modified in Qt Quick Ultralite (Platform) 1.5.

See also Framebuffer Requirements and Partial framebuffer.

Function Documentation

[since Qt Quick Ultralite (Platform) 2.0] Qul::Platform::PlatformContext *getPlatformInstance()

Returns hardware specific platform context instance.

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

Available under certain Qt licenses.
Find out more.