C
<platform/platform.h> - Platform abstraction functionality
Provides abstraction functionality for the platform. More...
| Header: | #include <platform/platform.h> |
is part of Qt Quick Ultralite Platform API.
Types
(since Qt Quick Ultralite (Platform) 1.5) enum | FrameBufferingType { SingleBuffering, FlippedDoubleBuffering, CopyingDoubleBuffering, PartialBuffering, FlippedTiledDoubleBuffering, OtherBuffering } |
Functions
(since Qt Quick Ultralite (Platform) 2.0) 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 performance metrics | |
This class provides an abstract interface to implement platform context | |
This class provides an interface to free and restore memory allocations |
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. |
FlippedTiledDoubleBuffering | 4 | , Similar to FlippedDoubleBuffering, but calls Qul::Platform::PlatformContext::adjustedPartialUpdateRect to adjust dirty update rectangles, allowing the platform to align the dirty update rectangles according to tile boundaries. This is useful on graphics architectures that require redraws to happen on a tile by tile basis, such that whenever any pixel within the tile is redrawn the entire tile has to be redrawn at the same time. |
OtherBuffering | 5 | Other platform specific buffering type. |
This enum was introduced 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.