SDL/src
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
..
atomic atomic: Patched to compile on Android. 2017-04-13 15:28:56 -04:00
audio qnx: Fixed error message. 2017-07-29 23:00:45 +02:00
core evdev: Fix 'Syscall param ioctl(TIOCLINUX) points to uninitialised byte' 2017-07-28 12:00:10 -07:00
cpuinfo Fixed compile error with gcc -std=c99 2017-03-06 21:25:06 -08:00
dynapi Support for QNX 7.0 (thanks, Elad!). 2017-07-01 17:50:47 -04:00
events Fixed bug 3703 - Missing media keys support on Amazon Fire TV remote control 2017-07-20 10:46:38 -07:00
file Updated copyright for 2017 2017-01-01 18:33:28 -08:00
filesystem haiku: Changed header paths to be more compatible. 2017-07-29 23:00:14 +02:00
haptic xinput: use the full range of the haptic motors (thanks, Trent!). 2017-06-21 01:22:00 -04:00
joystick haiku: Changed header paths to be more compatible. 2017-07-29 23:00:14 +02:00
libm Updated copyright for 2017 2017-01-01 18:33:28 -08:00
loadso Updated copyright for 2017 2017-01-01 18:33:28 -08:00
main haiku: Fixed compiling without OpenGL support. 2017-07-07 23:00:22 +02:00
power power: whoops, that should be "==" not "!=". 2017-07-03 16:45:12 -04:00
render Whoops, forgot to commit the actual fix. :) 2017-07-26 13:54:11 -04:00
stdlib Fixed whitespace code style. 2017-05-29 00:51:38 -04:00
test test: info now reports usable display bounds and DPI (thanks, Eric!). 2017-05-18 16:29:10 -04:00
thread windows: Change the default on SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING. 2017-06-06 13:12:43 -04:00
timer haiku: Changed header paths to be more compatible. 2017-07-29 23:00:14 +02:00
video Fixed bug 3690 - SDL2 KMS/DRM render context support 2017-08-02 10:22:48 -07:00
SDL.c Backing out broken change from previous commit. 2017-04-01 00:46:42 -04:00
SDL_assert.c assert: Better Emscripten support. 2017-05-19 14:51:03 -04:00
SDL_assert_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_dataqueue.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_dataqueue.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_error.c Fixed bug 3696 - SDL_ShowMessageBox displays different error from intended 2017-07-10 17:16:12 -07:00
SDL_error_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_hints.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_internal.h Some patches to make SDL compile with armcc (ARM's C compiler). 2017-03-02 13:33:04 -05:00
SDL_log.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00