Commit 6a942251 authored by Gunnar Sletta's avatar Gunnar Sletta Committed by Qt by Nokia
Browse files

Add QQuickCanvas::update()


We would like to make a distinction between QQuickItem::update()
which triggers updatePaintNode() to synchronize the scene
graph and requesting the toplevel QQuickCanvas to be repainted.

If we have this distinction in place it is possible for the
scene graph to detect that the scene is unchanged and avoid
rendering unless the user has explicitely asked for the
canvas to be repainted, which is often the case when hooking
into QQuickCanvas::beforeRender().

Change-Id: Ibe77f58423593deb217ef9f8082fa12009f45daf
Reviewed-by: default avatarSamuel Rødal <samuel.rodal@nokia.com>
parent 250bc562
No related merge requests found
Showing with 33 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment