summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/doc/src
diff options
context:
space:
mode:
authorPasi Keranen <pasi.keranen@digia.com>2014-02-17 09:29:48 +0200
committerPasi Keränen <pasi.keranen@digia.com>2014-02-17 13:48:21 +0200
commit7eb24d68115619d8d78e6a427d5c723e5ffc15a5 (patch)
treef66ef63a5b6894377413fadd212405cae63082e6 /src/datavisualization/doc/src
parent4f32a3e71e90c314e0a2f9f2bb19cc2eeb97292d (diff)
First step towards FXAA based antialiasing.
Change-Id: I40e767373156cf3e7f89c05767846a4949df319c Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavisualization/doc/src')
-rw-r--r--src/datavisualization/doc/src/qtdatavisualization-qml-abstractdeclarative.qdoc50
1 files changed, 37 insertions, 13 deletions
diff --git a/src/datavisualization/doc/src/qtdatavisualization-qml-abstractdeclarative.qdoc b/src/datavisualization/doc/src/qtdatavisualization-qml-abstractdeclarative.qdoc
index df503eb4..116b63e0 100644
--- a/src/datavisualization/doc/src/qtdatavisualization-qml-abstractdeclarative.qdoc
+++ b/src/datavisualization/doc/src/qtdatavisualization-qml-abstractdeclarative.qdoc
@@ -66,20 +66,44 @@
*/
/*!
- \qmlproperty bool AbstractGraph3D::clearWindowBeforeRendering
-
- Indicates if the graph should also clear the whole window before rendering the graph,
- including the areas outside the graph.
- Since the graphs are drawn first under other QML items, the regular QML window clearing
- before rendering is suppressed when there are any graphs in the window; the graphs
- handle the clearing themselves instead.
+ \qmlproperty AbstractGraph3D.RenderingMode AbstractGraph3D::renderingMode
+
+ Defaults to DirectToBackground.
+
+ \table
+ \header
+ \li Render Mode
+ \li Description
+ \row
+ \li DirectToBackground
+ \li Indicates that the graph should also clear the whole window before
+ rendering the graph, including the areas outside the graph.
+ Since the graphs in this rendering mode are drawn first under other QML items, the
+ regular QML window clearing before rendering is suppressed when there are any graphs
+ in the window; the graphs handle the clearing themselves instead.
If you have any other items besides graphs that do similar
- custom drawing under other QML items, you need to set this property to false on all graphs
- drawn to same window with the other custom items, or it is likely that the
- other custom items do not render properly.
- Defaults to true.
-
- \note This property should be set to the same value for all graphs in the same window.
+ custom drawing under other QML items, you need to set this property to DirectToBackground_NoClear
+ on all graphs drawn to same window with the other custom items, or it is likely that the
+ other custom items do not render properly. If the graphics hardware and current configuration
+ supports antialiasing that will be used to provide a higher quality rendering with good performance.
+ See \c {QtDataVisualization::qDefaultSurfaceFormat}.
+ \row
+ \li DirectToBackground_NoClear
+ \li Indicates the graph will not clear the whole window before rendering
+ the graph. The graphs in this renderind mode are drawn first under other QML items.
+ If the graphics hardware and current configuration supports antialiasing that will be
+ used to provide a higher quality rendering with good performance.
+ See \c {QtDataVisualization::qDefaultSurfaceFormat}.
+ \row
+ \li Indirect_NoAA
+ \li Indicates the graph will be first rendered to an offscreen surface that
+ is then drawn during normal QML item rendering to the correct Z order. No antialiasing
+ post processing is done on the graph, meaning the quality will be lower but performance
+ should be better.
+ \endtable
+
+ \note If one graph in the window uses either DirectToBackground or DirectToBackground_NoClear, then all
+ other graphs in the window drawn in direct mode should use the same rendering mode in that window.
Otherwise some graphs may not show.
\note If window clearing before rendering is suppressed, any areas of the window not fully