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
This struct provides runtime representation of platform configuration | |
Provides frame rendering statistics | |
Provides performance metrics | |
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.
Constant | Value | Description |
---|---|---|
SingleBuffering | 0 | There is only single buffer used for rendering. All rendering must happen within timing budget allowed by the display refresh rate. |
FlippedDoubleBuffering | 1 | Two buffers are used and both can be displayed. One is used for displaying while the other is used for rendering and then flipped. |
CopyingDoubleBuffering | 2 | There is one buffer for rendering and one for displaying. When rendering is finished the content from rendering buffer is copied to the display buffer. |
PartialBuffering | 3 | There is one or multiple buffers which are smaller than full framebuffer. Partial buffering requires that display has built-in memory. |
OtherBuffering | 4 | Other 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.