aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-08-14 07:27:07 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-02 14:24:36 +0200
commitb480fa83a632b2ae5606e2870b47358328b479a2 (patch)
treebdd3e1b68a5a15a3950e13a50db911a93cdf279a /dist
parent9be35c270082d1614886874e17cc3f90a7a3f489 (diff)
New scenegraph renderer and atlas textures.
The renderer tries to batch primitives together where possible, isolate non-changing subparts of the scene from changing subparts and retain vertexdata on the GPU as much as possible. Atlas textures are crucial in enabling batching. The renderer and atlas texture are described in detail in the doc page "Qt Quick Scene Graph Renderer". Change-Id: Ia476c7f0f42e1fc57a2cef528e93ee88cf8f7055 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/changes-5.2.020
1 files changed, 20 insertions, 0 deletions
diff --git a/dist/changes-5.2.0 b/dist/changes-5.2.0
index 6da704b80f..969d4e30e6 100644
--- a/dist/changes-5.2.0
+++ b/dist/changes-5.2.0
@@ -29,6 +29,19 @@ Third party components
* Important Behavior Changes *
****************************************************************************
+ - QSGMaterialShader::compile() will not be called on all instances anymore.
+ To enforce the old behavior, set the QSGMaterial::CustomCompilation flag.
+
+ - QSGMaterialShader::activate() and QSGMaterialShader::deactivate() are
+ no longer responsible for calling glEnableVertexAttribPointer(),
+ glDisableVertexAttribPointer() and binding the shader program. This is
+ now done by the renderer. Reimplementations of these functions which
+ are not calling the baseclass will need to take this into account.
+
+ - The scene graph now requires a call to QSGNode::markDirty() with the
+ flag QSGNode::DirtySubtreeBlocked whenever the state of
+ QSGNode::isSubtreeBlocked() is changed.
+
****************************************************************************
* Library *
****************************************************************************
@@ -39,6 +52,13 @@ QtQml
QtQuick
------
+- New scene graph renderer should reduce state changes, number of draw calls,
+ CPU->GPU bandwidth and generally improve performance.
+
+- Textures in the scene graph can now be entered into an atlas, facilitating
+ in better batching in the renderer. Atlas textures are enabled by passing
+ QQuickWindow::TextureCanUseAtlas to QQuickWindow::createTextureFromImage()
+
****************************************************************************
* Database Drivers *
****************************************************************************