Remove "tech preview" note for CurveRenderer API

The Curve Renderer and related APIs are no longer tech preview in
Qt 6.7.

Pick-to: 6.7
Change-Id: I5aa92932bff9f683eff0596454246162f9e3bc2a
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2024-01-02 13:33:14 +01:00
parent b2f987d439
commit a707edb0ff
3 changed files with 8 additions and 23 deletions

View File

@ -203,7 +203,7 @@ Rectangle {
} }
} }
Text { Text {
text: qsTr("CurveRenderer [tech preview]") text: qsTr("CurveRenderer")
} }
// Now let's use CurveRenderer with built-in antialiasing support. // Now let's use CurveRenderer with built-in antialiasing support.

View File

@ -134,7 +134,7 @@ Rectangle {
id: settings id: settings
RadioButton { RadioButton {
id: curveRendererCheckBox id: curveRendererCheckBox
text: "Curve Renderer [tech preview]" text: "Curve Renderer"
onCheckedChanged: { onCheckedChanged: {
loader1.item.preferredRendererType = checked ? Shape.CurveRenderer : Shape.GeometryRenderer loader1.item.preferredRendererType = checked ? Shape.CurveRenderer : Shape.GeometryRenderer
} }

View File

@ -747,7 +747,7 @@ QQuickShape::~QQuickShape()
with the \c software backend. with the \c software backend.
\value Shape.CurveRenderer \value Shape.CurveRenderer
Experimental GPU-based renderer, added as technology preview in Qt 6.6. GPU-based renderer that aims to preserve curvature at any scale.
In contrast to \c Shape.GeometryRenderer, curves are not approximated by short straight In contrast to \c Shape.GeometryRenderer, curves are not approximated by short straight
lines. Instead, curves are rendered using a specialized fragment shader. This improves lines. Instead, curves are rendered using a specialized fragment shader. This improves
visual quality and avoids re-tesselation performance hit when zooming. Also, visual quality and avoids re-tesselation performance hit when zooming. Also,
@ -758,23 +758,11 @@ QQuickShape::~QQuickShape()
with the \c software backend. In that case, \c Shape.SoftwareRenderer will be used. with the \c software backend. In that case, \c Shape.SoftwareRenderer will be used.
\c Shape.CurveRenderer may be requested using the \l preferredRendererType property. \c Shape.CurveRenderer may be requested using the \l preferredRendererType property.
Note that \c Shape.CurveRenderer is currently regarded as experimental. The enum name of \note The \c Shape.CurveRenderer will approximate cubic curves with quadratic ones and may
this renderer may change in future versions of Qt, and some shapes may render incorrectly. therefore diverge slightly from the mathematically correct visualization of the shape. In
Among the known limitations are: addition, if the shape is being rendered into a Qt Quick 3D scene and the OpenGL backend for
\list 1 RHI is active, the \c GL_OES_standard_derivatives extension to OpenGL is required (this is
\li Only quadratic curves are inherently supported. Cubic curves will be approximated by available by default on OpenGL ES 3 and later, but optional in OpenGL ES 2.)
quadratic curves.
\li Shapes where elements intersect are not rendered correctly. The \l [QML] {Path::simplify}
{Path.simplify} property may be used to remove self-intersections from such shapes, but
may incur a performance cost and reduced visual quality.
\li Shapes that span a large numerical range, such as a long string of text, may have
issues. Consider splitting these shapes into multiple ones, for instance by making
a \l PathText for each individual word.
\li If the shape is being rendered into a Qt Quick 3D scene, the
\c GL_OES_standard_derivatives extension to OpenGL is required when the OpenGL
RHI backend is in use (this is available by default on OpenGL ES 3 and later, but
optional in OpenGL ES 2).
\endlist
*/ */
QQuickShape::RendererType QQuickShape::rendererType() const QQuickShape::RendererType QQuickShape::rendererType() const
@ -798,9 +786,6 @@ QQuickShape::RendererType QQuickShape::rendererType() const
the \c software backend, in which case it will be selected regardless of the the \c software backend, in which case it will be selected regardless of the
\c preferredRendererType. \c preferredRendererType.
\note This API is considered tech preview and may change or be removed in future versions of
Qt.
See \l rendererType for more information on the implications. See \l rendererType for more information on the implications.
*/ */