Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > 6e2327ca1c896c6d674ae53117299f21 > files > 1849

qtdeclarative5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- adaptations.qdoc -->
  <title>Qt Quick Software Adaptation | Qt Quick 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtquick-index.html">Qt Quick</a></td><td >Qt Quick Software Adaptation</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtquick-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level2"><a href="#shader-effects">Shader Effects</a></li>
<li class="level2"><a href="#qt-graphical-effects-module">Qt Graphical Effects Module</a></li>
<li class="level2"><a href="#particle-effects">Particle Effects</a></li>
<li class="level2"><a href="#rendering-text">Rendering Text</a></li>
<li class="level2"><a href="#qt-multimedia-videooutput">Qt Multimedia VideoOutput</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Quick Software Adaptation</h1>
<span class="subtitle"></span>
<!-- $$$qtquick-visualcanvas-adaptations-software.html-description -->
<div class="descr"> <a name="details"></a>
<p>The Software adaptation is an alternative renderer for <a href="qtquick-index.html">Qt Quick</a> 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.</p>
<p>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.</p>
<a name="shader-effects"></a>
<h3 id="shader-effects">Shader Effects</h3>
<p><a href="qml-qtquick-shadereffect.html">ShaderEffect</a> components in <a href="qtquick-module.html">QtQuick</a> 2 cannot be rendered by the Software adaptation.</p>
<a name="qt-graphical-effects-module"></a>
<h3 id="qt-graphical-effects-module">Qt Graphical Effects Module</h3>
<p>Qt Graphical Effects uses <a href="qml-qtquick-shadereffect.html">ShaderEffect</a> items to render effects. If you use graphical effects from this module, then you should not hide the source item so that the original item can still be rendered.</p>
<a name="particle-effects"></a>
<h3 id="particle-effects">Particle Effects</h3>
<p>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.</p>
<a name="rendering-text"></a>
<h3 id="rendering-text">Rendering Text</h3>
<p>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 <a href="qml-qtquick-text.html#renderType-prop">Text.NativeRendering</a> with <a href="qml-qtquick-text.html">Text</a> items.</p>
<a name="qt-multimedia-videooutput"></a>
<h3 id="qt-multimedia-videooutput">Qt Multimedia VideoOutput</h3>
<p>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 <a href="qsggeometrynode.html">QSGGeometryNode</a> behavior, which is only present in the default OpenGL adaptation.</p>
</div>
<!-- @@@qtquick-visualcanvas-adaptations-software.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>