scenegrabber: require more frames for stabilization


The scenegrabber previously declared a scene stable as soon as a single
grab matched the previous one. This was insufficient for some scenes
on platforms with slow shader compilation or laggy animations where the
scene might look identical frame by frame even if animations are
running.

Requiring 3 consecutive identical grabs (SCENE_STABLE_COUNT) before
declaring stability helps with this problem.

Pick-to: 6.12 6.11 6.8
Change-Id: Ic1252115942665fc747b705a192783666966edfa
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>
commitf36cb544c498ce1113895360251671b10bb5417f
parent7dc7fb687225cb0af8ff5405e6464600d8adb945
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeThu, 2 Jul 2026 07:45:42 +0000