Add SrtGraphics wrapper to wrap graphics checker.
- Aug 21, 2019
-
-
Jeremy Whiting authored
Should use SRT_GRAPHICS_ISSUES_NONE, not SRT_LIBRARY_ISSUES_NONE.
-
Jeremy Whiting authored
Moved srt_check_graphics to _srt_check_graphics and made it internal. Call _srt_check_graphics from srt_system_info_check_graphics after checking if we have a cached result first. Changed graphics test to use srt_system_info to do the check_graphics tests. Pass helpers_path to _srt_check_graphics and prepend path if set. Add srt_sytem_info_check_all_graphics. In srt_system_info_check_all_graphics try each of the 4 combinations of window system and renderer and report back a GList of results. Also added to bin/steam-system-info.c using srt_system_info_check_all_graphics and outputting all found information in json format. Also added use of LD_PRELOAD environment variable. Also changed call to g_spawn_sync to search PATH so it can find -wflinfo binaries.
-
Jeremy Whiting authored
Also remove references to GPL since helpers licensed as gpl are removed. Also remove bits about GPL 2 from debian copyright. Also remove unused gnome-session-check-accelerated-common.h file. Also remove no longer used dependencies from debian/control.
-
Jeremy Whiting authored
Added missing _get_multiarch_tuple and _get_issues helpers. Added test for object, good, bad and software rendering.
-
Jeremy Whiting authored
In order to test SrtGraphics on CI systems that likely aren't running X we needed a mock-graphics to return most of what wflinfo gives in different settings. Use mock-bad-wflinfo, mock-good-wflinfo and mock-software-wflinfo in srt_check_graphics. Use mock-good-wflinfo for good output, mock-bad-wflinfo for error output and mock-software-wflinfo for software rendering test output.
-
Jeremy Whiting authored
SrtGraphics is gobject shaped and gives a public interface to check graphics capabilities for different window systems and renderers. Use wflinfo binaries for checking gl and gles. If llvmpipe renderer is used, set SOFTWARE_RENDERING issue flag.
-