Commit graph

2187 commits

Author SHA1 Message Date
4de0499d29 Add audio envelope helper based on a sequence of linear or exponential segments
All checks were successful
Run tests / Run tests (push) Successful in 6m46s
2026-07-18 22:32:47 +03:00
748035c514 Add audio::literals to represent durations like 100_ms or 0.5_s 2026-07-18 22:32:25 +03:00
20fbb9c5ac Remove unused include 2026-07-18 22:32:04 +03:00
2d66f12707 Rename envelope -> envelope_base 2026-07-18 22:31:53 +03:00
c177911737 Add generic envelope filter and re-implement fade in/out using it 2026-07-18 19:03:56 +03:00
dbf5117dc6 Fix length computation in truncate filter 2026-07-18 19:03:29 +03:00
3713f620bb Update create-project script
All checks were successful
Run tests / Run tests (push) Successful in 6m42s
2026-07-17 17:08:39 +03:00
45fbc7399c Update to wgpu-native v29.0.1.1
All checks were successful
Run tests / Run tests (push) Successful in 7m47s
2026-07-10 17:40:56 +03:00
0d54fa7f03 Fix sdl2 CMakeLists.txt on non-apple platforms
All checks were successful
Run tests / Run tests (push) Successful in 7m37s
2026-07-09 20:59:48 +03:00
a0a1e18162 Split package_files and package_resources: the former simply adds to the zip archive, the latter uses platform-specific resources packaging (on web and android)
All checks were successful
Run tests / Run tests (push) Successful in 7m52s
2026-07-07 13:38:06 +03:00
8f56ae11b5 Update create-project script
Some checks failed
Run tests / Run tests (push) Has been cancelled
2026-07-07 13:19:03 +03:00
34c1a92f0b Add util::hash_table::count for compatibility
All checks were successful
Run tests / Run tests (push) Successful in 7m36s
2026-07-07 13:11:19 +03:00
664b1d613e Add io::expanding_memory_ostream that writes to std::vector<char>
All checks were successful
Run tests / Run tests (push) Successful in 7m34s
2026-07-06 22:41:38 +03:00
ae3b91e7b1 Set file stream buffers to pre-allocated 1MB chunk on web builds 2026-07-06 22:41:01 +03:00
32bbc93eea Open read-only files as r+b on web builds (apparently read-only files have perf issues) 2026-07-06 22:40:20 +03:00
6ea10520b5 Change resource & storage access logging 2026-07-06 22:39:04 +03:00
55d18aaa33 Add app::storage path and set it to WASMFS-mounted directory on web builds 2026-07-06 22:38:38 +03:00
8587ba6bc0 Update to emscripten 6 and pre-build sdl2 in web packaging image 2026-07-06 22:37:16 +03:00
f30da1a2ad Don't set pthread names in web builds 2026-07-06 22:34:36 +03:00
75471c6054 Don't link SDL2 on web (break when using multithreaded emsdk build) 2026-07-06 22:33:21 +03:00
1195bd26d5 Change resources path in web builds 2026-07-05 18:38:47 +03:00
155ced8410 Introduce PSEMEK_PLATFORM and PSEMEK_PLATFORM_XXX variables
All checks were successful
Run tests / Run tests (push) Successful in 7m38s
2026-07-05 14:01:41 +03:00
dd07244a40 Update auto-generated opengl loaders & use shader prelude in gfx effects 2026-07-05 13:36:59 +03:00
b989eba66d Implement resource packaging for web builds
All checks were successful
Run tests / Run tests (push) Successful in 8m28s
2026-07-04 17:33:28 +03:00
ce019229bb Use larger audio buffer on web
All checks were successful
Run tests / Run tests (push) Successful in 10m37s
2026-07-04 17:01:04 +03:00
fac3503820 Prevent registering threads twice in logger
Important for web builds where audio thread coincides with main thread
2026-07-04 17:00:39 +03:00
151afec7f0 Fix app context lifetime in emscripten
All checks were successful
Run tests / Run tests (push) Successful in 7m49s
2026-07-04 16:31:34 +03:00
abf45f3dcb Fix handling key events (this also intercepts browser shortcuts, sadly) 2026-07-04 16:30:44 +03:00
7dd55d94a9 Add template html for Emscripten builds
All checks were successful
Run tests / Run tests (push) Successful in 8m11s
2026-07-04 00:46:36 +03:00
5126dc74f8 Merge pull request 'make color-fractory somewhat work on web' (#2) from yulya3102/psemek:web-runtime into master
All checks were successful
Run tests / Run tests (push) Successful in 7m57s
Reviewed-on: #2
2026-07-03 19:32:10 +00:00
4d7926b698 Final Emscripten OpenGL fixes 2026-07-03 22:29:58 +03:00
2e94515c05 Disable parts of gfx library on web 2026-07-03 20:24:56 +02:00
bd70f197ab Use gles30-emscripten for web builds instead of gles32 2026-07-03 20:11:28 +02:00
2407c1262e Add -sFULL_ES3 for web builds 2026-07-03 19:32:52 +02:00
8adb68630e Change mainloop for web builds 2026-07-03 14:28:26 +02:00
1f1feaccf3 Don't crash executable_path() on web 2026-07-03 14:28:26 +02:00
b2d34fd602 Disable GL context attributes on web 2026-07-03 14:28:26 +02:00
0b3fdd26c5 Add necessary GLES fixes and missing JS functions 2026-07-03 14:28:26 +02:00
48dcc5ac20 Rename run-tests job
All checks were successful
Run tests / Run tests (push) Successful in 7m44s
2026-07-03 15:19:19 +03:00
dc8b9bd211 Fix test runner exit code
All checks were successful
Run tests / test (push) Successful in 7m43s
2026-07-03 15:09:21 +03:00
ae9a706189 Set up test runner workflow
Some checks failed
Run tests / test (push) Failing after 7m3s
2026-07-03 14:55:23 +03:00
cb4c20f071 Set up build/packaging infra for web builds
All checks were successful
Run tests / test (push) Successful in 4s
Reviewed-on: #1
2026-07-03 08:40:27 +00:00
a45d9b2779 More Emscripten build fixes 2026-07-03 11:38:03 +03:00
d290df3f29 Fix unfortunate merge 2026-07-03 11:37:38 +03:00
923cb61012 Merge remote-tracking branch 'lisyarus-dev/master' into web 2026-07-02 21:58:28 +02:00
5dcde44dba Test runner wip
Some checks failed
Run tests / test (push) Has been cancelled
2026-07-02 20:10:00 +03:00
7889a699e7 Improve building libbacktrace 2026-07-01 14:04:55 +03:00
850e376e62 Fix libbacktrace on macos 2026-07-01 12:45:32 +03:00
77d359fa52 Implement sdl2+wgpu backend for macos+metal 2026-06-30 23:47:25 +03:00
c5b8eb4f49 Fix wgpu chained_struct constructors 2026-06-30 23:46:51 +03:00