Commit Graph
12 Commits
Author SHA1 Message Date
dac3062dde OpenGL2: Disable the VAO cache by default
The VAO surface cache uses glBufferSubData and triggers a very slow
path in some GLES implementations. Specifically I have observed 10x
frame times under Emscripten with ANGLE/Metal on macOS and with Mali
on Android.

Co-authored-by: Zack Middleton <zack@cloemail.com>
Co-authored-by: WofWca <wofwca@protonmail.com>
2025-06-12 18:02:28 -04:00
James Darpinian e505e34d79 Fix framerate throttling in Emscripten builds
Default com_maxfps to 0 under Emscripten. Under Emscripten the browser
handles throttling the frame rate. Manual framerate throttling interacts
poorly with Emscripten's browser-driven event loop.
2024-06-25 02:52:11 -04:00
James Darpinian e0ce0ceea0 Add Emscripten to README 2024-06-09 22:10:52 -04:00
James Darpinian 14a4278cdb Add GitHub Actions workflow for web/Emscripten 2024-06-09 22:10:52 -04:00
James Darpinian 1f9cbddf37 Speed up GitHub Actions with -j 2024-06-09 22:10:52 -04:00
James Darpinian f2169ed0b4 Support debug Emscripten build 2024-06-09 22:10:52 -04:00
James Darpinian 9348dbf643 Silence compiler warnings 2024-06-09 22:10:52 -04:00
James Darpinian 6fe061c36e Fix build when specifying PLATFORM=emscripten manually instead of using emmake 2024-06-09 22:10:52 -04:00
James Darpinian 2765cd5398 Get rid of "Nothing to be done for _.zip" message 2024-06-09 22:10:52 -04:00
James Darpinian db24dfe13f ioquake3.html replaces Emscripten-generated HTML shell
This enables several things:
* Optionally load pk3 files from a web server at runtime instead of bundling them with Emscripten at build time
* Set command line arguments via URL param
* It's not ugly
2024-06-09 22:10:52 -04:00
James Darpinian e247b316a7 Rebuild every target if Makefile changes 2024-06-09 22:10:52 -04:00
James Darpinian 37d78b6279 Add .vscode and baseq3 to gitignore 2024-06-09 22:10:52 -04:00