]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: force software x11 renderer for SDL when GL is not in use
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 8 May 2020 20:21:10 +0000 (22:21 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 May 2020 14:19:56 +0000 (15:19 +0100)
commit73b75f5ff6c0b5333898fa340f4d9e2e5111fdef
tree490c7bba40a66bea0b34c51db531d38b46f850b4
parent308206a1d2dad33ba70a1461e7e101eaea0e1675
runqemu: force software x11 renderer for SDL when GL is not in use

If libsdl is configured with opengl enabled, it will try to use GL
renderers to open a window even if qemu doesn't use virgl. Setting
the environment variable forces a software X11 renderer, which is the
same one used when libsdl has opengl switched off. This avoids
needlessly loading the GL libraries and drivers from the host.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu