Hello Arthur Heymans, Matt DeVillier, Thomas Heijligen,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/libgfxinit/+/35721
to look at the new patch set (#6).
Change subject: gfx_test: Refactor animation loop and handle hotplug events ......................................................................
gfx_test: Refactor animation loop and handle hotplug events
This had a little too many indentation levels already. So move much of the main loop into its own procedure `Run_The_Show()`.
In all inner loops, we regularly check for hotplug events now (every 500ms). To avoid tracking the time passed even in cases when we got interrupted by a hotplug event, we switch to a glo- bal deadline. This also gives us a more predictable runtime.
Change-Id: Ib3bfc462e5be9a7a08fec5a8ead77c8631674bcf Signed-off-by: Nico Huber nico.h@gmx.de --- M gfxtest/hw-gfx-gma-gfx_test.adb 1 file changed, 156 insertions(+), 80 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/21/35721/6