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>