519 Commits
Author SHA1 Message Date
itsmattkc 70e0854908 implement fallback if EGL on X11 is not available 2025-12-27 23:04:16 -08:00
itsmattkc a1ab0e042f print SDL_GetError on failure to create renderer 2025-12-27 11:38:02 -08:00
itsmattkc 4fa0bd6b9e add logo only graphic 2025-12-27 11:38:02 -08:00
MattKC f301a068a6 Add default key mappings to README 2025-12-26 11:03:59 -08:00
itsmattkc cf992ab32c Merge branch 'reduce-threading' 2025-12-18 12:37:51 -08:00
itsmattkc 48a31be82b implement frame limiter
While it is desirable to update more than 1/60 seconds, there is no need to update more than 1/180 (or 1/200 in this case)
2025-12-18 12:09:05 -08:00
itsmattkc 9556fcbb39 Update ui_sdl.c 2025-12-18 09:45:09 -08:00
itsmattkc d007ac6364 docker: add "set-e" to scripts that didn't have it 2025-12-18 03:23:59 -08:00
itsmattkc 821a53bd58 Update ui_sdl.c 2025-12-13 00:55:05 -08:00
itsmattkc 5bcd89cf38 grr 2025-12-13 00:54:17 -08:00
itsmattkc b2d505d6e9 Update ui_sdl.c 2025-12-13 00:37:30 -08:00
MattKC fe6008c279 Update README.md [skip ci] 2025-12-07 12:33:58 -08:00
itsmattkc 3106d91cc3 ci: only compile release android builds
Pointless in the first place, and it makes us run out of disk space on the CI
2025-12-06 17:49:58 -08:00
MattKC b1b7565506 define htobe32 for windows 2025-12-06 09:40:27 -08:00
Eduardo Melianditsmattkc b7c52fb03c MSAA scaling alignment fix for text in buttons (#261)
* alignment on all corners VUI_BUTTON_STYLE_CORNER

* fix for all shapes in VUI_BUTTON_STYLE_CORNER text

* msaa scaling for btn text

---------

Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
2025-12-03 16:46:19 -08:00
itsmattkc 46127333e8 Merge branch 'buildroot' 2025-12-02 23:47:51 -08:00
itsmattkc f41c385dc8 add boot image 2025-12-02 23:46:48 -08:00
itsmattkc dc27082558 ci: fix cache action 2025-12-02 22:45:33 -08:00
Eduardo Melianditsmattkc 29ef683034 Fix for VUI_BUTTON_STYLE_CORNER text alignment for non-circular buttons (#206)
* alignment on all corners VUI_BUTTON_STYLE_CORNER

* fix for all shapes in VUI_BUTTON_STYLE_CORNER text

---------

Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
2025-12-02 18:23:49 -08:00
itsmattkc bc1417c920 use init.d to start vanilla on boot 2025-12-02 18:08:51 -08:00
itsmattkc a946b12169 try to fix issues with our defconfig 2025-12-02 16:50:22 -08:00
itsmattkc 2a7f360ca2 disable rootfs overlay 2025-12-01 11:44:41 -08:00
itsmattkc f411c19f47 fix local build option 2025-12-01 10:26:06 -08:00
itsmattkc 4edcf199d4 find git, remove bash from pi0 defconfig 2025-12-01 10:05:59 -08:00
itsmattkc efbdcaee11 Update build.yml 2025-12-01 03:52:24 -08:00
itsmattkc 957987b679 use local repo for buildroot build instead of retrieving from git 2025-12-01 03:28:25 -08:00
itsmattkc b270166b95 re-add rpi-ffmpeg 2025-12-01 03:18:03 -08:00
itsmattkc a1e4cc119c finished buildroot build (hopefully) 2025-12-01 01:53:51 -08:00
itsmattkc 48f98b2962 Update Dockerfile 2025-12-01 00:29:13 -08:00
itsmattkc 7fbfa33ca5 add defconfig for rpi0w 2025-12-01 00:21:08 -08:00
itsmattkc 939e2714f1 add CI action 2025-12-01 00:04:32 -08:00
itsmattkc a5e97ac498 initial buildroot commit 2025-12-01 00:03:37 -08:00
itsmattkc 9deaa49fcf begin docker implementation 2025-11-30 21:40:31 -08:00
MattKC b0bbc31002 Various optimizations and refactoring (#259)
* optimizations

* Update menu_game.h

* try new code

* use cached EGLImages

* try drm cache on pi

* nani?

* huh?

* require opengl egl

* find EGL

* find EGL separately

* logging

* add support for versions of ffmpeg less than 6.0

* disable drm cache for now

* Update ui_sdl.c

* use old code for now

* disable avcc hdr for now

* restore error message

* try disabling format modifiers?

* tell me what the layer is

* pi decoder actually produces frames in yuv420p

* print more debug info

* try this

* switch to faster decode path

* switch to old code

* Update ui_sdl.c

* add more timing profiling

* more printing

* enable some optimizations

* draw menus when not in game mode

* call render present

* Update ui_sdl.c

* Update ui_sdl.c

* remove unused code

* Update CMakeLists.txt

* incorporate direct DRM code

* Update CMakeLists.txt

* free drm context and test old decoding code

* move SDL event loop to separate thread so controls are not limited by display rate

* add a wait to reduce CPU thrashing

* fix double free

* separate video into recv and consume threads

* Update ui_sdl_drm.c

* Update ui_sdl_drm.c

* Update gamepad.c

* further optimizations

* anti-alias buttons more

* fix some compiler errors

* only include DRM on linux

* fix windows compile issues

* fix includes

* Update CMakeLists.txt

* add htobe32 define for macOS

* Update video.c

* Update gamepad.c
2025-11-30 20:56:52 -08:00
itsmattkc 6a82715263 gui: use strtoul for reading server_address from config 2025-11-05 23:07:30 -08:00
itsmattkc cbd8d15e67 gui: only use pkexec if polkit is available 2025-11-05 21:27:43 -08:00
itsmattkc 5535248781 cmake: fix polkit logic 2025-11-05 17:24:35 -08:00
itsmattkc beb504774f ensure correct build if polkit isn't available 2025-11-05 16:46:52 -08:00
itsmattkc 488bd08b8d cmake: add option for vaapi [skip ci] 2025-11-05 16:39:18 -08:00
itsmattkc da0033e0c6 ci: remove armhf build for now
Decided it probably makes more sense to provide a buildroot distro rather than an app release.
2025-11-05 16:09:35 -08:00
itsmattkc f667f08be2 ci: oops 2025-11-04 00:48:57 -08:00
itsmattkc 1516b81391 ci: armhf - another attempt at setting CMAKE_C_FLAGS 2025-11-04 00:39:28 -08:00
MattKC 681f3bfebc ci: armhf - another attempt at setting CMAKE_C_FLAGS 2025-11-04 00:28:27 -08:00
MattKC f6b40ceed3 ci: armhf - another attempt at setting CMAKE_C_FLAGS 2025-11-04 00:12:57 -08:00
MattKC 4c0801384f ci: armhf - try setting CMAKE_C_FLAGS from cli 2025-11-04 00:08:24 -08:00
MattKC 2b0bb99762 ci: armhf linux try forcing -marm 2025-11-03 01:12:27 -08:00
MattKC 1a17e64fb8 fix armhf build.sh 2025-11-03 00:50:00 -08:00
MattKC 115d539a09 ci: attempt setting -march for armhf build 2025-11-03 00:45:07 -08:00
MattKC d90f09a895 ci: add armhf builds 2025-10-27 18:34:12 -07:00
MattKC dcd2f31180 Update README.md [skip ci] 2025-10-03 17:19:31 -07:00