Baseline test: Fix image grabbing size for eglfs


Running on eglfs, the grabbed image will always be the entire screen
size, independently of the size of the rendered scene. The
scenegrabber code tries to crop away the unused parts.

The recent improvements to Main.qml had an unwanted side effect: it
broke the scene size calculation, causing all grabbed images to be
cropped to only 30x20 pixels. Fix by using a better approach to
calculate the scene size.

Change-Id: I1d3b74442f175982c545b6ceca8b7bbc92482062
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commitf52fa57d9156e2d48fa8a0b5b3fcde3554a375cc
parent8d73c7e65d21603c83bd2fee56ea8c0743940712
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeTue, 21 Oct 2025 13:38:18 +0200