sdl2_frt/src/video/android
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_androidclipboard.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidclipboard.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidevents.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidevents.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidgl.c Fixed bug 3690 - SDL2 KMS/DRM render context support 2017-08-02 10:22:48 -07:00
SDL_androidgl.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidkeyboard.c Fixed bug 3703 - Missing media keys support on Amazon Fire TV remote control 2017-07-20 10:46:38 -07:00
SDL_androidkeyboard.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidmessagebox.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidmessagebox.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidmouse.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidmouse.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidtouch.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidtouch.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidvideo.c Compile fix for android. 2017-03-14 07:22:08 -07:00
SDL_androidvideo.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_androidwindow.c SDL - add SDL_WINDOW_VULKAN and make Android_CreateWindow only create an EGLSurface when SDL_WINDOW_VULKAN is not present. This makes it so the ANativeWindow* can be used with vkCreateAndroidSurfaceKHR, otherwise it will fail because having both an EGLSurface and VkSurfaceKHR attached to a window is not allowed according to the Vulkan spec: 2017-05-16 06:30:39 -07:00
SDL_androidwindow.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00