IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt Quick Software Adaptation

Qt Quick Reference Documentation.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt Quick Software Adaptation

The Software adaptation is an alternative renderer for Qt Quick 2 that uses the Raster paint engine to render the contents of the scene graph, instead of OpenGL. Consequently, some features and optimizations are not available. Most Qt Quick 2 applications can run without any modification, but any attempts to use unsupported features are ignored. By using the Software adaptation, it is possible to run Qt Quick 2 applications on hardware and platforms that do not have OpenGL support.

The Software adaptation was previously known as the Qt Quick 2D Renderer. However, unlike the 2D Renderer, this new, integrated version supports partial updates. This means that a full update of the window or screen contents is now avoided; only the changed areas are flushed. Partial updates can significantly improve performance for many applications.

Shader Effects

ShaderEffect components in QtQuick 2 cannot be rendered by the Software adaptation.

Particle Effects

It is not possible to render particle effects with the Software adaptation. Whenever possible, remove particles completely from the scene. Otherwise, they will still require some processing, even though they are not visible.

Rendering Text

The text rendering with the Software adaptation is based on software rasterization and does not respond as well to transformations such as scaling, compared to when using OpenGL. The quality is similar to choosing Text.NativeRendering with Text items.

Qt Multimedia VideoOutput

The Qt Multimedia module's VideoOutput item is not supported with the Software adaptation. This is because VideoOutput uses the QVideoRendererControl item which requires custom QSGGeometryNode behavior, which is only present in the default OpenGL adaptation.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+