SDL/src/video/raspberry
Sam Lantinga 56363ebf61 Fixed bug 3690 - SDL2 KMS/DRM render context support
Manuel

The attached patch adds support for KMS/DRM context graphics.

It builds with no problem on X86_64 GNU/Linux systems, provided the needed libraries are present, and on ARM GNU/Linux systems that have KMS/DRM support and a GLES2 implementation.
Tested on Raspberry Pi: KMS/DRM is what the Raspberry Pi will use as default in the near future, once the propietary DispmanX API by Broadcom is overtaken by open graphics stack, it's possible to boot current Raspbian system in KMS mode by adding "dtoverlay=vc4-kms-v3d" to config.txt on Raspbian's boot partition.
X86 systems use KMS right away in every current GNU/Linux system.

Simple build instructions:

$./autogen.sh
$./configure --enable-video-kmsdrm
$make
2017-08-02 10:22:48 -07:00
..
SDL_rpievents.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rpievents_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rpimouse.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rpimouse.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rpiopengles.c Fixed bug 3690 - SDL2 KMS/DRM render context support 2017-08-02 10:22:48 -07:00
SDL_rpiopengles.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rpivideo.c Fixed SDL_GetWindowWMInfo() returning success on three unsupported platforms. 2017-06-15 23:30:29 +02:00
SDL_rpivideo.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00