Ryujinx-SDL/src/video/windows
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_msctf.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_vkeys.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsclipboard.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsclipboard.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsevents.c Fixed restoring a window that was maximized then minimized, then restored. 2017-05-16 17:48:57 -07:00
SDL_windowsevents.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsframebuffer.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsframebuffer.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowskeyboard.c Fix divide-by-zero when videodata->ime_candpgsize is zero. We're seeing this happen in Dota in the wild. 2017-04-06 13:27:51 -07:00
SDL_windowskeyboard.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsmessagebox.c code style: wrap a single-statement if in braces. 2017-05-27 00:33:26 -04:00
SDL_windowsmessagebox.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsmodes.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsmodes.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsmouse.c Removed redundant mouse clean up on quit for some platforms. 2017-05-19 23:30:59 +02:00
SDL_windowsmouse.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsopengl.c Fixed bugs 2570, 3145, improved OpenGL ES context support on Windows and X11 2017-01-10 08:54:33 -08:00
SDL_windowsopengl.h Fixed bugs 2570, 3145, improved OpenGL ES context support on Windows and X11 2017-01-10 08:54:33 -08:00
SDL_windowsopengles.c Fixed bug 3690 - SDL2 KMS/DRM render context support 2017-08-02 10:22:48 -07:00
SDL_windowsopengles.h Fixed bug 3100 - SetSwapInterval should now be enabled for ANGLE/EGL 2017-01-09 10:10:33 -08:00
SDL_windowsshape.c windows: Changed six internal functions to be static. 2017-04-29 22:50:35 +02:00
SDL_windowsshape.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsvideo.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowsvideo.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_windowswindow.c Get the parent of non-SDL-created windows, for completeness 2017-06-16 11:14:08 -07:00
SDL_windowswindow.h Clean up parent window when destroying a window 2017-06-16 10:50:29 -07:00
wmmsg.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00