Commit graph

33 commits

Author SHA1 Message Date
ab9df17b6a video: rewrite encoder thread entirely
Instead of using channels we communicate via a condvar/mutex based sytem
2024-12-04 17:46:44 -05:00
fac32bd41d Revert "replace video with letsplay_av_ffmpeg"
Unfortunately, I think this was a bit too brash of a move to make for right now.

This reverts commit 0eb2aaa8c1.
2024-12-04 03:20:06 -05:00
0eb2aaa8c1 replace video with letsplay_av_ffmpeg
yay.
2024-10-17 00:51:26 -04:00
4f585df501 remove CUDA api usage in software framebuffer update
We now use standard OpenGL APIs here, which is nice.
2024-10-16 20:16:30 -04:00
889d7e42ce switch to analog RetroPad
I really should make this either or.
2024-10-15 16:41:37 -04:00
efc2800358 server: fix software rendering
It was broken
2024-10-15 08:11:56 -04:00
2e4e810e5f server: warning cleanup 2024-10-15 06:45:40 -04:00
3c2d4cee6f some warning cleanup 2024-10-14 21:58:02 -04:00
2ecf9af167 gpu-only encoding works now yay 2024-10-14 09:37:20 -04:00
09142f9668 working gpu-only encode 2024-10-14 07:25:59 -04:00
9248fe91a9 refactor to use a set of traits for transport
(i want to try and make this use webtransport)
2024-10-11 05:09:12 -04:00
8438ca11b5 misc 2024-10-11 04:17:47 -04:00
7c66291479 move packet copy to async threads
(probably not great but oh well. can't seem to avoid it because tungstenite blows)
2024-10-11 00:58:17 -04:00
a34f833c80 cleanup 2024-10-11 00:33:40 -04:00
d54f65af8b working libretro sex 2024-10-10 22:06:17 -04:00
1c86b877ca works 2024-10-10 18:47:25 -04:00
9b696d3f8b server: Remove VNC support
Also adds references to libretro crates.
2024-10-10 04:30:23 -04:00
a4d791f1df server/video: remove the encoder thread 2024-10-10 03:27:16 -04:00
cf7c2d09d3 server: cleanups 2024-10-10 00:56:21 -04:00
084efc28da server: HW cleanup 2024-10-06 20:43:37 -04:00
fb3f589fd0 server: working NVENC encoding
now I just need to figure out how the hell to reimplement sw
2024-10-06 09:30:17 -04:00
807ce84be7 server/video: hook up new ctor for nvenc 2024-10-06 04:33:36 -04:00
a901365656 begin adding provision for hardware encoding functionality 2024-10-06 04:16:13 -04:00
45a8d60e7a switch to hgaiser's patched ffmpeg_next
(Also patches places where we accidentally were relying on the ffmpeg_the_third crate instead of the re-exported name. Oops)

This will allow for hardware encoding fun in a bit.. :)
2024-10-06 03:54:22 -04:00
f388eb32b2 cleanups 2024-09-11 21:48:09 -04:00
2da9b38974 move back and make the context setup shared
(this is in preparation for making it possible to do HW encoding)
2024-09-09 22:34:56 -04:00
fa929641e5 clean break video code into new module 2024-09-09 22:02:57 -04:00
a6734667de make rendering abstract (so that a webgl renderer will actually be possible) 2024-09-09 06:19:20 -04:00
b44a55f10d split stream player worker and
provide a main-thread wrapper for it
2024-09-09 06:11:56 -04:00
085a985c13 cleanup failure cases in stream player worker 2024-09-09 05:55:24 -04:00
86490ed80b decouple encoder thread from VNC client 2024-09-09 00:08:08 -04:00
c8f9c9d9ea make the webworker typed for type safety 2024-09-08 18:53:07 -04:00
e58a765cfa initial public release 2024-09-08 11:03:48 -04:00