]> git.sesse.net Git - pistorm/commit
[MEGA-WIP] Raylib-based RTG output
authorbeeanyew <beeanyew@gmail.com>
Sat, 1 May 2021 17:43:26 +0000 (19:43 +0200)
committerbeeanyew <beeanyew@gmail.com>
Sat, 1 May 2021 17:43:26 +0000 (19:43 +0200)
commit31f58d05d3587ed024ef7860d130ff86d4a84d90
tree341b18dd47b827498a751bcb66c856074a162ce3
parenta2ec9011ca7e900cf758dd43ab6856749f25d84d
[MEGA-WIP] Raylib-based RTG output

NOTE: A working keyboard must be attached to the Raspberry Pi while testing this, otherwise it's impossible to actually quit the emulator.
raylib takes possession of the SSH keyboard for some reason, which makes it so you can't Ctrl+C out of the emulator over SSH, you must Ctrl+C or press Q on the Pi keyboard.

A mostly working RTG implementation using raylib instead of SDL2.0
Greatly decreases the rendering overhead for 8bpp modes and gets rid of the need for hardware ARGB888 texture format support.
RTG will be initialized using the resolution of the Raspberry Pi, and onbly the 320x200/320x240 modes are currently scaled to the full vertical area of the screen.
289 files changed:
Makefile
platforms/amiga/rtg/argbswizzle.shader [new file with mode: 0644]
platforms/amiga/rtg/clut.shader [new file with mode: 0644]
platforms/amiga/rtg/rtg-output-raylib.c [new file with mode: 0644]
platforms/amiga/rtg/rtg-output-sdl2.c [moved from platforms/amiga/rtg/rtg-output.c with 100% similarity]
raylib/CMakeLists.txt [new file with mode: 0644]
raylib/Makefile [new file with mode: 0644]
raylib/camera.h [new file with mode: 0644]
raylib/config.h [new file with mode: 0644]
raylib/core.c [new file with mode: 0644]
raylib/easings.h [new file with mode: 0644]
raylib/external/cgltf.h [new file with mode: 0644]
raylib/external/dirent.h [new file with mode: 0644]
raylib/external/dr_flac.h [new file with mode: 0644]
raylib/external/dr_mp3.h [new file with mode: 0644]
raylib/external/dr_wav.h [new file with mode: 0644]
raylib/external/glad.h [new file with mode: 0644]
raylib/external/glfw/.mailmap [new file with mode: 0644]
raylib/external/glfw/CMake/GenerateMappings.cmake [new file with mode: 0644]
raylib/external/glfw/CMake/Info.plist.in [new file with mode: 0644]
raylib/external/glfw/CMake/MacOSXBundleInfo.plist.in [new file with mode: 0644]
raylib/external/glfw/CMake/cmake_uninstall.cmake.in [new file with mode: 0644]
raylib/external/glfw/CMake/glfw3.pc.in [new file with mode: 0644]
raylib/external/glfw/CMake/glfw3Config.cmake.in [new file with mode: 0644]
raylib/external/glfw/CMake/i686-w64-mingw32-clang.cmake [new file with mode: 0644]
raylib/external/glfw/CMake/i686-w64-mingw32.cmake [new file with mode: 0644]
raylib/external/glfw/CMake/modules/FindEpollShim.cmake [new file with mode: 0644]
raylib/external/glfw/CMake/modules/FindOSMesa.cmake [new file with mode: 0644]
raylib/external/glfw/CMake/modules/FindWaylandProtocols.cmake [new file with mode: 0644]
raylib/external/glfw/CMake/modules/FindXKBCommon.cmake [new file with mode: 0644]
raylib/external/glfw/CMake/x86_64-w64-mingw32-clang.cmake [new file with mode: 0644]
raylib/external/glfw/CMake/x86_64-w64-mingw32.cmake [new file with mode: 0644]
raylib/external/glfw/CMakeLists.txt [new file with mode: 0644]
raylib/external/glfw/LICENSE.md [new file with mode: 0644]
raylib/external/glfw/README.md [new file with mode: 0644]
raylib/external/glfw/deps/getopt.c [new file with mode: 0644]
raylib/external/glfw/deps/getopt.h [new file with mode: 0644]
raylib/external/glfw/deps/glad/gl.h [new file with mode: 0644]
raylib/external/glfw/deps/glad/khrplatform.h [new file with mode: 0644]
raylib/external/glfw/deps/glad/vk_platform.h [new file with mode: 0644]
raylib/external/glfw/deps/glad/vulkan.h [new file with mode: 0644]
raylib/external/glfw/deps/glad_gl.c [new file with mode: 0644]
raylib/external/glfw/deps/glad_vulkan.c [new file with mode: 0644]
raylib/external/glfw/deps/mingw/_mingw_dxhelper.h [new file with mode: 0644]
raylib/external/glfw/deps/mingw/dinput.h [new file with mode: 0644]
raylib/external/glfw/deps/mingw/xinput.h [new file with mode: 0644]
raylib/external/glfw/deps/vs2008/stdint.h [new file with mode: 0644]
raylib/external/glfw/include/GLFW/glfw3.h [new file with mode: 0644]
raylib/external/glfw/include/GLFW/glfw3native.h [new file with mode: 0644]
raylib/external/glfw/src/CMakeLists.txt [new file with mode: 0644]
raylib/external/glfw/src/cocoa_init.m [new file with mode: 0644]
raylib/external/glfw/src/cocoa_joystick.h [new file with mode: 0644]
raylib/external/glfw/src/cocoa_joystick.m [new file with mode: 0644]
raylib/external/glfw/src/cocoa_monitor.m [new file with mode: 0644]
raylib/external/glfw/src/cocoa_platform.h [new file with mode: 0644]
raylib/external/glfw/src/cocoa_time.c [new file with mode: 0644]
raylib/external/glfw/src/cocoa_window.m [new file with mode: 0644]
raylib/external/glfw/src/context.c [new file with mode: 0644]
raylib/external/glfw/src/egl_context.c [new file with mode: 0644]
raylib/external/glfw/src/egl_context.h [new file with mode: 0644]
raylib/external/glfw/src/glfw.rc.in [new file with mode: 0644]
raylib/external/glfw/src/glfw_config.h.in [new file with mode: 0644]
raylib/external/glfw/src/glx_context.c [new file with mode: 0644]
raylib/external/glfw/src/glx_context.h [new file with mode: 0644]
raylib/external/glfw/src/init.c [new file with mode: 0644]
raylib/external/glfw/src/input.c [new file with mode: 0644]
raylib/external/glfw/src/internal.h [new file with mode: 0644]
raylib/external/glfw/src/linux_joystick.c [new file with mode: 0644]
raylib/external/glfw/src/linux_joystick.h [new file with mode: 0644]
raylib/external/glfw/src/mappings.h [new file with mode: 0644]
raylib/external/glfw/src/mappings.h.in [new file with mode: 0644]
raylib/external/glfw/src/monitor.c [new file with mode: 0644]
raylib/external/glfw/src/nsgl_context.h [new file with mode: 0644]
raylib/external/glfw/src/nsgl_context.m [new file with mode: 0644]
raylib/external/glfw/src/null_init.c [new file with mode: 0644]
raylib/external/glfw/src/null_joystick.c [new file with mode: 0644]
raylib/external/glfw/src/null_joystick.h [new file with mode: 0644]
raylib/external/glfw/src/null_monitor.c [new file with mode: 0644]
raylib/external/glfw/src/null_platform.h [new file with mode: 0644]
raylib/external/glfw/src/null_window.c [new file with mode: 0644]
raylib/external/glfw/src/osmesa_context.c [new file with mode: 0644]
raylib/external/glfw/src/osmesa_context.h [new file with mode: 0644]
raylib/external/glfw/src/posix_thread.c [new file with mode: 0644]
raylib/external/glfw/src/posix_thread.h [new file with mode: 0644]
raylib/external/glfw/src/posix_time.c [new file with mode: 0644]
raylib/external/glfw/src/posix_time.h [new file with mode: 0644]
raylib/external/glfw/src/vulkan.c [new file with mode: 0644]
raylib/external/glfw/src/wgl_context.c [new file with mode: 0644]
raylib/external/glfw/src/wgl_context.h [new file with mode: 0644]
raylib/external/glfw/src/win32_init.c [new file with mode: 0644]
raylib/external/glfw/src/win32_joystick.c [new file with mode: 0644]
raylib/external/glfw/src/win32_joystick.h [new file with mode: 0644]
raylib/external/glfw/src/win32_monitor.c [new file with mode: 0644]
raylib/external/glfw/src/win32_platform.h [new file with mode: 0644]
raylib/external/glfw/src/win32_thread.c [new file with mode: 0644]
raylib/external/glfw/src/win32_time.c [new file with mode: 0644]
raylib/external/glfw/src/win32_window.c [new file with mode: 0644]
raylib/external/glfw/src/window.c [new file with mode: 0644]
raylib/external/glfw/src/wl_init.c [new file with mode: 0644]
raylib/external/glfw/src/wl_monitor.c [new file with mode: 0644]
raylib/external/glfw/src/wl_platform.h [new file with mode: 0644]
raylib/external/glfw/src/wl_window.c [new file with mode: 0644]
raylib/external/glfw/src/x11_init.c [new file with mode: 0644]
raylib/external/glfw/src/x11_monitor.c [new file with mode: 0644]
raylib/external/glfw/src/x11_platform.h [new file with mode: 0644]
raylib/external/glfw/src/x11_window.c [new file with mode: 0644]
raylib/external/glfw/src/xkb_unicode.c [new file with mode: 0644]
raylib/external/glfw/src/xkb_unicode.h [new file with mode: 0644]
raylib/external/jar_mod.h [new file with mode: 0644]
raylib/external/jar_xm.h [new file with mode: 0644]
raylib/external/miniaudio.h [new file with mode: 0644]
raylib/external/msf_gif.h [new file with mode: 0644]
raylib/external/par_shapes.h [new file with mode: 0644]
raylib/external/sdefl.h [new file with mode: 0644]
raylib/external/sinfl.h [new file with mode: 0644]
raylib/external/stb_image.h [new file with mode: 0644]
raylib/external/stb_image_resize.h [new file with mode: 0644]
raylib/external/stb_image_write.h [new file with mode: 0644]
raylib/external/stb_perlin.h [new file with mode: 0644]
raylib/external/stb_rect_pack.h [new file with mode: 0644]
raylib/external/stb_truetype.h [new file with mode: 0644]
raylib/external/stb_vorbis.h [new file with mode: 0644]
raylib/external/tinyobj_loader_c.h [new file with mode: 0644]
raylib/gestures.h [new file with mode: 0644]
raylib/libraylib.a [new file with mode: 0644]
raylib/models.c [new file with mode: 0644]
raylib/physac.h [new file with mode: 0644]
raylib/raudio.c [new file with mode: 0644]
raylib/raudio.h [new file with mode: 0644]
raylib/raylib.dll.rc [new file with mode: 0644]
raylib/raylib.dll.rc.data [new file with mode: 0644]
raylib/raylib.h [new file with mode: 0644]
raylib/raylib.ico [new file with mode: 0644]
raylib/raylib.rc [new file with mode: 0644]
raylib/raylib.rc.data [new file with mode: 0644]
raylib/raymath.h [new file with mode: 0644]
raylib/rglfw.c [new file with mode: 0644]
raylib/rlgl.h [new file with mode: 0644]
raylib/rmem.h [new file with mode: 0644]
raylib/rnet.h [new file with mode: 0644]
raylib/shapes.c [new file with mode: 0644]
raylib/shell.html [new file with mode: 0644]
raylib/text.c [new file with mode: 0644]
raylib/textures.c [new file with mode: 0644]
raylib/utils.c [new file with mode: 0644]
raylib/utils.h [new file with mode: 0644]
raylib/uwp_events.h [new file with mode: 0644]
raylib_pi4_test/CMakeLists.txt [new file with mode: 0644]
raylib_pi4_test/Makefile [new file with mode: 0644]
raylib_pi4_test/camera.h [new file with mode: 0644]
raylib_pi4_test/config.h [new file with mode: 0644]
raylib_pi4_test/core.c [new file with mode: 0644]
raylib_pi4_test/easings.h [new file with mode: 0644]
raylib_pi4_test/external/cgltf.h [new file with mode: 0644]
raylib_pi4_test/external/dirent.h [new file with mode: 0644]
raylib_pi4_test/external/dr_flac.h [new file with mode: 0644]
raylib_pi4_test/external/dr_mp3.h [new file with mode: 0644]
raylib_pi4_test/external/dr_wav.h [new file with mode: 0644]
raylib_pi4_test/external/glad.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/.mailmap [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/GenerateMappings.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/Info.plist.in [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/MacOSXBundleInfo.plist.in [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/cmake_uninstall.cmake.in [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/glfw3.pc.in [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/glfw3Config.cmake.in [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/i686-w64-mingw32-clang.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/i686-w64-mingw32.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/modules/FindEpollShim.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/modules/FindOSMesa.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/modules/FindWaylandProtocols.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/modules/FindXKBCommon.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/x86_64-w64-mingw32-clang.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMake/x86_64-w64-mingw32.cmake [new file with mode: 0644]
raylib_pi4_test/external/glfw/CMakeLists.txt [new file with mode: 0644]
raylib_pi4_test/external/glfw/LICENSE.md [new file with mode: 0644]
raylib_pi4_test/external/glfw/README.md [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/getopt.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/getopt.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/glad/gl.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/glad/khrplatform.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/glad/vk_platform.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/glad/vulkan.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/glad_gl.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/glad_vulkan.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/mingw/_mingw_dxhelper.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/mingw/dinput.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/mingw/xinput.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/deps/vs2008/stdint.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/include/GLFW/glfw3.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/include/GLFW/glfw3native.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/CMakeLists.txt [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/cocoa_init.m [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/cocoa_joystick.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/cocoa_joystick.m [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/cocoa_monitor.m [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/cocoa_platform.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/cocoa_time.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/cocoa_window.m [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/context.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/egl_context.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/egl_context.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/glfw.rc.in [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/glfw_config.h.in [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/glx_context.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/glx_context.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/init.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/input.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/internal.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/linux_joystick.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/linux_joystick.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/mappings.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/mappings.h.in [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/monitor.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/nsgl_context.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/nsgl_context.m [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/null_init.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/null_joystick.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/null_joystick.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/null_monitor.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/null_platform.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/null_window.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/osmesa_context.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/osmesa_context.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/posix_thread.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/posix_thread.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/posix_time.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/posix_time.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/vulkan.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/wgl_context.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/wgl_context.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/win32_init.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/win32_joystick.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/win32_joystick.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/win32_monitor.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/win32_platform.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/win32_thread.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/win32_time.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/win32_window.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/window.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/wl_init.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/wl_monitor.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/wl_platform.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/wl_window.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/x11_init.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/x11_monitor.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/x11_platform.h [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/x11_window.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/xkb_unicode.c [new file with mode: 0644]
raylib_pi4_test/external/glfw/src/xkb_unicode.h [new file with mode: 0644]
raylib_pi4_test/external/jar_mod.h [new file with mode: 0644]
raylib_pi4_test/external/jar_xm.h [new file with mode: 0644]
raylib_pi4_test/external/miniaudio.h [new file with mode: 0644]
raylib_pi4_test/external/msf_gif.h [new file with mode: 0644]
raylib_pi4_test/external/par_shapes.h [new file with mode: 0644]
raylib_pi4_test/external/sdefl.h [new file with mode: 0644]
raylib_pi4_test/external/sinfl.h [new file with mode: 0644]
raylib_pi4_test/external/stb_image.h [new file with mode: 0644]
raylib_pi4_test/external/stb_image_resize.h [new file with mode: 0644]
raylib_pi4_test/external/stb_image_write.h [new file with mode: 0644]
raylib_pi4_test/external/stb_perlin.h [new file with mode: 0644]
raylib_pi4_test/external/stb_rect_pack.h [new file with mode: 0644]
raylib_pi4_test/external/stb_truetype.h [new file with mode: 0644]
raylib_pi4_test/external/stb_vorbis.h [new file with mode: 0644]
raylib_pi4_test/external/tinyobj_loader_c.h [new file with mode: 0644]
raylib_pi4_test/gestures.h [new file with mode: 0644]
raylib_pi4_test/libraylib.a [new file with mode: 0644]
raylib_pi4_test/models.c [new file with mode: 0644]
raylib_pi4_test/physac.h [new file with mode: 0644]
raylib_pi4_test/raudio.c [new file with mode: 0644]
raylib_pi4_test/raudio.h [new file with mode: 0644]
raylib_pi4_test/raylib.dll.rc [new file with mode: 0644]
raylib_pi4_test/raylib.dll.rc.data [new file with mode: 0644]
raylib_pi4_test/raylib.h [new file with mode: 0644]
raylib_pi4_test/raylib.ico [new file with mode: 0644]
raylib_pi4_test/raylib.rc [new file with mode: 0644]
raylib_pi4_test/raylib.rc.data [new file with mode: 0644]
raylib_pi4_test/raymath.h [new file with mode: 0644]
raylib_pi4_test/rglfw.c [new file with mode: 0644]
raylib_pi4_test/rlgl.h [new file with mode: 0644]
raylib_pi4_test/rmem.h [new file with mode: 0644]
raylib_pi4_test/rnet.h [new file with mode: 0644]
raylib_pi4_test/shapes.c [new file with mode: 0644]
raylib_pi4_test/shell.html [new file with mode: 0644]
raylib_pi4_test/text.c [new file with mode: 0644]
raylib_pi4_test/textures.c [new file with mode: 0644]
raylib_pi4_test/utils.c [new file with mode: 0644]
raylib_pi4_test/utils.h [new file with mode: 0644]
raylib_pi4_test/uwp_events.h [new file with mode: 0644]