Skip to content

Frame scheduling fixes for QuickSceneEffect

Vlad Zahorodnii requested to merge work/zzag/cube-freezes into master

It seems qtquick3d can schedule repaints for the next frame after the synchronization step. If a repaint request is scheduled at that point, we need to ensure that QuickSceneView::isDirty() is not overwritten + that RenderLoop::scheduleRepaint() has been actually called.

The first is achieved by reordering view->resetDirty() and view->update().

The latter is already guaranteed.


Needed to fix the desktop cube freezing with Qt 6.

Edited by Vlad Zahorodnii

Merge request reports

Loading