summaryrefslogtreecommitdiff
path: root/src/location/doc/src/plugins/mapboxgl.qdoc
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-02-15 16:18:23 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-02-16 12:26:48 +0000
commite0c9c70b229e6b5dbe99e3cfb258206e4a5570b3 (patch)
tree2633b92386c56e0a9e6249f12586c6eb611be980 /src/location/doc/src/plugins/mapboxgl.qdoc
parent270d7a4d5ea707b331efdf05f94442145b1035cf (diff)
downloadqtlocation-e0c9c70b229e6b5dbe99e3cfb258206e4a5570b3.tar.gz
Optional support for QSGMapboxGLRenderNode
QSGMapboxGLRenderNode support is experimental: It doesn't support QQuickItem transforms nor stencil clipping. By default, QSGMapboxGLTextureNode is enabled. The user can select QSGMapboxGLRenderNode by setting 'mapboxgl.use_fbo' plugin parameter to 'false'. Change-Id: I3d5338990458f62fdbe7b8dc00317a85ee1ff188 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/location/doc/src/plugins/mapboxgl.qdoc')
-rw-r--r--src/location/doc/src/plugins/mapboxgl.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/location/doc/src/plugins/mapboxgl.qdoc b/src/location/doc/src/plugins/mapboxgl.qdoc
index 9269bfdf..29a5cb20 100644
--- a/src/location/doc/src/plugins/mapboxgl.qdoc
+++ b/src/location/doc/src/plugins/mapboxgl.qdoc
@@ -101,5 +101,15 @@ The following table lists optional parameters that can be passed to the Mapbox p
\li Cache size for map resources in bytes.
The default size of this cache is 50 MiB.
Make sure to comply with Mapbox Terms of Service before increasing this value.
+\row
+ \li mapboxgl.use_fbo
+ \li Sets whether to use a framebuffer object to render Mapbox GL Native.
+ Valid values are \b true and \b false. The default value is \b true. When
+ set to \b false, the map is rendered issuing OpenGL commands directly,
+ through a QSGRenderNode, to improve the rendering performance. This mode is
+ experimental, and it does not support QQuickItem transformations nor stencil
+ clipping. It might be also produce rendering artifacts e.g. when adding it
+ inside a \l{QtQuick::Flipable}{Flipable} item.
+
\endtable
*/