Create unit-test windows hidden from the start while preserving hardware OpenGL rendering. Force double buffering for hidden X11 windows so framebuffer capture reads the rendered back buffer reliably, and keep SDL2/SDL3 behavior consistent. Update unit-test documentation to use direct desktop execution by default, with Xvfb retained for headless environments.

This change might break unit-tests in other platforms, next CI run will let us know.
This commit is contained in:
Martín Lucas Golini
2026-08-22 14:11:11 -03:00
parent 405e84608f
commit 681841e11d
9 changed files with 61 additions and 22 deletions
+1
View File
@@ -1954,6 +1954,7 @@ solution "eepp"
project "eepp-unit_tests"
kind "ConsoleApp"
targetdir("./bin/unit_tests")
defines { "EE_UNIT_TESTS" }
links { "eterm-static", "languages-syntax-highlighting-static" }
includedirs { "src/modules/eterm/include/", "src/thirdparty" }
language "C++"